|
|||||||||||
| 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.PanelCompositeFeature
An embedding feature, which can embed child dialogs (which are managed by an ActivationController)
into one or more panels with an arbitrary layout manager.
| Constructor Summary | |
PanelCompositeFeature()
|
|
| 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. |
ActivationController |
getActivationController()
Returns the ActivationController for this PanelCompositeFeature. |
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(ActivationController controller)
Sets the ActivationController for this PanelCompositeFeature. |
void |
setLayoutConstraints(java.lang.String localName,
java.awt.Container parentContainer,
java.lang.Object layoutConstraints)
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 PanelCompositeFeature()
| Method Detail |
public void setActivationController(ActivationController controller)
ActivationController for this PanelCompositeFeature.
public ActivationController getActivationController()
ActivationController for this PanelCompositeFeature.
public void setLayoutConstraints(java.lang.String localName,
java.awt.Container parentContainer,
java.lang.Object layoutConstraints)
Note: This PanelCompositeFeature 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)parentContainer - the parent Container of the visual representation (not null)layoutConstraints - the constraints (may be null)public 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 dispose()
throws DisposeException
AbstractFeature
dispose in class AbstractFeatureDisposeExceptioncom.sdm.quasar.client.core.dialog.features.AbstractFeature#dispose()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()
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 | ||||||||||