org.springframework.richclient.application.support
Class DefaultPageComponentPane

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.DefaultPageComponentPane
All Implemented Interfaces:
PageComponentPane, ControlFactory

public class DefaultPageComponentPane
extends AbstractControlFactory
implements PageComponentPane

A DefaultPageComponentPane puts the PageComponent inside a SimpleInternalFrame.

Author:
Peter De Bruycker

Field Summary
 
Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
logger
 
Constructor Summary
DefaultPageComponentPane(PageComponent component)
           
 
Method Summary
protected  JComponent createControl()
          Subclasses must override this method to create a new instance of the control that this factory produces.
protected  JToolBar createViewToolBar()
           
 PageComponent getPageComponent()
          Returns the contained PageComponent.
protected  void handleViewPropertyChange()
           
 void propertyChange(PropertyChangeEvent evt)
           
 
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

DefaultPageComponentPane

public DefaultPageComponentPane(PageComponent component)
Method Detail

getPageComponent

public PageComponent getPageComponent()
Description copied from interface: PageComponentPane
Returns the contained PageComponent.

Specified by:
getPageComponent in interface PageComponentPane
Returns:
the PageComponent

createControl

protected JComponent createControl()
Description copied from class: AbstractControlFactory
Subclasses must override this method to create a new instance of the control that this factory produces.

Specified by:
createControl in class AbstractControlFactory
Returns:
The newly created control, never null.

createViewToolBar

protected JToolBar createViewToolBar()

propertyChange

public void propertyChange(PropertyChangeEvent evt)

handleViewPropertyChange

protected void handleViewPropertyChange()


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.