|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.dialog.AbstractFeature
com.sdm.quasar.client.core.embedding.features.AbstractCompositeFeature
com.sdm.quasar.client.swing.embedding.features.TabCompositeFeature
An embedding feature, which can embed child dialogs (which are
managed by an SingleActivationController) into one or more
JTabbedPanes.
| Constructor Summary | |
TabCompositeFeature()
|
|
| Method Summary | |
protected void |
activate()
Called when the dialog is activated. |
protected void |
childActivated(java.lang.String localName,
SubDialogControl subDialogControl)
|
protected void |
childAdded(java.lang.String localName,
SubDialogControl subDialogControl)
|
protected void |
childDeactivated(java.lang.String localName,
SubDialogControl subDialogControl)
|
protected void |
childRemoved(java.lang.String localName,
SubDialogControl subDialogControl)
|
void |
collectSystemInfo(SystemInfoNode root,
SystemInfoOptions options)
Subclasses should overwrite this method to append system informations |
protected void |
deactivate()
Called when the dialog is deactivated. |
protected void |
dispose()
Called when the feature or dialog is disposed. |
SingleActivationController |
getActivationController()
Returns the SingleActivationController for this TabCompositeFeature. |
protected void |
init()
Called when the feature is initializing. |
protected void |
prepare()
Called when the dialog is prepared. |
protected void |
release()
Called when the dialog is released. |
void |
removeLayoutConstraints(java.lang.String localName)
Removes previously added layout constraints for the child with the given name. |
void |
setActivationController(SingleActivationController controller)
Sets the ActivationController for this TabCompositeFeature. |
void |
setLayoutConstraints(java.lang.String localName,
javax.swing.JTabbedPane tabbedPane,
int tabIndex)
Defines the layout constraints for the child with the given local name. |
| Methods inherited from class com.sdm.quasar.client.core.embedding.features.AbstractCompositeFeature |
getActivationControllerInt, requireActivationController, setActivationControllerInt |
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature |
attachDialogControl, disposeFeature, getDialogControl, isInitialized |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TabCompositeFeature()
| Method Detail |
public void setActivationController(SingleActivationController controller)
ActivationController for this TabCompositeFeature.
controller - the SingleActivationController to usepublic SingleActivationController getActivationController()
SingleActivationController for this TabCompositeFeature.
public void setLayoutConstraints(java.lang.String localName,
javax.swing.JTabbedPane tabbedPane,
int tabIndex)
Note: This TabCompositeFeature must have been connected to an
ActivationController using AbstractCompositeFeature.setActivationControllerInt(ActivationController)
before calling this method (otherwise an IllegalStateException will be thrown).
localName - the name of the child (not null)tabbedPane - the JTabbedPane to settabIndex - the tab index to setpublic void removeLayoutConstraints(java.lang.String localName)
localName - the local name of the child to remove constraints for
protected void childAdded(java.lang.String localName,
SubDialogControl subDialogControl)
childAdded in class AbstractCompositeFeatureAbstractCompositeFeature.childAdded(java.lang.String, com.sdm.quasar.client.core.dialog.SubDialogControl)
protected void childActivated(java.lang.String localName,
SubDialogControl subDialogControl)
childActivated in class AbstractCompositeFeatureAbstractCompositeFeature.childActivated(java.lang.String, com.sdm.quasar.client.core.dialog.SubDialogControl)
protected void childDeactivated(java.lang.String localName,
SubDialogControl subDialogControl)
childDeactivated in class AbstractCompositeFeatureAbstractCompositeFeature.childDeactivated(java.lang.String, com.sdm.quasar.client.core.dialog.SubDialogControl)
protected void childRemoved(java.lang.String localName,
SubDialogControl subDialogControl)
childRemoved in class AbstractCompositeFeatureAbstractCompositeFeature.childRemoved(java.lang.String, com.sdm.quasar.client.core.dialog.SubDialogControl)protected void init()
AbstractFeatureDialogControl installed to. To access the
DialogControl use the AbstractFeature.getDialogControl() method.
Override this method to perform some action on initialization e.g. register public services.
init in class AbstractFeaturecom.sdm.quasar.client.core.dialog.features.AbstractFeature#init()protected void prepare()
AbstractFeatureLifeCycle.prepare(),
e.g. gain resource and provide services for childs.
The default implementation in AbstractFeature does nothing.
prepare in class AbstractCompositeFeatureAbstractCompositeFeature.prepare()protected void activate()
AbstractFeatureLifeCycle.activate().
The default implementation in AbstractFeature does nothing.
activate in class AbstractCompositeFeatureAbstractCompositeFeature.activate()protected void deactivate()
AbstractFeatureLifeCycle.deactivate()().
The default implementation in AbstractFeature does nothing.
deactivate in class AbstractCompositeFeatureAbstractCompositeFeature.deactivate()protected void release()
AbstractFeatureLifeCycle.release()(),
e.g. unregister services.
The default implementation in AbstractFeature does nothing.
release in class AbstractCompositeFeatureAbstractCompositeFeature.release()
protected void dispose()
throws DisposeException
AbstractFeature
dispose in class AbstractFeatureDisposeExceptioncom.sdm.quasar.client.core.dialog.features.AbstractFeature#dispose()
public void collectSystemInfo(SystemInfoNode root,
SystemInfoOptions options)
AbstractFeatureSystemInfoOptions).
The information can be appended to the tree by adding new child
SystemInformationNodes to the root node given using the
SystemInfoNode.createChild(String) method and by setting information
attributes the these nodes or the given root node.
Subclasses should overwrite this method to append system informations
collectSystemInfo in interface SystemInfoProvidercollectSystemInfo in class AbstractCompositeFeatureAbstractCompositeFeature.collectSystemInfo(com.sdm.quasar.client.core.common.sysinfo.SystemInfoNode, com.sdm.quasar.client.core.common.sysinfo.SystemInfoOptions)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||