|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimtools.ui.CardMode
public class CardMode
a card like implementation of the DesktopCardPanelMode
Nested Class Summary | |
---|---|
class |
CardMode.ComponentPanel
The JPanel holder for the selected component The constructor creates an invisible panel whithout any component inside. |
Field Summary | |
---|---|
protected DesktopCardPanel |
_desktopCardPanel
the desktopCardPanel in wich the components are layed out |
Constructor Summary | |
---|---|
CardMode(DesktopCardPanel desktopCardPanel)
|
Method Summary | |
---|---|
void |
addComponent(javax.swing.JComponent d)
Adds a new component to the desktop |
java.awt.Container |
getContainer(javax.swing.JComponent d)
returns the ComponentContainer that contains the specified component |
java.awt.Container |
getContentPane()
returns the container in wich the desktop components are layed out |
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 CardMode(DesktopCardPanel desktopCardPanel)
cardPanel
- the desktopCardPanel in wich the components are layed outMethod Detail |
---|
public void addComponent(javax.swing.JComponent d)
addComponent
in interface DesktopCardPanelMode
d
- the componentpublic void removeComponent(javax.swing.JComponent d)
removeComponent
in interface DesktopCardPanelMode
d
- the componentpublic void selectComponent(javax.swing.JComponent d)
selectComponent
in interface DesktopCardPanelMode
d
- the componentpublic java.awt.Container getContentPane()
getContentPane
in interface DesktopCardPanelMode
public void updateComponentName(javax.swing.JComponent d)
updateComponentName
in interface DesktopCardPanelMode
d
- the componentpublic java.awt.Container getContainer(javax.swing.JComponent d)
getContainer
in interface DesktopCardPanelMode
d
- the component
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |