Class TLspLabelLocationChangedEvent.Change
java.lang.Object
com.luciad.view.lightspeed.label.location.TLspLabelLocationChangedEvent.Change
- Enclosing class:
TLspLabelLocationChangedEvent
Describes a change in location and visibility of a
TLspLabelID
.- Since:
- 2012.0
-
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
Gets the label to which the change appliesGets the current location of the label,null
if the label has no location.Gets the previous location of the label,null
if there wasn't any.boolean
Indicates whether the label is visible and should be displayed.boolean
Indicates whether the label was previously visible.
-
Method Details
-
getLabel
Gets the label to which the change applies- Returns:
- a label
-
getPreviousLocation
Gets the previous location of the label,null
if there wasn't any.- Returns:
- a label location, can be
null
-
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
-