Class TLspLabelMoveDescriptor

java.lang.Object
com.luciad.view.lightspeed.editor.operation.TLspLabelMoveDescriptor

public class TLspLabelMoveDescriptor extends Object
Encapsulates a move of a label.
Since:
2012.0, 2012.0
  • Constructor Details

    • TLspLabelMoveDescriptor

      public TLspLabelMoveDescriptor(TLspLabelID aLabel, ALspLabelLocation aStartLabelLocation, ALspLabelLocation aTargetLabelLocation)
      Creates a new TLspLabelMoveDescriptor for the given label.
      Parameters:
      aLabel - a label.
      aStartLabelLocation - the original label location.
      aTargetLabelLocation - the new label location.
  • Method Details

    • getLabelID

      public TLspLabelID getLabelID()
      Returns the label which is being moved.
      Returns:
      the label which is being moved.
    • getStartLabelLocation

      public ALspLabelLocation getStartLabelLocation()
      Returns the original label location.
      Returns:
      the original label location.
    • getTargetLabelLocation

      public ALspLabelLocation getTargetLabelLocation()
      Returns the new label location.
      Returns:
      the new label location.