ucar.unidata.view.station
Class StationLocationRenderer.SLStation

java.lang.Object
  extended by ucar.unidata.view.station.StationLocationRenderer.SLStation
Enclosing class:
StationLocationRenderer

public class StationLocationRenderer.SLStation
extends Object

Specialized station class used by this Renderer.


Method Summary
 Rectangle getBounds()
          Get the bounds of this station.
 ucar.unidata.geoloc.ProjectionPointImpl getLocation()
          Get the location of this in projection coordinates.
 boolean getSelected()
          Get whether this station is selected.
 Station getStation()
          Get the station that this object is wrapping.
 boolean getVisible()
          Get whether this station is visible, i.e., if it has been drawn (not decluttered)
 void resetBounds()
          Reset the bounds for this station
 void setSelected(boolean selected)
          Set whether this station is selected.
 void setVisible(boolean visible)
          Set whether this station is visible.
 String toString()
          String representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getStation

public Station getStation()
Get the station that this object is wrapping.

Returns:
wrapped Station

getLocation

public ucar.unidata.geoloc.ProjectionPointImpl getLocation()
Get the location of this in projection coordinates.

Returns:
projection location.

getSelected

public boolean getSelected()
Get whether this station is selected.

Returns:
true if selected, otherwise false.

setSelected

public void setSelected(boolean selected)
Set whether this station is selected.

Parameters:
selected - true to select.

getVisible

public boolean getVisible()
Get whether this station is visible, i.e., if it has been drawn (not decluttered)

Returns:
true if visible, otherwise false.

setVisible

public void setVisible(boolean visible)
Set whether this station is visible.

Parameters:
visible - true to select.

getBounds

public Rectangle getBounds()
Get the bounds of this station.

Returns:
Rectangle that determines the bounds.

resetBounds

public void resetBounds()
Reset the bounds for this station


toString

public String toString()
String representation of this object

Overrides:
toString in class Object
Returns:
the string