LuciadCPillar C# 2023.1.04
|
An event object, describing a change in a LayerList instance. More...
Public Types | |
enum | Type { Added , Moved , Removed } |
The type of LayerListEvent. More... | |
Static Public Member Functions | |
static LayerListEvent | Added (Layer layer, uint index) |
Returns a new event that indicates that a layer has been added to the LayerList. More... | |
static LayerListEvent | Moved (Layer layer, uint oldIndex, uint newIndex) |
Returns a new event that indicates that a layer has been moved in the LayerList. More... | |
static LayerListEvent | Removed (Layer layer, uint oldIndex) |
Returns a new event that indicates that a layer has been removed from the LayerList. More... | |
Properties | |
Type | EventType [get] |
Layer | Layer [get] |
uint? | NewIndex [get] |
uint? | OldIndex [get] |
An event object, describing a change in a LayerList instance.
The type of LayerListEvent.
Enumerator | |
---|---|
Added | When the layer list event is for a layer that is added.
|
Moved | When the layer list event is for a layer that is moved.
|
Removed | When the layer list event is for a layer that is removed.
|
|
inlinestatic |
Returns a new event that indicates that a layer has been added to the LayerList.
layer
the layer that was added, must not be nullptr
index
the index if the layer in the LayerList
a new event that indicates that a layer has been added to the LayerList
luciad::NullArgumentException
when the layer is nullptr.
2021.1
|
inlinestatic |
Returns a new event that indicates that a layer has been moved in the LayerList.
layer
the layer that was moved, must not be nullptr
oldIndex
the previous index in the LayerList
newIndex
the new index in the LayerList
a new event that indicates that a layer has been moved in the LayerList
luciad::NullArgumentException
when the layer is nullptr.
2021.1
|
inlinestatic |
Returns a new event that indicates that a layer has been removed from the LayerList.
layer
the layer that was removed, must not be nullptr
oldIndex
the index of the layer in the LayerList before it was removed
a new event that indicates that a layer has been removed from the LayerList
luciad::NullArgumentException
when the layer is nullptr.
2021.1
|
get |
|
get |
|
get |
|
get |