| java.lang.Object net.refractions.udig.project.UDIGEvent net.refractions.udig.project.MapCompositionEvent
MapCompositionEvent | public class MapCompositionEvent extends UDIGEvent (Code) | | Event encapsulating information about the changes of the composition of a map.
author: Jesse since: 1.1.0 |
Inner Class :public static enum EventType | |
Method Summary | |
public ILayer | getLayer() Returns the layer modified if the event type was
EventType.ADDED ,
EventType.REMOVED or
EventType.REORDERED . | public IMap | getSource() | public EventType | getType() Gets the type of the event. | public String | toString() |
MapCompositionEvent | public MapCompositionEvent(IMap source, EventType type, Object newValue, Object oldValue, ILayer layer)(Code) | | Construct EditManagerEvent .
Parameters: source - the object that raised the event. Parameters: type - the type of event this object represents. Parameters: newValue - the new value, if this applies. Parameters: oldValue - the old value, if this applies. |
getLayer | public ILayer getLayer()(Code) | | Returns the layer modified if the event type was
EventType.ADDED ,
EventType.REMOVED or
EventType.REORDERED .
Returns the layer. |
getType | public EventType getType()(Code) | | Gets the type of the event.
the type of the event. See Also: MapEventType |
|
|