|
|||||||||||
| 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.dialogbase.features.FrameCompositeFeature
This Feature handles a JFrame.
The treatement is like this:
prepare(): support reactivation (e.g. when the frame is iconified)
(see ReactivationService)activate(): set frame visibledeactivate(): set frame unvisiblerelease(): dispose frame and dereference the used frameprepare() is called. If you re-prepare
this feature, set the frame again before.
| Field Summary | |
protected javax.swing.JFrame |
frame
|
| Constructor Summary | |
FrameCompositeFeature()
|
|
| Method Summary | |
protected void |
activate()
Called when the dialog is activated. |
protected void |
deactivate()
Called when the dialog is deactivated. |
protected void |
dispose()
Called when the feature or dialog is disposed. |
javax.swing.JFrame |
getFrame()
getter for the set JFrame |
protected void |
init()
Called when the feature is initializing. |
protected void |
prepare()
Called when the dialog is prepared. |
protected void |
prepareFrame()
|
protected void |
release()
Called when the dialog is released. |
void |
setFrame(javax.swing.JFrame frame)
Set the frame to be handled. |
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature |
attachDialogControl, collectSystemInfo, disposeFeature, getDialogControl, isInitialized |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected javax.swing.JFrame frame
| Constructor Detail |
public FrameCompositeFeature()
| Method Detail |
public javax.swing.JFrame getFrame()
JFrame
public void setFrame(javax.swing.JFrame frame)
Feature will be prepared.
frame - the frame to be handled
protected void dispose()
throws DisposeException
AbstractFeature
dispose in class AbstractFeatureDisposeExceptionprotected 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 AbstractFeatureprotected void prepare()
AbstractFeatureLifeCycle.prepare(),
e.g. gain resource and provide services for childs.
The default implementation in AbstractFeature does nothing.
prepare in class AbstractFeatureprotected void release()
AbstractFeatureLifeCycle.release()(),
e.g. unregister services.
The default implementation in AbstractFeature does nothing.
release in class AbstractFeatureprotected void activate()
AbstractFeatureLifeCycle.activate().
The default implementation in AbstractFeature does nothing.
activate in class AbstractFeatureprotected void deactivate()
AbstractFeatureLifeCycle.deactivate()().
The default implementation in AbstractFeature does nothing.
deactivate in class AbstractFeatureprotected void prepareFrame()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||