public class YearDisplayState extends Object
Modifier and Type | Field and Description |
---|---|
private JButton |
button
_more_
|
private Color |
color
_more_
|
private ColorSwatchComponent |
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 and Description |
---|
YearDisplayState()
_more_
|
YearDisplayState(StormTrackControl stormTrackControl,
int year)
_more_
|
Modifier and Type | Method and Description |
---|---|
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_
|
public static final int STATE_INACTIVE
public static final int STATE_LOADING
public static final int STATE_ACTIVE
private static int[] nextColor
private StormTrackControl stormTrackControl
private int year
private int state
private TrackDisplayable trackDisplay
private StationModelDisplayable labelDisplay
private List<ucar.unidata.data.storm.StormTrack> stormTracks
private ColorSwatchComponent colorSwatch
public YearDisplayState()
public YearDisplayState(StormTrackControl stormTrackControl, int year)
stormTrackControl
- _more_year
- _more_protected JComponent getColorSwatch()
protected List getPointObs()
public void setData(boolean doYearTime, List<ucar.unidata.data.storm.StormTrack> tracks, List times, List fields, List pointObs) throws Exception
doYearTime
- _more_tracks
- _more_times
- _more_fields
- _more_pointObs
- _more_Exception
- _more_public void unload()
public List<ucar.unidata.data.storm.StormTrack> getStormTracks()
public StormTrackControl getStormTrackControl()
public void setStormTrackControl(StormTrackControl stormTrackControl)
stormTrackControl
- _more_public void setYear(int value)
value
- The new value for Yearpublic int getYear()
public void setColor(Color value)
value
- The new value for Colorpublic boolean getActive()
public void setState(int value)
value
- The new value for Statepublic int getState()