Class TLcdGXYLayerTreeNode
- All Implemented Interfaces:
ILcdPropertyChangeSource
,ILcdSelection<Object>
,ILcdGXYEditableLabelsLayer
,ILcdGXYLayer
,ILcdLayer
,ILcdLayered
,ILcdLayerTreeNode
,Serializable
An ILcdLayerTreeNode
for ILcdGXYLayer
s.
- Since:
- 9.0
- See Also:
-
Field Summary
Fields inherited from interface com.luciad.view.gxy.ILcdGXYEditableLabelsLayer
PLACED_LABELS
-
Constructor Summary
ConstructorDescriptionDeprecated.TLcdGXYLayerTreeNode
(ILcdModel aModel) Constructs a new layer tree node for the specified model.TLcdGXYLayerTreeNode
(String aLabel) Constructs a new instance ofILcdLayerTreeNode
with labelaLabel
.TLcdGXYLayerTreeNode
(String aLabel, ILcdIcon aIcon) Constructs a new instance ofILcdLayerTreeNode
with labelaLabel
and iconaIcon
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addHierarchyLayeredListener
(ILcdLayeredListener aListener) Registers the givenILcdLayeredListener
to receiveTLcdLayeredEvent
s from all theILcdLayerTreeNode
s contained in the tree with this node as root node.void
Registers the givenPropertyChangeListener
to receivePropertyChangeEvent
s from all theILcdLayer
s contained in the tree with this node as root node.void
Registers the givenILcdSelectionListener
to receiveTLcdSelectionChangedEvent
s from all theILcdLayer
s contained in the tree with this node as root node.boolean
Adds a new node to the tree as a child of this node.boolean
Adds a new node to the tree as a child of this node.void
addLayeredListener
(ILcdLayeredListener aListener) Registers the givenILcdLayeredListener
to be notified when layers are added, removed or moved.boolean
containsLayer
(ILcdLayer aLayer) Returns whether thisILcdLayered
contains the given layer.Returns the initial layer index provider, which can be used to determine the best index when a layer is added without specifying an index.getLayer
(int aIndex) Returns theILcdLayer
in thisILcdLayered
with indexaIndex
.Returns aList
of the layers.int
Returns the index if the given layer is in the list.boolean
Returnstrue
if the layer supports editing its objects.boolean
Override some of the methods of TLcdGXYLayer to first check the model of this layer.boolean
This property determines whether the layer is equipped to let the user edit the labels.boolean
Returns whether a node should be painted on top of its children when the node is added to a view, or beneath its child layers.boolean
Returnstrue
if this layer supports selecting objects,false
otherwise.int
Returns the number ofILcdLayer
objects in thisILcdLayered
.Returns theILcdLayer
of thisILcdLayered
that contains the givenILcdModel
.layers()
Returns anEnumeration
of allILcdLayer
objects currently in thisILcdLayered
, starting from the bottom layer to the top layer.Returns anEnumeration
of allILcdLayer
objects currently in thisILcdLayered
, starting from the top layer to the bottom layer.void
moveLayerAt
(int aIndex, ILcdLayer aLayer) Moves the given layer (which is already inILcdLayered
) to the existing index aIndex.void
Removes all theILcdLayer
objects from thisILcdLayered
.void
Unregisters the givenILcdLayeredListener
from receivingTLcdLayeredEvent
s for the tree with this node as root node.void
Unregisters the givenPropertyChangeListener
from receivingPropertyChangeEvent
s for the tree with this node as root node.void
Unregisters the givenILcdSelectionListener
from receivingTLcdSelectionChangedEvent
s for the tree with this node as root node.void
removeLayer
(int aIndex) Removes the node at indexaIndex
from this node and sends the appropriateTLcdLayeredEvent
.void
removeLayer
(ILcdLayer aLayer) Removes aLayer from thisILcdLayered
.void
removeLayeredListener
(ILcdLayeredListener aListener) Unregisters the givenILcdLayeredListener
from receiving layered events for theILcdLayered
.void
setInitialLayerIndexProvider
(ILcdInitialLayerIndexProvider aInitialLayerIndexProvider) Sets an initial layer index provider, which can be used to determine the best index when a layer is added without specifying an index.void
setPaintOnTopOfChildrenHint
(boolean aPaintOnTopOfChildrenHint) Sets whether a node should be painted on top of its children when the node is added to a view, or beneath its child layers.Methods inherited from class com.luciad.view.gxy.TLcdGXYLayer
applyOnInteract, applyOnInteract, applyOnInteract, applyOnInteractLabels, asFactory, create, getBounds, getGXYEditor, getGXYEditorProvider, getGXYLabelEditor, getGXYLabelEditorProvider, getGXYLabelingAlgorithm, getGXYLabelingAlgorithmProvider, getGXYLabelPainter, getGXYLabelPainterProvider, getGXYLayerLabelPainter, getGXYPainter, getGXYPainterProvider, getGXYPainterProviderArray, getGXYPainters, getGXYPen, getIcon, getInteractMargin, getLabelLocations, getLabelMapScaleRange, getLabelScaleRange, getMapScaleRange, getMinimumObjectSizeForPainting, getModelElementComparator, getModelQueryConfiguration, getModelXYWorldTransfoClass, getPaintLabelsScaleRatioInterval, getScaleRange, isLabeled, isLabelsEditable, isPaintFromOverlaps, isSelectionLabeled, isStopPainting, isTraceOn, modeToString, paint, paintFromModel, paintFromOverlaps, setClassTraceOn, setFilter, setGXYEditorProvider, setGXYLabelEditorProvider, setGXYLabelingAlgorithmProvider, setGXYLabelPainterProvider, setGXYLayerLabelPainter, setGXYPainterProvider, setGXYPainterProviderArray, setGXYPen, setIcon, setInteractMargin, setLabeled, setLabelLocations, setLabelMapScaleRange, setLabelScaleRange, setLabelsEditable, setMapScaleRange, setMinimumObjectSizeForPainting, setModel, setModelElementComparator, setModelQueryConfiguration, setModelXYWorldTransfoClass, setPaintFromOverlaps, setPaintLabelsScaleRatioInterval, setScaleRange, setSelectionLabeled, setTraceOn, setVisible, startPainting, stopPainting
Methods inherited from class com.luciad.view.TLcdLayer
addPropertyChangeListener, addSelectionListener, clearSelection, fireCollectedSelectionChanges, firePropertyChangeEvent, getFilter, getLabel, getModel, getSelectionCount, invalidate, isEditable, isSelectable, isSelected, isVisible, removePropertyChangeListener, removeSelectionListener, selectedObjects, selectObject, selectObjects, setEditable, setLabel, setSelectable, setSelectableSupported, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.luciad.view.ILcdLayer
clearSelection, fireCollectedSelectionChanges, getIcon, getLabel, getModel, isEditable, isSelectable, isVisible, selectObject, setEditable, setIcon, setLabel, setSelectable, setVisible
Methods inherited from interface com.luciad.view.ILcdLayered
addLayeredListener, removeLayeredListener
Methods inherited from interface com.luciad.view.ILcdLayerTreeNode
addPropertyChangeListener, removePropertyChangeListener
Methods inherited from interface com.luciad.util.ILcdSelection
addSelectionListener, getSelectedObjects, getSelectionCount, isSelected, removeSelectionListener, selectedObjects
-
Constructor Details
-
TLcdGXYLayerTreeNode
Deprecated.It is recommended to either useTLcdGXYLayerTreeNode(ILcdModel)
in a layer factory, orTLcdGXYLayerTreeNode(String)
orTLcdGXYLayerTreeNode(String, ILcdIcon)
when creating a node only used for grouping purposes in the layer controlConstructs a new instance ofILcdLayerTreeNode
. -
TLcdGXYLayerTreeNode
Constructs a new layer tree node for the specified model. The
layer label
will be the display name of the model descriptor, if available.The typical use-case for this method is an
ILcdGXYLayerFactory
which is creating a layer structure which matches the structure of an incomingILcdModelTreeNode
.@Override public ILcdGXYLayer createLayer(ILcdModel aModel){ if (aModel instanceof ILcdModelTreeNode){ ILcdModelTreeNode modelNode = (ILcdModelTreeNode)aModel; TLcdGXYLayerTreeNode result = new TLcdGXYLayerTreeNode(aModel); for(int i = 0; i < modelNode.modelCount(); i++){ result.addLayer(createLayer(modelNode.getModel(i))); } return result; } else { TLcdGXYLayer layer = new TLcdGXYLayer(aModel); //setup painters, ... return layer; } }
Note that the above snippet assumes that the
ILcdModelTreeNode
itself does not contain any data (the most common scenario). In case theILcdModelTreeNode
contains data which should be visualized, you need to configure the layer tree node just as you do for a regular layer: for example setting a painter provider.- Parameters:
aModel
- The model- Since:
- 2016.1
-
TLcdGXYLayerTreeNode
Constructs a new instance of
ILcdLayerTreeNode
with labelaLabel
. The node will be initialized with a default, empty model.The main use-case for this constructor is the same as for the
TLcdGXYLayerTreeNode(String, ILcdIcon)
constructor. Consult the documentation of that constructor for more information.- Parameters:
aLabel
- A short textual representation of this node
-
TLcdGXYLayerTreeNode
Constructs a new instance of
ILcdLayerTreeNode
with labelaLabel
and iconaIcon
. The node will be initialized with a default, empty model.The typical use-case for this method is if you want to add a node to the view for grouping purposes. For example, if you have have several raster background layers which you want to group under a node in the view, you can use this constructor to create such a grouping node.
ILcdGXYLayer[] rasterBackgroundLayers = ...; //create a node to group those background layers ILcdIcon icon = TLcdIconFactory.create(TLcdIconFactory.RASTER_LAYER_ICON); TLcdGXYLayerTreeNode node = new TLcdGXYLayerTreeNode("Background Data", icon); for(ILcdGXYLayer backgroundLayer : rasterBackgroundLayers){ node.addLayer(backgroundLayer); } view.addGXYLayer(node);
- Parameters:
aLabel
- A short textual representation of this nodeaIcon
- A small visual representation of this node
-
-
Method Details
-
addLayer
Description copied from interface:ILcdLayerTreeNode
Adds a new node to the tree as a child of this node. This newly added node will normally be the last child node, but that can be implementation specific. Implementations could for example decide to use the initial layer index provider to determine the best index to add the layer. Notice that in order to avoid loops in the tree
aNewChildNode
must not already be an element of the tree. This method should also generate aTLcdLayeredEvent
to warn its listeners that a node has been added.- Specified by:
addLayer
in interfaceILcdLayerTreeNode
- Parameters:
aNewChildNode
- the node which must be added as a child- Returns:
true
when the layer was successfully added to this node,false
if the node already contained layeraNewChildNode
- Throws:
IllegalArgumentException
- when the node is already an element of the tree
-
addLayer
public boolean addLayer(ILcdLayer aNewChildNode, int aIndex) throws IndexOutOfBoundsException, IllegalArgumentException Description copied from interface:ILcdLayerTreeNode
Adds a new node to the tree as a child of this node. The child will be inserted at index
aIndex
in the child list of this node. Notice that in order to avoid loops in the treeaNewChildNode
must not already be an element of the tree. This method should also generate aTLcdLayeredEvent
to warn its listeners that a node has been added.- Specified by:
addLayer
in interfaceILcdLayerTreeNode
- Parameters:
aNewChildNode
- the new childaIndex
- the index in the child list of this node for the new child- Returns:
true
when the layer was successfully added to this node,false
if the node already contained layeraNewChildNode
- Throws:
IndexOutOfBoundsException
- whenindex >
ILcdLayerTreeNode.layerCount()
IllegalArgumentException
- when the node is already an element of the tree
-
removeLayer
Description copied from interface:ILcdLayered
Removes aLayer from thisILcdLayered
.- Specified by:
removeLayer
in interfaceILcdLayered
- Parameters:
aLayer
- the layer to remove.
-
removeLayer
public void removeLayer(int aIndex) Description copied from interface:ILcdLayerTreeNode
Removes the node at index
aIndex
from this node and sends the appropriateTLcdLayeredEvent
.- Specified by:
removeLayer
in interfaceILcdLayerTreeNode
- Parameters:
aIndex
- the index of the child node which has to be removed
-
getLayer
Description copied from interface:ILcdLayered
Returns theILcdLayer
in thisILcdLayered
with indexaIndex
.- Specified by:
getLayer
in interfaceILcdLayered
- Parameters:
aIndex
- the position of the layer to retrieve in theILcdLayered
.- Returns:
- the
ILcdLayer
in thisILcdLayered
with indexaIndex
. - Throws:
IndexOutOfBoundsException
-
getLayers
Description copied from interface:ILcdLayered
Returns aList
of the layers.- Specified by:
getLayers
in interfaceILcdLayered
- Returns:
- an unmodifiable
List
of the layers in thisILcdLayered
-
layerCount
public int layerCount()Description copied from interface:ILcdLayerTreeNode
Returns the number ofILcdLayer
objects in thisILcdLayered
.This number does not include this layer node. It is the number of child layers of this node that is returned.
- Specified by:
layerCount
in interfaceILcdLayered
- Specified by:
layerCount
in interfaceILcdLayerTreeNode
- Returns:
- the number of
ILcdLayer
objects in thisILcdLayered
.
-
layers
Description copied from interface:ILcdLayerTreeNode
Returns anEnumeration
of allILcdLayer
objects currently in thisILcdLayered
, starting from the bottom layer to the top layer.This enumeration does not include this layer node, but only the child layers.
- Specified by:
layers
in interfaceILcdLayered
- Specified by:
layers
in interfaceILcdLayerTreeNode
- Returns:
- an
Enumeration
of allILcdLayer
objects currently in thisILcdLayered
, starting from the bottom layer to the top layer.
-
moveLayerAt
Description copied from interface:ILcdLayered
Moves the given layer (which is already inILcdLayered
) to the existing index aIndex. When a layer is moved down, all layers in between the previous and future position of the given layer (including the layer at index aIndex) are moved one position up. When a layer is moved up, all layers in between the previous and future position of the given layer (including the layer at index aIndex) are moved one position down.More formally, let previousIndex be the index of
aLayer
before the move. If previousIndex < aIndex, then the index of allILcdLayer
objects in from previousIndex + 1 to aIndex is decremented with 1. If previousIndex > aIndex, then the index of allILcdLayer
objects in from aIndex to previousIndex -1 is incremented with 1.- Specified by:
moveLayerAt
in interfaceILcdLayered
- Parameters:
aIndex
- the index of the position where to move the layer.aLayer
- the layer to move.
-
indexOf
Description copied from interface:ILcdLayered
Returns the index if the given layer is in the list.- Specified by:
indexOf
in interfaceILcdLayered
- Parameters:
aLayer
- the layer whose index to return- Returns:
- the index of
aLayer
-
addLayeredListener
Description copied from interface:ILcdLayerTreeNode
Registers the given
ILcdLayeredListener
to be notified when layers are added, removed or moved.In case you need to register a listener which keeps a reference to an object with a shorter life-time than this layered, you can use a
ALcdWeakLayeredListener
instance as layered listener.This layer will only be informed when child layers are added, removed or moved in this layer node. To receive the events of the whole hierarchical structure, the listener must be added as a hierarchical listener (see
ILcdLayerTreeNode.addHierarchyLayeredListener(ILcdLayeredListener)
).- Specified by:
addLayeredListener
in interfaceILcdLayered
- Specified by:
addLayeredListener
in interfaceILcdLayerTreeNode
- Parameters:
aListener
- the listener that from now on will be notified of all changes to theILcdLayered
- See Also:
-
removeLayeredListener
Description copied from interface:ILcdLayerTreeNode
Unregisters the givenILcdLayeredListener
from receiving layered events for theILcdLayered
.It is not possible to remove a hierarchy listener with this method. Use
ILcdLayerTreeNode.removeHierarchyLayeredListener(ILcdLayeredListener)
for this purpose.- Specified by:
removeLayeredListener
in interfaceILcdLayered
- Specified by:
removeLayeredListener
in interfaceILcdLayerTreeNode
- Parameters:
aListener
- the listener that will no longer be notified of changes to theILcdLayered
- See Also:
-
addHierarchyLayeredListener
Description copied from interface:ILcdLayerTreeNode
Registers the given
ILcdLayeredListener
to receiveTLcdLayeredEvent
s from all theILcdLayerTreeNode
s contained in the tree with this node as root node. If the listener should only receive events for changes occurring in this node, it should be registered as a regular listener (seeILcdLayerTreeNode.addLayeredListener(ILcdLayeredListener)
.The source
ILcdLayered
of the event can be retrieved by callingTLcdLayeredEvent.getLayered()
on the receivedTLcdLayeredEvent
.- Specified by:
addHierarchyLayeredListener
in interfaceILcdLayerTreeNode
- Parameters:
aListener
- the listener
-
removeHierarchyLayeredListener
Description copied from interface:ILcdLayerTreeNode
Unregisters the given
ILcdLayeredListener
from receivingTLcdLayeredEvent
s for the tree with this node as root node.- Specified by:
removeHierarchyLayeredListener
in interfaceILcdLayerTreeNode
- Parameters:
aListener
- the listener
-
addHierarchyPropertyChangeListener
Description copied from interface:ILcdLayerTreeNode
Registers the given
PropertyChangeListener
to receivePropertyChangeEvent
s from all theILcdLayer
s contained in the tree with this node as root node. If the listener should only receive events for changes occurring in this layer, it should be registered as a regular listener (seeILcdLayerTreeNode.addPropertyChangeListener(java.beans.PropertyChangeListener)
).The source layer of the event can be retrieved by calling
EventObject.getSource()
on the receivedPropertyChangeEvent
.- Specified by:
addHierarchyPropertyChangeListener
in interfaceILcdLayerTreeNode
- Parameters:
aListener
- the listener
-
removeHierarchyPropertyChangeListener
Description copied from interface:ILcdLayerTreeNode
Unregisters the given
PropertyChangeListener
from receivingPropertyChangeEvent
s for the tree with this node as root node.- Specified by:
removeHierarchyPropertyChangeListener
in interfaceILcdLayerTreeNode
- Parameters:
aListener
- the listener
-
removeAllLayers
public void removeAllLayers()Description copied from interface:ILcdLayerTreeNode
Removes all theILcdLayer
objects from thisILcdLayered
.This method will generate a
TLcdLayeredEvent
indicating a layer was removed for every child layer.- Specified by:
removeAllLayers
in interfaceILcdLayered
- Specified by:
removeAllLayers
in interfaceILcdLayerTreeNode
-
layersBackwards
Description copied from interface:ILcdLayerTreeNode
Returns anEnumeration
of allILcdLayer
objects currently in thisILcdLayered
, starting from the top layer to the bottom layer.This enumeration does not include this layer node, but only the child layers.
- Specified by:
layersBackwards
in interfaceILcdLayered
- Specified by:
layersBackwards
in interfaceILcdLayerTreeNode
- Returns:
- an
Enumeration
of allILcdLayer
objects currently in thisILcdLayered
, starting from the top layer to the bottom layer.
-
layerOf
Description copied from interface:ILcdLayered
Returns theILcdLayer
of thisILcdLayered
that contains the givenILcdModel
.- Specified by:
layerOf
in interfaceILcdLayered
- Parameters:
aModel
- the model to check for in thisILcdLayered
.- Returns:
- the
ILcdLayer
of thisILcdLayered
that contains the givenILcdModel
. - Throws:
NoSuchElementException
- if there is no layer containing the given model
-
containsLayer
Description copied from interface:ILcdLayerTreeNode
Returns whether thisILcdLayered
contains the given layer. More formally, returnstrue
if and only if theILcdLayered
contains at least one layerl
such that (aLayer==null ? l==null : aLayer.equals(l)).Calling this method with this node as parameter will return
false
, since this method only checks the child layers and not the layer node itself.- Specified by:
containsLayer
in interfaceILcdLayered
- Specified by:
containsLayer
in interfaceILcdLayerTreeNode
- Parameters:
aLayer
- the layer to check whether it is in this layered.- Returns:
- true if
aLayer
is in thisILcdLayered
, false otherwise.
-
setPaintOnTopOfChildrenHint
public void setPaintOnTopOfChildrenHint(boolean aPaintOnTopOfChildrenHint) Description copied from interface:ILcdLayerTreeNode
Sets whether a node should be painted on top of its children when the node is added to a view, or beneath its child layers. Notice that this is only a hint, hence the paint order of the node and its children is not guaranteed.
This property must be set before the node is added to the view. Otherwise it will have no effect. Changing it afterwards will have no effect, unless the node is removed and re-added to the view.
The default behavior is to paint nodes underneath the child layers.
- Specified by:
setPaintOnTopOfChildrenHint
in interfaceILcdLayerTreeNode
- Parameters:
aPaintOnTopOfChildrenHint
-true
when a node should be painted on top of its children,false
when the node should be painted underneath its child layers- See Also:
-
isPaintOnTopOfChildrenHint
public boolean isPaintOnTopOfChildrenHint()Description copied from interface:ILcdLayerTreeNode
Returns whether a node should be painted on top of its children when the node is added to a view, or beneath its child layers.
- Specified by:
isPaintOnTopOfChildrenHint
in interfaceILcdLayerTreeNode
- Returns:
true
when a node should be painted on top of its children,false
when the node should be painted underneath its child layers- See Also:
-
addHierarchySelectionListener
Description copied from interface:ILcdLayerTreeNode
Registers the given
ILcdSelectionListener
to receiveTLcdSelectionChangedEvent
s from all theILcdLayer
s contained in the tree with this node as root node. If the listener should only receive events for selection changes occurring in this layer, it should be registered as a regular listener (seeILcdSelection.addSelectionListener(com.luciad.util.ILcdSelectionListener)
).The source layer of the event can be retrieved by calling
TLcdSelectionChangedEvent.getSelection()
on the receivedTLcdSelectionChangedEvent
.- Specified by:
addHierarchySelectionListener
in interfaceILcdLayerTreeNode
- Parameters:
aListener
- the listener
-
removeHierarchySelectionListener
Description copied from interface:ILcdLayerTreeNode
Unregisters the given
ILcdSelectionListener
from receivingTLcdSelectionChangedEvent
s for the tree with this node as root node.- Specified by:
removeHierarchySelectionListener
in interfaceILcdLayerTreeNode
- Parameters:
aListener
- the listener
-
getInitialLayerIndexProvider
Description copied from interface:ILcdLayerTreeNode
Returns the initial layer index provider, which can be used to determine the best index when a layer is added without specifying an index.
It is however up to the implementation to decide whether it uses the
ILcdInitialLayerIndexProvider
.- Specified by:
getInitialLayerIndexProvider
in interfaceILcdLayerTreeNode
- Returns:
- the initial layer index provider. Can be
null
- See Also:
-
setInitialLayerIndexProvider
Description copied from interface:ILcdLayerTreeNode
Sets an initial layer index provider, which can be used to determine the best index when a layer is added without specifying an index.
- Specified by:
setInitialLayerIndexProvider
in interfaceILcdLayerTreeNode
- Parameters:
aInitialLayerIndexProvider
- The new initial layer index provider. May benull
- See Also:
-
isLabeledSupported
public boolean isLabeledSupported()Override some of the methods of TLcdGXYLayer to first check the model of this layer. If the model is the dummy model, indicating the node contains no useful layer data, these methods will return a more useful value than the ones of the super class. In all other cases these methods just call the methods of the superclass- Specified by:
isLabeledSupported
in interfaceILcdGXYLayer
- Overrides:
isLabeledSupported
in classTLcdGXYLayer
- Returns:
true
ifgetGXYLabelPainterProvider()
returns a nonnull
value,false
otherwise.- See Also:
-
isLabelsEditableSupported
public boolean isLabelsEditableSupported()Description copied from class:TLcdGXYLayer
This property determines whether the layer is equipped to let the user edit the labels. More specifically this property determines whether the layer can provide anILcdGXYLabelEditor
for its objects. This layer supports editing labels when the ILcdGXYLabelEditorProvider is set to a non null value.- Specified by:
isLabelsEditableSupported
in interfaceILcdGXYEditableLabelsLayer
- Overrides:
isLabelsEditableSupported
in classTLcdGXYLayer
- Returns:
true
ifTLcdGXYLayer.getGXYLabelEditorProvider()
returns a nonnull
value,false
otherwise.- See Also:
-
isEditableSupported
public boolean isEditableSupported()Description copied from class:TLcdGXYLayer
Returnstrue
if the layer supports editing its objects. This implementation always returns true. Override this method if editing behavior is restricted. This layer supports editing when the GXYEditorProvider to this layer is set to a non null value.- Specified by:
isEditableSupported
in interfaceILcdLayer
- Overrides:
isEditableSupported
in classTLcdGXYLayer
- Returns:
true
ifgetGXYEditorProvider()
returns a nonnull
value,false
otherwise.- See Also:
-
isSelectableSupported
public boolean isSelectableSupported()Description copied from class:TLcdLayer
Returnstrue
if this layer supports selecting objects,false
otherwise.- Specified by:
isSelectableSupported
in interfaceILcdLayer
- Overrides:
isSelectableSupported
in classTLcdLayer
- Returns:
true
if thisILcdLayer
supports the selectable property,false
otherwise. I.e. if thisILcdLayer
can be put or not in a selectable mode.- See Also:
-
TLcdGXYLayerTreeNode(ILcdModel)
in a layer factory, orTLcdGXYLayerTreeNode(String)
orTLcdGXYLayerTreeNode(String, ILcdIcon)
when creating a node only used for grouping purposes in the layer control