| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| 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(String name)
 | 
 Style[] | 
getStyles()
returns an array of all styles known by a layer  | 
 Style | 
removeStyle(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(String name)
name - 
public void addStyle(Style style)
style - public Style removeStyle(String name)
name - 
public void clear()
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| 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