Package ucar.unidata.view.station
Class StationLocationRenderer.SLStation
java.lang.Object
ucar.unidata.view.station.StationLocationRenderer.SLStation
- Enclosing class:
StationLocationRenderer
Specialized station class used by this Renderer.
-
Method Summary
Modifier and TypeMethodDescriptionGet the bounds of this station.ucar.unidata.geoloc.ProjectionPointImpl
Get the location of this in projection coordinates.boolean
Get whether this station is selected.Get the station that this object is wrapping.boolean
Get whether this station is visible, i.e., if it has been drawn (not decluttered)void
Reset the bounds for this stationvoid
setSelected
(boolean selected) Set whether this station is selected.void
setVisible
(boolean visible) Set whether this station is visible.toString()
String representation of this object
-
Method Details
-
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
Get the bounds of this station.- Returns:
Rectangle
that determines the bounds.
-
resetBounds
public void resetBounds()Reset the bounds for this station -
toString
String representation of this object
-