|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.graphics.sld.Layer_Impl
----------------------------------------------------------------------
Field Summary | |
protected LayerFeatureConstraints |
layerFeatureConstraints
|
protected java.lang.String |
name
|
protected java.util.ArrayList |
styles
|
Constructor Summary | |
(package private) |
Layer_Impl(java.lang.String name,
LayerFeatureConstraints layerFeatureConstraints,
Style[] styles)
constructor initializing the class with the |
Method Summary | |
void |
addStyle(Style style)
Adds a style to the Layer. |
LayerFeatureConstraints |
getLayerFeatureConstraints()
The LayerFeatureConstraints element is optional in a NamedLayer and allows the user to specify constraints on what features of what feature types are to be selected by the named-layer reference. |
java.lang.String |
getName()
The Name element identifies the well-known name of the layer being referenced, and is required. |
Style[] |
getStyles()
Returns the styles associated to the Layer. |
void |
removeStyle(Style style)
Removes a style from the Layer. |
void |
setLayerFeatureConstraints(LayerFeatureConstraints layerFeatureConstraints)
sets the |
void |
setName(java.lang.String name)
sets the |
void |
setStyles(Style[] styles)
Adds styles to the Layer. |
java.lang.String |
toString()
returns a STring-Representation of the layer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected LayerFeatureConstraints layerFeatureConstraints
protected java.util.ArrayList styles
protected java.lang.String name
Constructor Detail |
Layer_Impl(java.lang.String name, LayerFeatureConstraints layerFeatureConstraints, Style[] styles)
Method Detail |
public java.lang.String getName()
getName
in interface Layer
public void setName(java.lang.String name)
setName
in interface Layer
name
- the name of the layerpublic LayerFeatureConstraints getLayerFeatureConstraints()
getLayerFeatureConstraints
in interface Layer
public void setLayerFeatureConstraints(LayerFeatureConstraints layerFeatureConstraints)
setLayerFeatureConstraints
in interface Layer
layerFeatureConstraints
- the LayerFeatureConstraintspublic Style[] getStyles()
getStyles
in interface Layer
public void setStyles(Style[] styles)
setStyles
in interface Layer
styles
- the styles for the layer as Arraypublic void addStyle(Style style)
Layer
addStyle
in interface Layer
style
- a style to addgetStyles()
public void removeStyle(Style style)
Layer
removeStyle
in interface Layer
style
- a style to removegetStyles()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |