Class TLspEditingSupport

java.lang.Object
com.luciad.view.lightspeed.layer.TLspEditingSupport

public class TLspEditingSupport extends Object
This class provides support for implementing editing.
Since:
2012.0
  • Constructor Details

    • TLspEditingSupport

      public TLspEditingSupport(ILspLayer aLayer)
      Creates a new editing support.
      Parameters:
      aLayer - the layer for which this editing support is created.
  • Method Details

    • getObjects

      public ILcdCollection<Object> getObjects()
      Returns the edited objects.

      The returned collection can be modified.

      Returns:
      the edited objects.
    • addEditingStateListener

      public void addEditingStateListener(ILspEditingStateListener aListener)
      Adds an ILspEditingStateListener to this ILspEditing.
      Parameters:
      aListener - the ILspEditingStateListener to be added.
    • removeEditingStateListener

      public void removeEditingStateListener(ILspEditingStateListener aListener)
      Removes an ILspEditingStateListener from this ILspEditing.
      Parameters:
      aListener - the ILspEditingStateListener to be removed.
    • editedObjectChanged

      public void editedObjectChanged(Object aObject)
      Deprecated.
      Use editedObjectsChanged() instead.
      This method should be called when an object that has been edited has changed significantly.
      Parameters:
      aObject - the object
      See Also:
    • editedObjectsChanged

      public void editedObjectsChanged(Collection<Object> aObjectList)
      This method should be called when a collection of objects that has been edited has changed significantly.
      Parameters:
      aObjectList - the collection of objects that have changed
      See Also:
    • fireEditingEvent

      protected void fireEditingEvent(Object aObject, TLspEditingStateEvent.ChangeType aChangeType)
      Deprecated.
      Use fireEditingEvent() with a list of objects instead.
      Fires an editing event.
      Parameters:
      aObject - the object
      aChangeType - the change type
      See Also:
    • fireEditingEvent

      protected void fireEditingEvent(List<Object> aObjects, TLspEditingStateEvent.ChangeType aChangeType)
      Fires an editing event.
      Parameters:
      aObjects - a list of objects
      aChangeType - the change type
      See Also: