com.supermap.armap.armapping
Class ARElementLayer
- java.lang.Object
-
- ARLayer
-
- com.supermap.armap.armapping.ARElementLayer
-
public class ARElementLayer extends ARLayer
-
-
Constructor Summary
Constructors Constructor and Description ARElementLayer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Dataset
getDataset()
Get the dataset where the layer is locatedARSelection
getSelection()
Gets the collection of selected objectsboolean
isEditable()
Get layer editable properties, default is true editableboolean
isSelectable()
Get the optional attribute of the layer, the default is true and optionalvoid
setEditable(boolean editable)
Set whether the layer is editable or not, the default is truevoid
setSelectable(boolean selectable)
Set whether the layer is selectable, the default is true
-
-
-
Method Detail
-
getDataset
public Dataset getDataset()
Get the dataset where the layer is located- Returns:
- Dataset object
-
setEditable
public void setEditable(boolean editable)
Set whether the layer is editable or not, the default is true- Parameters:
editable
- layer is editable, true means editable, false means can't
-
setSelectable
public void setSelectable(boolean selectable)
Set whether the layer is selectable, the default is true- Parameters:
selectable
- layer can be selected, true means you can select it, false means you can't select it
-
isEditable
public boolean isEditable()
Get layer editable properties, default is true editable- Returns:
- true indicates editable, false indicates non-editable
-
isSelectable
public boolean isSelectable()
Get the optional attribute of the layer, the default is true and optional- Returns:
- true indicates that it is optional, and false indicates that it cannot be selected
-
getSelection
public ARSelection getSelection()
Gets the collection of selected objects- Returns:
- Selected object collection,
ARSelection
-
-