@Api(allMethods=true) public class ClientVectorLayerInfo extends ClientLayerInfo
| Constructor and Description |
|---|
ClientVectorLayerInfo() |
| Modifier and Type | Method and Description |
|---|---|
FeatureInfo |
getFeatureInfo()
Returns the feature info for this layer.
|
NamedStyleInfo |
getNamedStyleInfo()
Returns the style used by this layer.
|
List<SnappingRuleInfo> |
getSnappingRules()
Returns the snapping rules for this layer.
|
boolean |
isCreatable()
Is the logged in user allowed to create new features?
|
boolean |
isDeletable()
Is the logged in user allowed to delete (some) features?
|
boolean |
isUpdatable()
Is the logged in user allowed to edit some features?
|
void |
setCreatable(boolean creatable)
Set whether the logged in user is allowed to create new features.
|
void |
setDeletable(boolean deletable)
Set whether the logged in user is allowed to delete (some) features.
|
void |
setFeatureInfo(FeatureInfo featureInfo)
Sets the feature info for this layer.
|
void |
setNamedStyleInfo(NamedStyleInfo namedStyleInfo)
Sets the style used by this layer.
|
void |
setSnappingRules(List<SnappingRuleInfo> snappingRules)
Sets the snapping rules for this layer.
|
void |
setUpdatable(boolean editable)
Set whether the logged in user is allowed to edit/update some features.
|
getCrs, getId, getLabel, getLayerInfo, getLayerType, getMaxExtent, getMaximumScale, getMinimumScale, getServerLayerId, getUserData, getViewScaleMax, getViewScaleMin, getWidgetInfo, getWidgetInfo, getZoomToPointScale, isVisible, setId, setLabel, setLayerInfo, setMaxExtent, setMaximumScale, setMinimumScale, setServerLayerId, setUserData, setViewScaleMax, setViewScaleMin, setVisible, setWidgetInfo, setZoomToPointScalepublic NamedStyleInfo getNamedStyleInfo()
public void setNamedStyleInfo(NamedStyleInfo namedStyleInfo)
namedStyleInfo - the style infopublic FeatureInfo getFeatureInfo()
public void setFeatureInfo(FeatureInfo featureInfo)
featureInfo - feature infopublic List<SnappingRuleInfo> getSnappingRules()
public void setSnappingRules(List<SnappingRuleInfo> snappingRules)
snappingRules - the snapping rules for this layerpublic boolean isCreatable()
public void setCreatable(boolean creatable)
creatable - true when creating new features is allowedpublic boolean isUpdatable()
public void setUpdatable(boolean editable)
editable - true when edit/update is allowed for some featurespublic boolean isDeletable()
public void setDeletable(boolean deletable)
deletable - true when deleting is allowedCopyright © 2015 Geosparc. All Rights Reserved.