public abstract class WorkpageDispatcher extends DefaultDispatcher implements IWorkpageDispatcher, Statusbar.IStatusBarDrillDownInfoProvider, java.io.Serializable
IWorkpageContainer - on top dispatcher
level ("#{d}") this instance is created through the createWorkpageContainer()
method. On sub dispatcher level ("#{d.d_1}") this instance is passed into the dispatchers
automatically, so that sub.dispatchers know their workpage container.DefaultDispatcher.DispatchedBeanInfo, DefaultDispatcher.DispatcherInfo| Modifier and Type | Field and Description |
|---|---|
protected boolean |
m_isMaximized |
protected Statusbar |
m_statusbar |
protected IWorkpage |
m_workpage |
protected IWorkpageContainer |
m_workpageContainer |
| Constructor and Description |
|---|
WorkpageDispatcher()
This constructor is the constructor for the "root dispatcher".
|
WorkpageDispatcher(IWorkpageContainer workpageContainer)
This constructor is the constructor for the workpage level sub dispatchers.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkIfToDrillDownToGlobalStatusbar() |
ModalPopup |
createModalPopup()
Create a modal popup instance within the context of this dispatcher.
|
ModelessPopup |
createModelessPopup()
Create a modeless popup instance within the context of this dispatcher.
|
IDispatcher |
createSubDispatcherInstance(java.lang.Class subDispatcherClass)
Creates a sub dispatcher instance of the class that is passed
as argument.
|
protected IWorkpageContainer |
createWorkpageContainer()
Creation of Workpage Container instance.
|
void |
destroy()
Destroys the dispatcher and its contained objects.
|
static WorkpageDispatcher |
findSessionTopWorkpageDispatcher()
Returns the top dispatcher of a session.
|
static IWorkpageContainer |
findSessionWorkpageContainer()
Returns workpage container of a session.
|
static IWorkpageDispatcher |
getDialogSessionInstance()
Returns the root dispatcher instance within the current dialog session.
|
boolean |
getIsMaximized() |
IWorkpageDispatcher |
getOwner()
Passes back the dispatcher above.
|
protected java.lang.Class |
getPreferredConstructorArguentClass()
Preferred constructor argument for creation of managed beans.
|
Statusbar |
getStatusbar()
This is the statusbar that is accosicated with this dispatchter instance.
|
boolean |
getToMaximizedSizeRendered() |
boolean |
getToNormalSizeRendered() |
IWorkpageDispatcher |
getTopOwner()
Passes back the top owner of the dispatcher hierarchy.
|
IWorkpage |
getWorkpage()
This is the workpage that is associated with this dispatcher instance.
|
IWorkpageContainer |
getWorkpageContainer()
The workpage container that is associated with the dispatcher.
|
boolean |
isOpenedAsPopup()
Tells if the current content of the workpage is isolated into a
modeless popup by the workpage container.
|
boolean |
isPopupHeaderRendered() |
void |
onMaximize(ActionEvent event) |
void |
onMoveWorkpageIntoContentArea(ActionEvent event) |
protected void |
prepareObject(java.lang.Object o)
After the creation of the object (default:
DefaultDispatcher.readObject(String) this
method is called. |
void |
setOwner(IDispatcher owner) |
void |
setWorkpage(IWorkpage workpage)
Internally used.
|
addDispatcherExtension, checkIfDispatchedBeanIsLoaded, checkIfDispatchedBeanIsLoaded, createObjectInstance, createSubDispatcherIndex, createSubDispatcherInstance, get, getChildDispatchers, getContentReplace, getDispatchedBean, getDispatchedBean, getExpressionBase, getMyExpression, getMyExpression, getRootExpression, getStaticDispatcherInfo, initDispatcher, initRegisteredBeanInfos, initRegisteredPackages, outputLogInfoWhenNoClassWasResolved, readObject, registerSubDispatcherInstance, removeDispatchedBean, removeDispatchedBean, removeDispatcherExtension, resolveClass, toString, unregisterSubDispatcherInstance, updateExpressionclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcheckIfDispatchedBeanIsLoaded, checkIfDispatchedBeanIsLoaded, createSubDispatcherIndex, createSubDispatcherInstance, getChildDispatchers, getContentReplace, getDispatchedBean, getDispatchedBean, getExpressionBase, getMyExpression, getMyExpression, removeDispatchedBean, removeDispatchedBean, unregisterSubDispatcherInstance, updateExpressionprotected IWorkpageContainer m_workpageContainer
protected IWorkpage m_workpage
protected Statusbar m_statusbar
protected boolean m_isMaximized
public WorkpageDispatcher()
public WorkpageDispatcher(IWorkpageContainer workpageContainer)
public static IWorkpageDispatcher getDialogSessionInstance()
public static WorkpageDispatcher findSessionTopWorkpageDispatcher()
public static IWorkpageContainer findSessionWorkpageContainer()
public IDispatcher createSubDispatcherInstance(java.lang.Class subDispatcherClass)
DefaultDispatchercreateSubDispatcherInstance in class DefaultDispatcherpublic IWorkpageContainer getWorkpageContainer()
getWorkpageContainer in interface IWorkpageDispatcherpublic IWorkpage getWorkpage()
getWorkpage in interface IWorkpageDispatcherpublic void setWorkpage(IWorkpage workpage)
IWorkpageDispatchersetWorkpage in interface IWorkpageDispatcherpublic Statusbar getStatusbar()
getStatusbar in interface IWorkpageDispatcherpublic void setOwner(IDispatcher owner)
setOwner in interface IDispatchersetOwner in class DefaultDispatcherpublic boolean isOpenedAsPopup()
IWorkpageDispatcherisOpenedAsPopup in interface IWorkpageDispatcherpublic boolean isPopupHeaderRendered()
public boolean checkIfToDrillDownToGlobalStatusbar()
checkIfToDrillDownToGlobalStatusbar in interface Statusbar.IStatusBarDrillDownInfoProviderpublic boolean getToNormalSizeRendered()
public boolean getToMaximizedSizeRendered()
public boolean getIsMaximized()
public void onMoveWorkpageIntoContentArea(ActionEvent event)
public void onMaximize(ActionEvent event)
public void destroy()
IDispatcherdestroy in interface IDispatcherdestroy in class DefaultDispatcherpublic ModalPopup createModalPopup()
DefaultDispatchercreateModalPopup in interface IDispatchercreateModalPopup in class DefaultDispatcherpublic ModelessPopup createModelessPopup()
DefaultDispatchercreateModelessPopup in interface IDispatchercreateModelessPopup in class DefaultDispatcherpublic IWorkpageDispatcher getTopOwner()
IDispatchergetTopOwner in interface IDispatchergetTopOwner in class DefaultDispatcherpublic IWorkpageDispatcher getOwner()
IDispatchergetOwner in interface IDispatchergetOwner in class DefaultDispatcherprotected IWorkpageContainer createWorkpageContainer()
protected java.lang.Class getPreferredConstructorArguentClass()
DefaultDispatchergetPreferredConstructorArguentClass in class DefaultDispatcherprotected void prepareObject(java.lang.Object o)
DefaultDispatcherDefaultDispatcher.readObject(String) this
method is called. Here you can add own preparation logic.prepareObject in class DefaultDispatcherCopyright © CaptainCasa Gmbh. All Rights Reserved.