ucar.unidata.idv.ui
Class WindowInfo

java.lang.Object
  extended by ucar.unidata.idv.ui.WindowInfo

public class WindowInfo
extends Object

Holds information about an IdvWindow so we can persist it.


Constructor Summary
WindowInfo()
          Ctor
WindowInfo(IdvWindow window)
          Create me and instantiate my state form the given window
 
Method Summary
 Rectangle getBounds()
          Get the window bounds
 boolean getIsAMainWindow()
          Get the IsAMainWindow property.
 Hashtable getPersistentComponents()
          Get the PersistentComponents property.
 String getSkinPath()
          Get the path to the xml skin
 String getTitle()
          Get the Title property.
 List getViewManagers()
          Get the list of view managers in the window
 void setBounds(Rectangle b)
          Set the window bounds
 void setIsAMainWindow(boolean value)
          Set the IsAMainWindow property.
 void setPersistentComponents(Hashtable value)
          Set the PersistentComponents property.
 void setSkinPath(String b)
          Set the path to the xml skin
 void setTitle(String value)
          Set the Title property.
 void setViewManagers(List vms)
          Set the list of view managers in the window
 String toString()
          to string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WindowInfo

public WindowInfo()
Ctor


WindowInfo

public WindowInfo(IdvWindow window)
Create me and instantiate my state form the given window

Parameters:
window - The window to get state from
Method Detail

toString

public String toString()
to string

Overrides:
toString in class Object
Returns:
to string

getViewManagers

public List getViewManagers()
Get the list of view managers in the window

Returns:
The viewmanagers

setViewManagers

public void setViewManagers(List vms)
Set the list of view managers in the window

Parameters:
vms - The view managers

getBounds

public Rectangle getBounds()
Get the window bounds

Returns:
Window bounds

setBounds

public void setBounds(Rectangle b)
Set the window bounds

Parameters:
b - The window bounds

getSkinPath

public String getSkinPath()
Get the path to the xml skin

Returns:
Xml skin path

setSkinPath

public void setSkinPath(String b)
Set the path to the xml skin

Parameters:
b - Xml skin path

setIsAMainWindow

public void setIsAMainWindow(boolean value)
Set the IsAMainWindow property.

Parameters:
value - The new value for IsAMainWindow

getIsAMainWindow

public boolean getIsAMainWindow()
Get the IsAMainWindow property.

Returns:
The IsAMainWindow

setTitle

public void setTitle(String value)
Set the Title property.

Parameters:
value - The new value for Title

getTitle

public String getTitle()
Get the Title property.

Returns:
The Title

setPersistentComponents

public void setPersistentComponents(Hashtable value)
Set the PersistentComponents property.

Parameters:
value - The new value for PersistentComponents

getPersistentComponents

public Hashtable getPersistentComponents()
Get the PersistentComponents property.

Returns:
The PersistentComponents