|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.factory.AbstractControlFactory
org.springframework.richclient.application.support.AbstractApplicationPage
org.springframework.richclient.application.mdi.DesktopApplicationPage
public class DesktopApplicationPage
| Field Summary |
|---|
| Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor |
|---|
logger |
| Constructor Summary | |
|---|---|
DesktopApplicationPage(ApplicationWindow window,
PageDescriptor pageDescriptor,
int dragMode,
DesktopCommandGroupFactory desktopCommandGroupFactory)
|
|
| Method Summary | |
|---|---|
void |
addView(String viewDescriptorId)
|
protected void |
configureFrame(PageComponent component,
JInternalFrame frame)
|
protected JComponent |
createControl()
Subclasses must override this method to create a new instance of the control that this factory produces. |
protected JInternalFrame |
createInternalFrame(PageComponent pageComponent)
|
protected void |
doAddPageComponent(PageComponent pageComponent)
This method must add the given PageComponent in the ui. |
protected void |
doRemovePageComponent(PageComponent pageComponent)
This method must remove the given PageComponent from the
ui. |
protected JInternalFrame |
getInternalFrame(PageComponent pageComponent)
|
protected boolean |
giveFocusTo(PageComponent pageComponent)
This method must transfer the focus to the given PageComponent. |
protected void |
setActiveComponent()
Overridden so it will leave iconified frames iconified. |
protected void |
updatePageComponentProperties(PageComponent pageComponent)
Called when the PageComponent changes any of its
properties (display name, caption, icon, ...). |
| 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, getPageComponents, getPageDescriptor, getViewDescriptor, getWindow, openEditor, removePageComponentListener, setActiveComponent, setApplicationWindow, setDescriptor, showView, showView |
| 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 |
|---|
public DesktopApplicationPage(ApplicationWindow window,
PageDescriptor pageDescriptor,
int dragMode,
DesktopCommandGroupFactory desktopCommandGroupFactory)
| Method Detail |
|---|
protected boolean giveFocusTo(PageComponent pageComponent)
AbstractApplicationPagePageComponent. This could involve making an internal
frame visible, selecting a tab in a tabbed pane, ...
giveFocusTo in class AbstractApplicationPagepageComponent - the PageComponent
true if the operation was successful,
false otherwisepublic void addView(String viewDescriptorId)
addView in interface PageLayoutBuilderprotected void doAddPageComponent(PageComponent pageComponent)
AbstractApplicationPagePageComponent in the ui.
Implementors may choose to add the PageComponent's
control directly, or add the PageComponentPane's control.
doAddPageComponent in class AbstractApplicationPagepageComponent - the PageComponent to addprotected JInternalFrame createInternalFrame(PageComponent pageComponent)
protected void configureFrame(PageComponent component,
JInternalFrame frame)
protected JInternalFrame getInternalFrame(PageComponent pageComponent)
protected void doRemovePageComponent(PageComponent pageComponent)
AbstractApplicationPagePageComponent from the
ui.
doRemovePageComponent in class AbstractApplicationPagepageComponent - the PageComponent to removeprotected JComponent createControl()
AbstractControlFactory
createControl in class AbstractControlFactoryprotected void updatePageComponentProperties(PageComponent pageComponent)
AbstractApplicationPagePageComponent changes any of its
properties (display name, caption, icon, ...).
This method should be overridden when these changes must be reflected in the ui.
updatePageComponentProperties in class AbstractApplicationPagepageComponent - the PageComponent that has changedprotected void setActiveComponent()
setActiveComponent in class AbstractApplicationPage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||