edu.wisc.ssec.mcidasv.control.cyclone
Class DisplayState

java.lang.Object
  extended by edu.wisc.ssec.mcidasv.control.cyclone.DisplayState

public class DisplayState
extends Object

Version:
$Revision$
Author:
Unidata Development Team

Field Summary
private  JCheckBox cbx
          for gui
private  String name
          the name
private  boolean visible
          is this visible
private  WayDisplayState wayDisplayState
          the way display state
 
Constructor Summary
DisplayState()
          ctor
DisplayState(WayDisplayState wayDisplayState, String name, boolean visible)
          ctor
 
Method Summary
 JCheckBox getCheckBox()
          make the checkbox
 String getName()
          Get the Name property.
 boolean getVisible()
          Get the Visible property.
 WayDisplayState getWayDisplayState()
          Get the WayDisplayState property.
protected  void setBackground(Color c)
          set background color
 void setName(String value)
          Set the Name property.
 void setVisible(boolean value)
          Set the Visible property.
 void setWayDisplayState(WayDisplayState value)
          Set the WayDisplayState property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wayDisplayState

private WayDisplayState wayDisplayState
the way display state


cbx

private JCheckBox cbx
for gui


visible

private boolean visible
is this visible


name

private String name
the name

Constructor Detail

DisplayState

public DisplayState()
ctor


DisplayState

public DisplayState(WayDisplayState wayDisplayState,
                    String name,
                    boolean visible)
ctor

Parameters:
wayDisplayState - the way display state
name - the name
visible - is this visible
Method Detail

setBackground

protected void setBackground(Color c)
set background color

Parameters:
c - color

getCheckBox

public JCheckBox getCheckBox()
make the checkbox

Returns:
the checkbox

setVisible

public void setVisible(boolean value)
Set the Visible property.

Parameters:
value - The new value for Visible

getVisible

public boolean getVisible()
Get the Visible property.

Returns:
The Visible

setName

public void setName(String value)
Set the Name property.

Parameters:
value - The new value for Name

getName

public String getName()
Get the Name property.

Returns:
The Name

setWayDisplayState

public void setWayDisplayState(WayDisplayState value)
Set the WayDisplayState property.

Parameters:
value - The new value for WayDisplayState

getWayDisplayState

public WayDisplayState getWayDisplayState()
Get the WayDisplayState property.

Returns:
The WayDisplayState