Class TLspLabelMoveDescriptor
java.lang.Object
com.luciad.view.lightspeed.editor.operation.TLspLabelMoveDescriptor
Encapsulates a move of a label.
- Since:
- 2012.0, 2012.0
-
Constructor Summary
ConstructorsConstructorDescriptionTLspLabelMoveDescriptor(TLspLabelID aLabel, ALspLabelLocation aStartLabelLocation, ALspLabelLocation aTargetLabelLocation) Creates a newTLspLabelMoveDescriptorfor the given label. -
Method Summary
Modifier and TypeMethodDescriptionReturns the label which is being moved.Returns the original label location.Returns the new label location.
-
Constructor Details
-
TLspLabelMoveDescriptor
public TLspLabelMoveDescriptor(TLspLabelID aLabel, ALspLabelLocation aStartLabelLocation, ALspLabelLocation aTargetLabelLocation) Creates a newTLspLabelMoveDescriptorfor the given label.- Parameters:
aLabel- a label.aStartLabelLocation- the original label location.aTargetLabelLocation- the new label location.
-
-
Method Details
-
getLabelID
Returns the label which is being moved.- Returns:
- the label which is being moved.
-
getStartLabelLocation
Returns the original label location.- Returns:
- the original label location.
-
getTargetLabelLocation
Returns the new label location.- Returns:
- the new label location.
-