Class TLspPropertyChangeDescriptor<T>

java.lang.Object
com.luciad.view.lightspeed.editor.operation.TLspPropertyChangeDescriptor<T>

public class TLspPropertyChangeDescriptor<T> extends Object
Encapsulates the change of an object property
Since:
2012.0
  • Constructor Details

    • TLspPropertyChangeDescriptor

      public TLspPropertyChangeDescriptor(String aPropertyName, T aOldValue, T aNewValue)
      Creates a new TLspPropertyChangeDescriptor, describing a change for the property with the given name, its old value, and its new value.
      Parameters:
      aPropertyName - the property name.
      aOldValue - the old value.
      aNewValue - the new value.
  • Method Details

    • getPropertyName

      public String getPropertyName()
      The name of the property to be modified
      Returns:
      the name of the property
    • getNewValue

      public T getNewValue()
      The new value to set
      Returns:
      the new value
    • getOldValue

      public T getOldValue()
      The old value, if any
      Returns:
      the old value