Class TLspLabelLocationChangedEvent.Change

java.lang.Object
com.luciad.view.lightspeed.label.location.TLspLabelLocationChangedEvent.Change
Enclosing class:
TLspLabelLocationChangedEvent

public static class TLspLabelLocationChangedEvent.Change extends Object
Describes a change in location and visibility of a TLspLabelID.
Since:
2012.0
  • Method Details

    • getLabel

      public TLspLabelID getLabel()
      Gets the label to which the change applies
      Returns:
      a label
    • getPreviousLocation

      public ALspLabelLocation getPreviousLocation()
      Gets the previous location of the label, null if there wasn't any.
      Returns:
      a label location, can be null
    • getLocation

      public ALspLabelLocation getLocation()
      Gets the current location of the label, null if the label has no location.
      Returns:
      a label location, can be null
    • wasPreviouslyVisible

      public boolean wasPreviouslyVisible()
      Indicates whether the label was previously visible. Note that this does not necessarily mean it was actually displayed on the map by a painter.
      Returns:
      whether the label was potentially visible
    • isVisible

      public boolean isVisible()
      Indicates whether the label is visible and should be displayed.
      Returns:
      whether the label should be displayed