simtools.ui
Class SplitTabPane.Element

java.lang.Object
  extended by simtools.ui.SplitTabPane.Element
Enclosing class:
SplitTabPane

protected class SplitTabPane.Element
extends java.lang.Object

Element is the internal structure describing the managed components


Constructor Summary
protected SplitTabPane.Element(java.awt.Component c, java.lang.String n, java.awt.Container o, SplitTabPane.SplitBorder b)
          Creates a new element
 
Method Summary
 int getMode()
           
 java.lang.String getName()
           
 java.awt.Container getOwner()
           
 int getPreviousMode()
           
 java.lang.String getPropertyName(java.lang.String propRoot)
           
 void load(UserProperties up, java.lang.String propRoot)
           
 void save(UserProperties up, java.lang.String propRoot)
           
 void setPreviousMode(int previousMode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitTabPane.Element

protected SplitTabPane.Element(java.awt.Component c,
                               java.lang.String n,
                               java.awt.Container o,
                               SplitTabPane.SplitBorder b)
Creates a new element

Parameters:
c - the component to be displayed
n - the name of the component
o - the container owner of this component (a JSplitPane, a JDialog, a JTabbedPane or this)
Method Detail

getPreviousMode

public int getPreviousMode()
Returns:
Returns the previous mode.

setPreviousMode

public void setPreviousMode(int previousMode)
Parameters:
previousMode - The previous mode to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

getOwner

public java.awt.Container getOwner()
Returns:
Returns the owner.

getMode

public int getMode()
Returns:
the element mode

getPropertyName

public java.lang.String getPropertyName(java.lang.String propRoot)

save

public void save(UserProperties up,
                 java.lang.String propRoot)

load

public void load(UserProperties up,
                 java.lang.String propRoot)