public interface ILayer
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Returns a deep clone of the current LayerInfo instance.
|
java.lang.String |
getDescription()
Returns the description of the layer.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the description of this layer for a specific locale.
|
int |
getDynamicRefresh()
Gets the time at which a layer is automatically refreshed
|
K2DElementFactory |
getElementFactory() |
int |
getElementType() |
Rectangle |
getExtent() |
int |
getId()
Returns the id of the layer.
|
JMapClientInfoReportConfig |
getInfoReportConfig() |
long |
getLastUpdateTime() |
long |
getLayerProperties()
Returns a bitwise value that contains all layer properties.
|
double |
getMaximumVisibleScale()
Returns the maximum visible scale of the layer.
|
java.lang.String |
getMetadataUrl() |
double |
getMinimumVisibleScale()
Returns the minimum visible scale of the layer.
|
java.lang.String |
getName()
Returns the name of the layer.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the name of this layer for a specific locale.
|
long |
getReadOnlyProperties()
Returns the a mask which contains all read-only properties for this layer.
|
StyleManager |
getStyleManager() |
boolean |
isDynamic() |
boolean |
isIndex()
Returns whether or not this layer should be drawn in the client overview.
|
boolean |
isListed()
Returns the current listed state of the layer.
|
boolean |
isLocal()
Returns the current local state of the layer.
|
boolean |
isSelectable()
Returns the current selectable state of the layer.
|
boolean |
isVisible()
Returns the current visibility state of the layer
|
void |
setDescription(java.lang.String description)
Sets the description of the layer.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale)
Sets the description of this layer for the specified Locale.
|
void |
setDynamicRefresh(int seconds)
Sets the time at which a layer is automatically refreshed.
|
void |
setElementFactory(K2DElementFactory elementFactory) |
void |
setElementType(int elementType) |
void |
setId(int id)
Sets the id of the layer.
|
void |
setIndex(boolean flag)
Sets whether or not this layer should be drawn in the client overview.
|
void |
setInfoReportConfig(JMapClientInfoReportConfig infoReportConfig) |
void |
setLastUpdateTime(long lastUpdateTime) |
void |
setLayerProperties(long value)
Sets all layer properties.
|
void |
setListed(boolean listed)
Sets the listed state of the layer.
|
void |
setLocal(boolean local)
Sets the local state of the layer.
|
void |
setMaximumVisibleScale(double scale)
Sets the maximum visible scale to set.
|
void |
setMetadataUrl(java.lang.String metadataUrl) |
void |
setMinimumVisibleScale(double scale)
Sets the minimum visible scale to set.
|
void |
setName(java.lang.String name)
Sets the name of the layer.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the name of this layer for the specified Locale.
|
void |
setProperty(long property,
boolean enabled)
Sets the state for the specified property.
|
void |
setReadOnlyProperties(long value)
Sets all read-only properties for the layer.
|
void |
setReadOnlyProperty(long property,
boolean isReadOnly)
Sets the read-only state for the specified property.
|
void |
setSelectable(boolean flag)
Sets the selectable state of the layer.
|
void |
setStyleManager(StyleManager styleManager) |
void |
setVisible(boolean flag)
Sets the visibility state of the layer.
|
static final long serialVersionUID
java.lang.String getDescription()
java.lang.String getDescription(java.util.Locale locale)
locale - void setDescription(java.lang.String description)
description - the description of the layer.void setDescription(java.lang.String description,
java.util.Locale locale)
description - the new given description.locale - the locale for this descriptionjava.lang.String getName()
java.lang.String getName(java.util.Locale locale)
locale - void setName(java.lang.String name)
name - the name of the layer.void setName(java.lang.String name,
java.util.Locale locale)
name - the new given name.locale - the locale for this nameint getElementType()
void setElementType(int elementType)
elementType - The elementType to set.int getId()
void setId(int id)
id - the id of the layer.boolean isIndex()
OverViewvoid setIndex(boolean flag)
flag - the new state of the property.OverViewlong getLastUpdateTime()
void setLastUpdateTime(long lastUpdateTime)
lastUpdateTime - The lastUpdateTime to set.double getMaximumVisibleScale()
void setMaximumVisibleScale(double scale)
scale - the maximum visible scale to set.double getMinimumVisibleScale()
void setMinimumVisibleScale(double scale)
scale - the minimum visible scale to set.void setSelectable(boolean flag)
flag - if true, the layer will be selectable otherwise not selectableboolean isSelectable()
StyleManager getStyleManager()
void setStyleManager(StyleManager styleManager)
styleManager - the styleManager to set.void setListed(boolean listed)
listed - if true, the layer will be a listed layer otherwise a normal layerboolean isListed()
void setLocal(boolean local)
local - if true, the layer will be a local layer otherwise a normal layerboolean isLocal()
void setVisible(boolean flag)
flag - if true, the layer will be visible otherwise invisibleboolean isVisible()
java.lang.Object clone()
Rectangle getExtent()
void setReadOnlyProperty(long property,
boolean isReadOnly)
property - the property to set.isReadOnly - the read-only state.void setProperty(long property,
boolean enabled)
property - the property to set.enabled - the property state.long getReadOnlyProperties()
void setReadOnlyProperties(long value)
value - a bitwise value that contains all read-only layer properties.long getLayerProperties()
void setLayerProperties(long value)
value - a bitwise value that contains all layer properties.JMapClientInfoReportConfig getInfoReportConfig()
void setInfoReportConfig(JMapClientInfoReportConfig infoReportConfig)
infoReportConfig - The infoReportConfig to set.K2DElementFactory getElementFactory()
void setElementFactory(K2DElementFactory elementFactory)
java.lang.String getMetadataUrl()
void setMetadataUrl(java.lang.String metadataUrl)
boolean isDynamic()
int getDynamicRefresh()
void setDynamicRefresh(int seconds)
seconds -