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.ProjectionPointImplGet the location of this in projection coordinates.booleanGet whether this station is selected.Get the station that this object is wrapping.booleanGet whether this station is visible, i.e., if it has been drawn (not decluttered)voidReset the bounds for this stationvoidsetSelected(boolean selected) Set whether this station is selected.voidsetVisible(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:
Rectanglethat determines the bounds.
-
resetBounds
public void resetBounds()Reset the bounds for this station -
toString
String representation of this object
-