|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.genuine.organizer.internal.ComponentStatusManager net.sf.genuine.organizer.internal.ComponentStatusManagerInternalFrame
Manages the status of a visual component instance that is shown in an internal frame.
Field Summary | |
protected java.lang.String |
componentId
|
protected GenuineButton |
defaultButton
|
protected javax.swing.JDesktopPane |
desktopPane
|
protected FrameLocator |
frameLocator
|
protected java.lang.String |
instanceId
|
protected javax.swing.JFrame |
mainFrame
|
protected Module |
module
|
protected Size |
size
|
Constructor Summary | |
(package private) |
ComponentStatusManagerInternalFrame(javax.swing.JFrame mainFrame,
javax.swing.JDesktopPane desktopPane,
FrameLocator frameLocator,
Module module,
java.lang.String componentId,
java.lang.String instanceId,
Size size)
|
Method Summary | |
void |
addComponentListener(ComponentListener listener)
Adds a ComponentListener to the component. |
(package private) void |
changeComponentTitle(java.lang.String title)
Changes the title of the component |
protected javax.swing.JComponent |
createVisualComponent()
Lets the module create the visual component and checks it. |
(package private) void |
embeddComponent()
Creates a frame (internal or modal) and embeds the visual component in it. |
protected void |
fireComponentActivated()
|
protected void |
fireComponentDeactivated()
|
protected void |
fireComponentHidden()
|
protected void |
fireComponentShown()
|
(package private) void |
hide()
Makes the window in which the component is embedded invisible. |
void |
removeComponentListener(ComponentListener listener)
Removes a ComponentListener from the component. |
void |
setDefaultButton(GenuineButton defaultButton)
Sets the given button as default button of the frame into which the component is embedded |
(package private) void |
show()
Makes the window in which the component is embedded visible. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected javax.swing.JFrame mainFrame
protected javax.swing.JDesktopPane desktopPane
protected FrameLocator frameLocator
protected Module module
protected java.lang.String componentId
protected java.lang.String instanceId
protected Size size
protected GenuineButton defaultButton
Constructor Detail |
ComponentStatusManagerInternalFrame(javax.swing.JFrame mainFrame, javax.swing.JDesktopPane desktopPane, FrameLocator frameLocator, Module module, java.lang.String componentId, java.lang.String instanceId, Size size)
Method Detail |
void embeddComponent() throws ConfigurationException
ComponentStatusManager
embeddComponent
in class ComponentStatusManager
ConfigurationException
void show()
ComponentStatusManager
show
in class ComponentStatusManager
void hide()
ComponentStatusManager
hide
in class ComponentStatusManager
void changeComponentTitle(java.lang.String title)
ComponentStatusManager
changeComponentTitle
in class ComponentStatusManager
public void setDefaultButton(GenuineButton defaultButton)
ComponentStatusManager
setDefaultButton
in class ComponentStatusManager
protected javax.swing.JComponent createVisualComponent() throws ConfigurationException
ConfigurationException
public void addComponentListener(ComponentListener listener)
ComponentListener
to the component.
public void removeComponentListener(ComponentListener listener)
ComponentListener
from the component.
protected void fireComponentShown()
protected void fireComponentHidden()
protected void fireComponentActivated()
protected void fireComponentDeactivated()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |