|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
----------------------------------------------------------------------
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 LayerFeatureConstraints for the Layer. |
void |
setName(java.lang.String name)
sets the |
void |
setStyles(Style[] styles)
Adds styles to the Layer. |
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name of the layerpublic LayerFeatureConstraints getLayerFeatureConstraints()
public void setLayerFeatureConstraints(LayerFeatureConstraints layerFeatureConstraints)
layerFeatureConstraints
- the LayerFeatureConstraintspublic Style[] getStyles()
public void setStyles(Style[] styles)
styles
- the styles for the layer as Arraypublic void addStyle(Style style)
style
- a style to addpublic void removeStyle(Style style)
style
- a style to remove
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |