Package com.luciad.view.lightspeed.layer
Class TLspEditingSupport
java.lang.Object
com.luciad.view.lightspeed.layer.TLspEditingSupport
This class provides support for implementing editing.
- Since:
- 2012.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEditingStateListener
(ILspEditingStateListener aListener) Adds anILspEditingStateListener
to thisILspEditing
.void
editedObjectChanged
(Object aObject) Deprecated.Use editedObjectsChanged() instead.void
editedObjectsChanged
(Collection<Object> aObjectList) This method should be called when a collection of objects that has been edited has changed significantly.protected void
fireEditingEvent
(Object aObject, TLspEditingStateEvent.ChangeType aChangeType) Deprecated.Use fireEditingEvent() with a list of objects instead.protected void
fireEditingEvent
(List<Object> aObjects, TLspEditingStateEvent.ChangeType aChangeType) Fires an editing event.Returns the edited objects.void
Removes anILspEditingStateListener
from thisILspEditing
.
-
Constructor Details
-
TLspEditingSupport
Creates a new editing support.- Parameters:
aLayer
- the layer for which this editing support is created.
-
-
Method Details
-
getObjects
Returns the edited objects. The returned collection can be modified.- Returns:
- the edited objects.
-
addEditingStateListener
Adds anILspEditingStateListener
to thisILspEditing
.- Parameters:
aListener
- theILspEditingStateListener
to be added.
-
removeEditingStateListener
Removes anILspEditingStateListener
from thisILspEditing
.- Parameters:
aListener
- theILspEditingStateListener
to be removed.
-
editedObjectChanged
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
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
Deprecated.Use fireEditingEvent() with a list of objects instead.Fires an editing event.- Parameters:
aObject
- the objectaChangeType
- the change type- See Also:
-
fireEditingEvent
protected void fireEditingEvent(List<Object> aObjects, TLspEditingStateEvent.ChangeType aChangeType) Fires an editing event.- Parameters:
aObjects
- a list of objectsaChangeType
- the change type- See Also:
-