public class LayerElementsAddedEvent extends LayerEvent
Constructor and Description |
---|
LayerElementsAddedEvent(java.lang.Object src,
Layer layer,
K2DElement[] elements)
Constructs the LayerElementAddedEvent instance
|
Modifier and Type | Method and Description |
---|---|
void |
accept(LayerEventDispatcher visitor) |
K2DElement[] |
getElements()
Gets the added element
|
getLayer, getLayerManager, setLayerManager, toString
isCancelled, setCancelled
public LayerElementsAddedEvent(java.lang.Object src, Layer layer, K2DElement[] elements)
src
- the object generating the eventlayer
- the layer associated with the eventelements
- the element to be addedpublic K2DElement[] getElements()
public void accept(LayerEventDispatcher visitor)
accept
in class LayerEvent