org.springframework.richclient.application.docking.flexdock
Class FlexDockApplicationPage
java.lang.Object
org.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.factory.AbstractControlFactory
org.springframework.richclient.application.support.AbstractApplicationPage
org.springframework.richclient.application.docking.flexdock.FlexDockApplicationPage
- All Implemented Interfaces:
- org.flexdock.docking.DockableFactory, ApplicationPage, ControlFactory
public class FlexDockApplicationPage
- extends AbstractApplicationPage
- implements org.flexdock.docking.DockableFactory
ApplicationPage
that uses FlexDock.
- Author:
- Peter De Bruycker
Nested classes/interfaces inherited from interface org.flexdock.docking.DockableFactory |
org.flexdock.docking.DockableFactory.Stub |
Methods inherited from class org.springframework.richclient.application.support.AbstractApplicationPage |
addPageComponent, addPageComponentListener, close, close, closeAllEditors, createPageComponent, createPageComponentPane, findPageComponent, fireClosed, fireFocusGained, fireFocusLost, fireOpened, getActiveComponent, getApplicationEventMulticaster, getId, getPageComponentPaneFactory, getPageComponents, getPageDescriptor, getView, getViewDescriptor, getViewDescriptorRegistry, getWindow, openEditor, removePageComponentListener, setActiveComponent, setActiveComponent, setApplicationWindow, setDescriptor, setPageComponentPaneFactory, setViewDescriptorRegistry, showView, showView, updatePageComponentProperties |
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 |
FlexDockApplicationPage
public FlexDockApplicationPage()
createView
protected org.flexdock.view.View createView(PageComponent component)
configureView
protected void configureView(PageComponent component,
org.flexdock.view.View view,
ViewDescriptor descriptor)
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.
getFlexView
public org.flexdock.view.View getFlexView(String id)
doAddPageComponent
protected void doAddPageComponent(PageComponent pageComponent)
- Description copied from class:
AbstractApplicationPage
- This method must add the given
PageComponent
in the ui.
Implementors may choose to add the PageComponent
's control directly, or add the
PageComponentPane
's control.
- Specified by:
doAddPageComponent
in class AbstractApplicationPage
- Parameters:
pageComponent
- the PageComponent
to add
doRemovePageComponent
protected void doRemovePageComponent(PageComponent pageComponent)
- Description copied from class:
AbstractApplicationPage
- This method must remove the given
PageComponent
from the ui.
- Specified by:
doRemovePageComponent
in class AbstractApplicationPage
- Parameters:
pageComponent
- the PageComponent
to remove
giveFocusTo
protected boolean giveFocusTo(PageComponent pageComponent)
- Description copied from class:
AbstractApplicationPage
- This method must transfer the focus to the given
PageComponent
. This could involve making an
internal frame visible, selecting a tab in a tabbed pane, ...
- Specified by:
giveFocusTo
in class AbstractApplicationPage
- Parameters:
pageComponent
- the PageComponent
- Returns:
true
if the operation was successful, false
otherwise
loadLayout
public void loadLayout()
getDockableComponent
public Component getDockableComponent(String id)
- Specified by:
getDockableComponent
in interface org.flexdock.docking.DockableFactory
getDockable
public org.flexdock.docking.Dockable getDockable(String id)
- Specified by:
getDockable
in interface org.flexdock.docking.DockableFactory
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.