|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsimtools.ui.ExternalMode
public class ExternalMode
a DesktopCardPanelMode implementation where the components are layed out in individual JFrames
| Nested Class Summary | |
|---|---|
class |
ExternalMode.ExternalFrame
The external JFrame holder for the components in desktop mode. |
| Field Summary | |
|---|---|
protected DesktopCardPanel |
_desktopCardPanel
the desktopCardPanel in wich the components are layed out |
| Constructor Summary | |
|---|---|
ExternalMode(DesktopCardPanel desktopCardPanel)
|
|
| Method Summary | |
|---|---|
void |
addComponent(javax.swing.JComponent d)
Adds a new component to the desktop |
protected void |
computeNextFramePosition()
Computes next frame coordinates |
java.awt.Container |
getContainer(javax.swing.JComponent d)
returns the ComponentContainer that contains the specified component |
java.awt.Container |
getContentPane()
returns null as the layout is external |
void |
removeComponent(javax.swing.JComponent d)
Removes a component from the desktop |
void |
selectComponent(javax.swing.JComponent d)
Selects a component |
void |
updateComponentName(javax.swing.JComponent d)
Updates the name of a component |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DesktopCardPanel _desktopCardPanel
| Constructor Detail |
|---|
public ExternalMode(DesktopCardPanel desktopCardPanel)
cardPanel - the desktopCardPanel in wich the components are layed out| Method Detail |
|---|
public void addComponent(javax.swing.JComponent d)
DesktopCardPanelMode
addComponent in interface DesktopCardPanelModed - the componentpublic void removeComponent(javax.swing.JComponent d)
DesktopCardPanelMode
removeComponent in interface DesktopCardPanelModed - the componentpublic void selectComponent(javax.swing.JComponent d)
selectComponent in interface DesktopCardPanelModed - the componentpublic void updateComponentName(javax.swing.JComponent d)
updateComponentName in interface DesktopCardPanelModed - the componentpublic java.awt.Container getContentPane()
getContentPane in interface DesktopCardPanelModepublic java.awt.Container getContainer(javax.swing.JComponent d)
getContainer in interface DesktopCardPanelModed - the component
protected void computeNextFramePosition()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||