|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.portal.context.StyleList
public class StyleList
encapsulates a StyleList as defined by the OGC Web Map Context specification
| Constructor Summary | |
|---|---|
StyleList(Style[] styles)
Creates a new StyleList object. |
|
| Method Summary | |
|---|---|
void |
addStyle(Style style)
|
void |
clear()
|
Style |
getCurrentStyle()
returns the current style |
Style |
getStyle(java.lang.String name)
|
Style[] |
getStyles()
returns an array of all styles known by a layer |
Style |
removeStyle(java.lang.String name)
|
void |
setStyles(Style[] styles)
sets alla styles known by a layer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StyleList(Style[] styles)
throws ContextException
styles -
ContextException - if the given styles are null or empty.| Method Detail |
|---|
public Style[] getStyles()
public void setStyles(Style[] styles)
throws ContextException
styles -
ContextExceptionpublic Style getCurrentStyle()
public Style getStyle(java.lang.String name)
name -
public void addStyle(Style style)
style - public Style removeStyle(java.lang.String name)
name -
public void clear()
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org