|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.component.Component
at.spardat.xma.component.ComponentClient
at.spardat.xma.component.EmbeddableComponent
This class servers a base class for client side components, which can be embedded into
a client side page. To be embeddable the component must define a main page via setMainPage(PageClient)
which will be shown in place inside another page.
| Field Summary |
| Fields inherited from class at.spardat.xma.component.ComponentClient |
errorBackground, errorBackgroundUneditable, lastResGif, resErrorGif, resInfoGif, resWarnGif |
| Fields inherited from class at.spardat.xma.component.Component |
session_ |
| Constructor Summary | |
EmbeddableComponent(XMASessionClient session,
boolean isStateless)
Constructor of the Component. |
|
| Method Summary | |
org.eclipse.swt.widgets.Composite |
createComposite(org.eclipse.swt.widgets.Composite parent)
|
void |
determineStateBase()
Delegates the call of PageClient.determineStateBase() to the main page. |
void |
enterBase()
|
org.eclipse.swt.widgets.Composite |
getComposite()
|
java.lang.String |
getContextString()
|
at.spardat.xma.boot.component.IDialog |
getDialog()
Gets the containing dialog of the PageClient. |
PageClient |
getMainPage()
Gets the page which will be shown by the component. |
void |
initGUI()
|
void |
leaveBase()
|
void |
removeModel()
Remove the embedded Component and all its PageModels. |
void |
removeWidgetsBase()
|
void |
setDialog(at.spardat.xma.boot.component.IDialog dialog)
Sets the containing dialog of the PageClient. |
void |
setEventsEnabled(boolean enabled)
Enables/disables GUI-events on the mainpage and all its subpages. |
void |
setMainPage(PageClient page)
Sets the page which will be shown by the component. |
void |
stateChangedBase()
|
void |
stateChangedBaseImpl()
Delegates the call of PageClient.stateChangedBaseImpl() to the main page. |
void |
stateChangedExtend()
Delegates the call of PageClient.stateChangedExtend() to the main page. |
| Methods inherited from class at.spardat.xma.component.ComponentClient |
addEventListener, addPropertyChangeListener, createTask, dispose, externalize, freePageModel, getColor, getColor, getContext, getDisplay, getFont, getFontByHeight, getFontByStyle, getHelpUri, getImage, getImage, getProperties, getProperty, getRTSession, getSession, internalize, invoke, isOutOfSyncWithServer, newRemoteCall, notifyClosed, notifyEvent, notifyPropertyChange, registerImage, removeEventListener, removePropertyChangeListener, rpcFinished, setOutOfSyncWithServer, setProperties, setProperty, showMessage |
| Methods inherited from class at.spardat.xma.component.Component |
commit, describe, externalizePageSet, externalizeProperties, getId, getModelClass, getName, getNumPageModels, getPageModel, getPageModels, getPropDes, getPropDes, getSCN, incrementSCN, internalizePageSet, internalizeProperties, isPageModelAlive, isStateless, model2props, props2model, registerPageModel, removePageModel, rollback, setId, setSCN, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public EmbeddableComponent(XMASessionClient session,
boolean isStateless)
session - the XMASession this component belongs toisStateless - defines whether this component is stateless or not.| Method Detail |
public void setMainPage(PageClient page)
page - the page to show by the component.public PageClient getMainPage()
public void setDialog(at.spardat.xma.boot.component.IDialog dialog)
IEmbeddable
setDialog in interface IEmbeddabledialog - public at.spardat.xma.boot.component.IDialog getDialog()
IEmbeddable
getDialog in interface IEmbeddablepublic org.eclipse.swt.widgets.Composite createComposite(org.eclipse.swt.widgets.Composite parent)
createComposite in interface at.spardat.xma.boot.component.IXMAControlpublic org.eclipse.swt.widgets.Composite getComposite()
getComposite in interface at.spardat.xma.boot.component.IXMAControlpublic void initGUI()
initGUI in interface at.spardat.xma.boot.component.IXMAControlpublic void enterBase()
enterBase in interface at.spardat.xma.boot.component.IXMAControlpublic void stateChangedBase()
stateChangedBase in interface at.spardat.xma.boot.component.IXMAControlpublic void determineStateBase()
PageClient.determineStateBase() to the main page.
determineStateBase in interface IEmbeddablepublic void stateChangedExtend()
PageClient.stateChangedExtend() to the main page.
stateChangedExtend in interface IEmbeddablepublic void stateChangedBaseImpl()
PageClient.stateChangedBaseImpl() to the main page.
stateChangedBaseImpl in interface IEmbeddablepublic void leaveBase()
leaveBase in interface at.spardat.xma.boot.component.IXMAControlpublic void removeWidgetsBase()
removeWidgetsBase in interface at.spardat.xma.boot.component.IXMAControlpublic void removeModel()
PageClient.removeWidgetModels() on the main page and all subpages.
The embedded Component will be disposed.
removeModel in interface at.spardat.xma.boot.component.IXMAControlpublic java.lang.String getContextString()
getContextString in interface IEmbeddablepublic void setEventsEnabled(boolean enabled)
setEventsEnabled in interface IEmbeddableenabled -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||