public class StormTrackChart extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
chartDifference
_more_
|
private javax.swing.JPanel |
chartLeft
_more_
|
private java.util.List<ucar.unidata.data.storm.StormParam> |
chartParams
_more_
|
private javax.swing.JList |
chartTimeBox
_more_
|
private javax.swing.JPanel |
chartTop
_more_
|
private java.util.List<ucar.unidata.data.storm.Way> |
chartWays
_more_
|
private javax.swing.JComponent |
contents
_more_
|
private java.util.List<java.lang.Integer> |
forecastHours
_more_
|
private java.util.List<DateTime> |
forecastTimes
_more_
|
private boolean |
ignoreChartTimeChanges
_more_
|
private boolean |
madeChart
_more_
|
private int |
mode
_more_
|
static int |
MODE_FORECASTHOUR
_more_
|
static int |
MODE_FORECASTTIME
_more_
|
private java.lang.String |
name
_more_
|
private StormDisplayState |
stormDisplayState
_more_
|
private ucar.unidata.idv.control.chart.TimeSeriesChart |
timeSeries
_more_
|
Constructor and Description |
---|
StormTrackChart()
_more_
|
StormTrackChart(StormDisplayState stormDisplayState,
java.lang.String name)
_more_
|
StormTrackChart(StormDisplayState stormDisplayState,
java.lang.String name,
int mode)
_more_
|
Modifier and Type | Method and Description |
---|---|
private void |
addChartParam(ucar.unidata.data.storm.StormParam param)
_more_
|
private void |
addChartWay(ucar.unidata.data.storm.Way way)
_more_
|
protected void |
createChart()
_more_
|
void |
deactivate()
_more_
|
private javax.swing.JComponent |
doMakeContents()
_more_
|
private java.util.List<java.lang.Integer> |
findForecastHours()
_more_
|
private java.util.List<DateTime> |
findForecastTimes()
_more_
|
ucar.unidata.idv.control.chart.TimeSeriesChart |
getChart()
Get the chart
|
boolean |
getChartDifference()
Get the ChartDifference property.
|
java.util.List<ucar.unidata.data.storm.StormParam> |
getChartParams()
Get the ChartParams property.
|
java.util.List<ucar.unidata.data.storm.Way> |
getChartWays()
Get the ChartWays property.
|
protected javax.swing.JComponent |
getContents()
_more_
|
java.util.List<java.lang.Integer> |
getForecastHours()
_more_
|
java.util.List<DateTime> |
getForecastTimes()
_more_
|
int |
getMode()
Get the Mode property.
|
java.lang.String |
getName()
Get the Name property.
|
private void |
getSelectedTimes()
_more_
|
StormDisplayState |
getStormDisplayState()
Get the StormDisplayState property.
|
protected java.util.List |
getStormTrackParams()
_more_
|
protected boolean |
isHourly()
_more_
|
protected ucar.unidata.idv.control.chart.LineState |
makeLine(ucar.unidata.data.storm.StormTrack stormTrack,
ucar.unidata.data.storm.StormParam param)
_more_
|
(package private) javax.swing.JScrollPane |
makeScroller(javax.swing.JComponent comp,
int width,
int height)
_more_
|
void |
removeChart()
_more_
|
private void |
removeChartParam(ucar.unidata.data.storm.StormParam param)
_more_
|
private void |
removeChartWay(ucar.unidata.data.storm.Way way)
_more_
|
void |
setChartDifference(boolean value)
Set the ChartDifference property.
|
void |
setChartParams(java.util.List<ucar.unidata.data.storm.StormParam> value)
Set the ChartParams property.
|
void |
setChartWays(java.util.List<ucar.unidata.data.storm.Way> value)
Set the ChartWays property.
|
void |
setForecastHour(int value)
Set the ForecastHour property.
|
void |
setForecastHours(java.util.List<java.lang.Integer> value)
_more_
|
void |
setForecastTime(DateTime value)
Set the ChartForecastTime property.
|
void |
setForecastTimes(java.util.List<DateTime> value)
_more_
|
void |
setMode(int value)
Set the Mode property.
|
void |
setName(java.lang.String value)
Set the Name property.
|
void |
setStormDisplayState(StormDisplayState value)
Set the StormDisplayState property.
|
protected void |
timeChanged(Real time)
_more_
|
protected void |
updateChart()
_more_
|
public static final int MODE_FORECASTTIME
public static final int MODE_FORECASTHOUR
private StormDisplayState stormDisplayState
private int mode
private ucar.unidata.idv.control.chart.TimeSeriesChart timeSeries
private javax.swing.JPanel chartLeft
private javax.swing.JPanel chartTop
private boolean madeChart
private java.util.List<DateTime> forecastTimes
private java.util.List<java.lang.Integer> forecastHours
private java.util.List<ucar.unidata.data.storm.StormParam> chartParams
private java.util.List<ucar.unidata.data.storm.Way> chartWays
private boolean chartDifference
private javax.swing.JList chartTimeBox
private boolean ignoreChartTimeChanges
private javax.swing.JComponent contents
private java.lang.String name
public StormTrackChart()
public StormTrackChart(StormDisplayState stormDisplayState, java.lang.String name)
stormDisplayState
- _more_name
- _more_public StormTrackChart(StormDisplayState stormDisplayState, java.lang.String name, int mode)
stormDisplayState
- _more_name
- _more_mode
- _more_protected boolean isHourly()
public void deactivate()
protected javax.swing.JComponent getContents()
private javax.swing.JComponent doMakeContents()
public ucar.unidata.idv.control.chart.TimeSeriesChart getChart()
protected void timeChanged(Real time)
time
- _more_private java.util.List<DateTime> findForecastTimes()
private java.util.List<java.lang.Integer> findForecastHours()
protected void createChart()
protected java.util.List getStormTrackParams()
public void removeChart()
javax.swing.JScrollPane makeScroller(javax.swing.JComponent comp, int width, int height)
comp
- _more_width
- _more_height
- _more_protected ucar.unidata.idv.control.chart.LineState makeLine(ucar.unidata.data.storm.StormTrack stormTrack, ucar.unidata.data.storm.StormParam param)
stormTrack
- _more_param
- _more_private void removeChartParam(ucar.unidata.data.storm.StormParam param)
param
- _more_private void addChartParam(ucar.unidata.data.storm.StormParam param)
param
- _more_private void removeChartWay(ucar.unidata.data.storm.Way way)
way
- _more_private void addChartWay(ucar.unidata.data.storm.Way way)
way
- _more_private void getSelectedTimes()
protected void updateChart()
public void setChartParams(java.util.List<ucar.unidata.data.storm.StormParam> value)
value
- The new value for ChartParamspublic java.util.List<ucar.unidata.data.storm.StormParam> getChartParams()
public void setChartWays(java.util.List<ucar.unidata.data.storm.Way> value)
value
- The new value for ChartWayspublic java.util.List<ucar.unidata.data.storm.Way> getChartWays()
public void setForecastTime(DateTime value)
value
- The new value for ChartForecastTimepublic void setForecastTimes(java.util.List<DateTime> value)
value
- _more_public java.util.List<DateTime> getForecastTimes()
public void setChartDifference(boolean value)
value
- The new value for ChartDifferencepublic boolean getChartDifference()
public void setName(java.lang.String value)
value
- The new value for Namepublic java.lang.String getName()
public void setStormDisplayState(StormDisplayState value)
value
- The new value for StormDisplayStatepublic StormDisplayState getStormDisplayState()
public void setMode(int value)
value
- The new value for Modepublic int getMode()
public void setForecastHour(int value)
value
- The new value for ForecastHourpublic void setForecastHours(java.util.List<java.lang.Integer> value)
value
- _more_public java.util.List<java.lang.Integer> getForecastHours()