simtools.ui
Interface DesktopCardPanelMode

All Known Implementing Classes:
CardMode, DesktopMode, ExternalMode

public interface DesktopCardPanelMode

Author:
zxmultran034 OpenCenter Project - EADS Astrium

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 Container 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
 

Method Detail

addComponent

void addComponent(javax.swing.JComponent d)
Adds a new component to the desktop

Parameters:
d - the component

removeComponent

void removeComponent(javax.swing.JComponent d)
Removes a component from the desktop

Parameters:
d - the component

selectComponent

void selectComponent(javax.swing.JComponent d)
Selects a component

Parameters:
d - the component

updateComponentName

void updateComponentName(javax.swing.JComponent d)
Updates the name of a component

Parameters:
d - the component

getContentPane

java.awt.Container getContentPane()
returns the container in wich the desktop components are layed out

Returns:
the container or null if the components are not layed out in a container (external)

getContainer

java.awt.Container getContainer(javax.swing.JComponent d)
returns the Container that contains the specified component

Parameters:
d - the component
Returns:
the container