ucar.unidata.idv.control.storm
Class WayDisplayState

java.lang.Object
  extended by ucar.unidata.idv.control.storm.WayDisplayState

public class WayDisplayState
extends Object

Version:
$Revision: 1.69 $
Author:
Unidata Development Team

Constructor Summary
WayDisplayState()
          _more_
WayDisplayState(StormDisplayState stormDisplayState, Way way)
          _more_
 
Method Summary
 void addDisplayable(Displayable displayable)
          _more_
 void addTrack(StormTrack track)
          _more_
 void addTrack(StormTrack track, FieldImpl field)
           
 void checkVisibility()
           
 void deactivate()
          _more_
 double getCircleAngleRange(EarthLocation c, EarthLocation d)
          _more_
 Color getColor()
          Get the Color property.
 float[][] getColorPalette()
           
static float[][] getColorPalette(Color c)
          _more_
protected  JComponent getColorSwatch()
           
 String getColorTable()
          Get the ColorTable property.
 List getFields()
          _more_
 StormTrackPoint[] getHalfCircleTrackPoint(EarthLocation c, double angle, double r, DateTime dt)
          _more_
protected  CompositeDisplayable getHolder()
           
protected  Component getParamComponent(Vector attrNames)
           
protected  RealType getParamType()
           
 List<PointOb> getPointObs()
          _more_
 StormTrackPoint getPointToCircleTangencyPoint(StormTrackPoint sp1, StormTrackPoint sp2, boolean right)
          _more_
 boolean getRingsVisible()
          Get the Visible property.
 StormDisplayState getStormDisplayState()
          Get the StormDisplayState property.
 List<DateTime> getTimes()
          _more_
 TrackDisplayable getTrackDisplay()
           
 List<StormTrack> getTracks()
          _more_
 boolean getVisible()
          Get the Visible property.
 JCheckBox getVisiblityCheckBox()
          _more_
 Way getWay()
          Get the Way property.
 StormTrack makeCornTrack(StormTrack track)
          _more_
protected  void makeField()
           
 void setColor(Color value)
          Set the Color property.
 void setColorTable(String value)
          Set the ColorTable property.
protected  void setRings(RealType ringsType, List<RingSet> rings)
           
 void setRingsVisible(boolean value)
          Set the Visible property.
 void setStormDisplayState(StormDisplayState value)
          Set the StormDisplayState property.
 void setVisible(boolean value)
          Set the Visible property.
 void setWay(Way value)
          Set the Way property.
 boolean usingDefaultParam()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WayDisplayState

public WayDisplayState()
_more_


WayDisplayState

public WayDisplayState(StormDisplayState stormDisplayState,
                       Way way)
_more_

Parameters:
stormDisplayState - _more_
way - _more_
Method Detail

getHolder

protected CompositeDisplayable getHolder()
                                  throws VisADException,
                                         RemoteException
Throws:
VisADException
RemoteException

setRings

protected void setRings(RealType ringsType,
                        List<RingSet> rings)
                 throws VisADException,
                        RemoteException
Throws:
VisADException
RemoteException

getTrackDisplay

public TrackDisplayable getTrackDisplay()
                                 throws Exception
Throws:
Exception

getColorSwatch

protected JComponent getColorSwatch()

getColorPalette

public float[][] getColorPalette()

getColorPalette

public static float[][] getColorPalette(Color c)
_more_

Parameters:
c - _more_
Returns:
_more_

getParamComponent

protected Component getParamComponent(Vector attrNames)

usingDefaultParam

public boolean usingDefaultParam()

getParamType

protected RealType getParamType()

deactivate

public void deactivate()
                throws VisADException,
                       RemoteException
_more_

Throws:
VisADException
RemoteException

getVisiblityCheckBox

public JCheckBox getVisiblityCheckBox()
_more_

Returns:
_more_

getPointObs

public List<PointOb> getPointObs()
_more_

Returns:
_more_

addTrack

public void addTrack(StormTrack track)
              throws Exception
_more_

Parameters:
track - _more_
Throws:
Exception - _more_

makeField

protected void makeField()
                  throws Exception
Throws:
Exception

addTrack

public void addTrack(StormTrack track,
                     FieldImpl field)
              throws Exception
Throws:
Exception

getFields

public List getFields()
_more_

Returns:
_more_

getTracks

public List<StormTrack> getTracks()
_more_

Returns:
_more_

getTimes

public List<DateTime> getTimes()
_more_

Returns:
_more_

addDisplayable

public void addDisplayable(Displayable displayable)
                    throws VisADException,
                           RemoteException
_more_

Parameters:
displayable - _more_
Throws:
Exception - _more_
VisADException
RemoteException

checkVisibility

public void checkVisibility()
                     throws Exception
Throws:
Exception

setVisible

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

Parameters:
value - The new value for Visible
Throws:
Exception - _more_

setRingsVisible

public void setRingsVisible(boolean value)
                     throws VisADException,
                            RemoteException
Set the Visible property.

Parameters:
value - The new value for Visible
Throws:
Exception - _more_
VisADException
RemoteException

getVisible

public boolean getVisible()
Get the Visible property.

Returns:
The Visible

getRingsVisible

public boolean getRingsVisible()
Get the Visible property.

Returns:
The Visible

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

setStormDisplayState

public void setStormDisplayState(StormDisplayState value)
Set the StormDisplayState property.

Parameters:
value - The new value for StormDisplayState

getStormDisplayState

public StormDisplayState getStormDisplayState()
Get the StormDisplayState property.

Returns:
The StormDisplayState

setWay

public void setWay(Way value)
Set the Way property.

Parameters:
value - The new value for Way

getWay

public Way getWay()
Get the Way property.

Returns:
The Way

setColorTable

public void setColorTable(String value)
Set the ColorTable property.

Parameters:
value - The new value for ColorTable

getColorTable

public String getColorTable()
Get the ColorTable property.

Returns:
The ColorTable

makeCornTrack

public StormTrack makeCornTrack(StormTrack track)
                         throws VisADException
_more_

Parameters:
track - _more_
Returns:
_more_
Throws:
VisADException - _more_

getPointToCircleTangencyPoint

public StormTrackPoint getPointToCircleTangencyPoint(StormTrackPoint sp1,
                                                     StormTrackPoint sp2,
                                                     boolean right)
                                              throws VisADException
_more_

Parameters:
sp1 - _more_
sp2 - _more_
right - _more_
Returns:
_more_
Throws:
VisADException - _more_

getCircleAngleRange

public double getCircleAngleRange(EarthLocation c,
                                  EarthLocation d)
_more_

Parameters:
c - _more_
d - _more_
Returns:
_more_

getHalfCircleTrackPoint

public StormTrackPoint[] getHalfCircleTrackPoint(EarthLocation c,
                                                 double angle,
                                                 double r,
                                                 DateTime dt)
                                          throws VisADException
_more_

Parameters:
c - _more_
angle - _more_
r - _more_
Returns:
_more_
Throws:
VisADException - _more_