public class LayerContainerEvent extends EventObject
LayerContainer
to inform its listeners
when changes have occured.ILayerContainerListener
,
LayerContainer.addLayerContainerListener(ILayerContainerListener)
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
LayerContainerEvent.ID
An ID enumerator used to distinguish between different types of events.
|
source
Constructor and Description |
---|
LayerContainerEvent(LayerContainer lc,
LayerContainerEvent.ID id)
Constructs a new layer event.
|
Modifier and Type | Method and Description |
---|---|
LayerContainerEvent.ID |
getId()
Returns the event identifier that can be used to distinguish different
types of events.
|
LayerContainer |
getLayerContainer()
Returns the layer container where the event occured (the source of the
event).
|
getSource, toString
public LayerContainerEvent(LayerContainer lc, LayerContainerEvent.ID id)
lc
- the layer container where the event occured (the source)id
- an identifier used to distinguish different types of eventspublic LayerContainer getLayerContainer()
public LayerContainerEvent.ID getId()
Copyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.