Class StationLocationRenderer.SLStation

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

public class StationLocationRenderer.SLStation extends Object
Specialized station class used by this Renderer.
  • Method Details

    • 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