org.jrdf.gui.view
Class QueryViewImpl

java.lang.Object
  extended by org.springframework.richclient.application.support.ApplicationServicesAccessor
      extended by org.springframework.richclient.factory.AbstractControlFactory
          extended by org.springframework.richclient.application.support.AbstractView
              extended by org.jrdf.gui.view.QueryViewImpl
All Implemented Interfaces:
EventListener, QueryView, org.springframework.binding.value.PropertyChangePublisher, org.springframework.context.ApplicationListener, org.springframework.richclient.application.PageComponent, org.springframework.richclient.application.View, org.springframework.richclient.core.DescribedElement, org.springframework.richclient.core.VisualizedElement, org.springframework.richclient.factory.ControlFactory

public class QueryViewImpl
extends org.springframework.richclient.application.support.AbstractView
implements org.springframework.context.ApplicationListener, QueryView

A builder that always throws exceptions.

Version:
$Revision:$
Author:
Andrew Newman

Field Summary
 
Fields inherited from class org.springframework.richclient.factory.AbstractControlFactory
logger
 
Fields inherited from interface org.springframework.richclient.core.DescribedElement
CAPTION_PROPERTY, DESCRIPTION_PROPERTY, DISPLAY_NAME_PROPERTY
 
Constructor Summary
QueryViewImpl()
           
 
Method Summary
 void componentClosed()
           
 void componentFocusGained()
           
 void componentFocusLost()
           
 void componentOpened()
           
protected  JComponent createControl()
           
 void onApplicationEvent(org.springframework.context.ApplicationEvent e)
           
protected  void registerLocalCommandExecutors(org.springframework.richclient.application.PageComponentContext context)
           
 void setInvalidQueryMessage(String errorMessage)
           
 void setLoadErrorMessage(String errorMessage)
           
 void setQueryPanel(QueryPanelView newQueryPanelView)
           
 void setResults(Answer answer)
           
 void setResultsPanel(ResultsPanelView newResultsPanelView)
           
 void setTriplesLoaded(long numberOfTriples)
           
 
Methods inherited from class org.springframework.richclient.application.support.AbstractView
addPropertyChangeListener, addPropertyChangeListener, dispose, getCaption, getContext, getDescription, getDescriptor, getDisplayName, getIcon, getId, getImage, getStatusBar, getWindowCommandManager, getWindowControl, removePropertyChangeListener, removePropertyChangeListener, setContext, setDescriptor
 
Methods inherited from class org.springframework.richclient.factory.AbstractControlFactory
createControlIfNecessary, getControl, isControlCreated, isSingleton, setSingleton
 
Methods inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
getActiveWindow, getApplication, getApplicationContext, getApplicationName, getApplicationServices, getCommandConfigurer, getComponentFactory, getConversionService, getIconSource, getImageSource, getMessage, getMessage, getMessage, getMessage, getMessages, getMessageSource, getObjectConfigurer, getService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.richclient.factory.ControlFactory
getControl
 

Constructor Detail

QueryViewImpl

public QueryViewImpl()
Method Detail

setQueryPanel

public void setQueryPanel(QueryPanelView newQueryPanelView)
Specified by:
setQueryPanel in interface QueryView

setResultsPanel

public void setResultsPanel(ResultsPanelView newResultsPanelView)
Specified by:
setResultsPanel in interface QueryView

registerLocalCommandExecutors

protected void registerLocalCommandExecutors(org.springframework.richclient.application.PageComponentContext context)
Overrides:
registerLocalCommandExecutors in class org.springframework.richclient.application.support.AbstractView

setTriplesLoaded

public void setTriplesLoaded(long numberOfTriples)
Specified by:
setTriplesLoaded in interface QueryView

setLoadErrorMessage

public void setLoadErrorMessage(String errorMessage)
Specified by:
setLoadErrorMessage in interface QueryView

setInvalidQueryMessage

public void setInvalidQueryMessage(String errorMessage)
Specified by:
setInvalidQueryMessage in interface QueryView

setResults

public void setResults(Answer answer)
Specified by:
setResults in interface QueryView

createControl

protected JComponent createControl()
Specified by:
createControl in class org.springframework.richclient.application.support.AbstractView

onApplicationEvent

public void onApplicationEvent(org.springframework.context.ApplicationEvent e)
Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener

componentClosed

public void componentClosed()
Specified by:
componentClosed in interface org.springframework.richclient.application.PageComponent
Overrides:
componentClosed in class org.springframework.richclient.application.support.AbstractView

componentFocusGained

public void componentFocusGained()
Specified by:
componentFocusGained in interface org.springframework.richclient.application.PageComponent
Overrides:
componentFocusGained in class org.springframework.richclient.application.support.AbstractView

componentFocusLost

public void componentFocusLost()
Specified by:
componentFocusLost in interface org.springframework.richclient.application.PageComponent
Overrides:
componentFocusLost in class org.springframework.richclient.application.support.AbstractView

componentOpened

public void componentOpened()
Specified by:
componentOpened in interface org.springframework.richclient.application.PageComponent
Overrides:
componentOpened in class org.springframework.richclient.application.support.AbstractView