|
|||||||||||
| 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.swing.embedding.features.VisualRepresentationFeature
This feature uses a VisualRepresentationService given by the parent to
let a dialog set it's visual representation easily.
Just use the setVisualRepresentation(JComponent) in a dialog to provide
the visual representation for the parent.
Note: The parent dialog must provide a VisualRepresentationService.
This is usually the case, if the parent uses some concrete
AbstractCompositeFeature.
| Constructor Summary | |
VisualRepresentationFeature()
|
|
| Method Summary | |
void |
clearVisualRepresentation()
|
void |
collectSystemInfo(SystemInfoNode root,
SystemInfoOptions options)
Builds the system information tree upon local information of the implementor. The system information tree can be used within development by inspecting the system; so implementors should append their internal state (depending on the details settings within SystemInfoOptions).
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
Subclasses should overwrite this method to append system informations |
protected void |
dispose()
Called when the feature or dialog is disposed. |
javax.swing.JComponent |
getParentVisualRepresentation()
|
javax.swing.JComponent |
getVisualRepresentation()
|
protected void |
init()
Called when the feature is initializing. |
protected void |
prepare()
Called when the dialog is prepared. |
void |
setVisualRepresentation(javax.swing.JComponent jcomponent)
|
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature |
activate, attachDialogControl, deactivate, disposeFeature, getDialogControl, isInitialized, release |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VisualRepresentationFeature()
| Method Detail |
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 AbstractFeatureAbstractFeature.prepare()public javax.swing.JComponent getParentVisualRepresentation()
getParentVisualRepresentation in interface VisualRepresentationServicecom.sdm.quasar.client.core.embedding.services.VisualRepresentationService#getParentVisualRepresentation()public javax.swing.JComponent getVisualRepresentation()
getVisualRepresentation in interface VisualRepresentationServicecom.sdm.quasar.client.core.embedding.services.VisualRepresentationService#getVisualRepresentation()public void setVisualRepresentation(javax.swing.JComponent jcomponent)
setVisualRepresentation in interface VisualRepresentationServicecom.sdm.quasar.client.core.embedding.services.VisualRepresentationService#setVisualRepresentation(javax.swing.JComponent)public void clearVisualRepresentation()
clearVisualRepresentation in interface VisualRepresentationServicecom.sdm.quasar.client.core.embedding.services.VisualRepresentationService#clearVisualRepresentation()
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 AbstractFeatureAbstractFeature.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 | ||||||||||