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

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

public class YearDisplayState
extends Object

Version:
$Revision$
Author:
Unidata Development Team

Field Summary
private  JButton button
          _more_
private  Color color
          _more_
private  GuiUtils.ColorSwatch colorSwatch
          _more_
private  JLabel label
          _more_
private  StationModelDisplayable labelDisplay
          _more_
private static int[] nextColor
          _more_
private  List pointObs
          _more_
private  int state
          _more_
static int STATE_ACTIVE
          _more_
static int STATE_INACTIVE
          _more_
static int STATE_LOADING
          _more_
private  StormTrackControl stormTrackControl
          _more_
private  List<ucar.unidata.data.storm.StormTrack> stormTracks
          _more_
private  TrackDisplayable trackDisplay
          _more_
private  int year
          _more_
 
Constructor Summary
YearDisplayState()
          _more_
YearDisplayState(StormTrackControl stormTrackControl, int year)
          _more_
 
Method Summary
 boolean getActive()
          Get the Active property.
 JButton getButton()
          _more_
 Color getColor()
          Get the Color property.
protected  JComponent getColorSwatch()
          _more_
 JLabel getLabel()
          _more_
protected  List getPointObs()
          _more_
 int getState()
          Get the State property.
 StormTrackControl getStormTrackControl()
          _more_
 List<ucar.unidata.data.storm.StormTrack> getStormTracks()
          _more_
 int getYear()
          Get the Year property.
 void setColor(Color value)
          Set the Color property.
 void setData(boolean doYearTime, List<ucar.unidata.data.storm.StormTrack> tracks, List times, List fields, List pointObs)
          _more_
 void setState(int value)
          Set the State property.
 void setStatus(String msg)
          _more_
 void setStormTrackControl(StormTrackControl stormTrackControl)
          _more_
 void setYear(int value)
          Set the Year property.
 String toString()
          _more_
 void unload()
          _more_
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STATE_INACTIVE

public static final int STATE_INACTIVE
_more_

See Also:
Constant Field Values

STATE_LOADING

public static final int STATE_LOADING
_more_

See Also:
Constant Field Values

STATE_ACTIVE

public static final int STATE_ACTIVE
_more_

See Also:
Constant Field Values

nextColor

private static int[] nextColor
_more_


stormTrackControl

private StormTrackControl stormTrackControl
_more_


year

private int year
_more_


color

private Color color
_more_


state

private int state
_more_


trackDisplay

private TrackDisplayable trackDisplay
_more_


labelDisplay

private StationModelDisplayable labelDisplay
_more_


stormTracks

private List<ucar.unidata.data.storm.StormTrack> stormTracks
_more_


label

private JLabel label
_more_


button

private JButton button
_more_


colorSwatch

private GuiUtils.ColorSwatch colorSwatch
_more_


pointObs

private List pointObs
_more_

Constructor Detail

YearDisplayState

public YearDisplayState()
_more_


YearDisplayState

public YearDisplayState(StormTrackControl stormTrackControl,
                        int year)
_more_

Parameters:
stormTrackControl - _more_
year - _more_
Method Detail

getColorSwatch

protected JComponent getColorSwatch()
_more_

Returns:
_more_

toString

public String toString()
_more_

Overrides:
toString in class Object
Returns:
_more_

getPointObs

protected List getPointObs()
_more_

Returns:
_more_

setData

public void setData(boolean doYearTime,
                    List<ucar.unidata.data.storm.StormTrack> tracks,
                    List times,
                    List fields,
                    List pointObs)
             throws Exception
_more_

Parameters:
doYearTime - _more_
tracks - _more_
times - _more_
fields - _more_
pointObs - _more_
Throws:
Exception - _more_

getButton

public JButton getButton()
_more_

Returns:
_more_

setStatus

public void setStatus(String msg)
_more_

Parameters:
msg - _more_

getLabel

public JLabel getLabel()
_more_

Returns:
_more_

unload

public void unload()
_more_


getStormTracks

public List<ucar.unidata.data.storm.StormTrack> getStormTracks()
_more_

Returns:
_more_

getStormTrackControl

public StormTrackControl getStormTrackControl()
_more_

Returns:
_more_

setStormTrackControl

public void setStormTrackControl(StormTrackControl stormTrackControl)
_more_

Parameters:
stormTrackControl - _more_

setYear

public void setYear(int value)
Set the Year property.

Parameters:
value - The new value for Year

getYear

public int getYear()
Get the Year property.

Returns:
The Year

setColor

public void setColor(Color value)
Set the Color property.

Parameters:
value - The new value for Color

getColor

public Color getColor()
Get the Color property.

Returns:
The Color

getActive

public boolean getActive()
Get the Active property.

Returns:
The Active

setState

public void setState(int value)
Set the State property.

Parameters:
value - The new value for State

getState

public int getState()
Get the State property.

Returns:
The State