Package com.luciad.wms.client.model
Class ALcdWMSNamedLayerStyle
java.lang.Object
com.luciad.wms.client.model.ALcdWMSNamedLayerStyle
A style object for a named layer.
It is uniquely identified by a name and has a human readable title and an abstract.
This class corresponds to the WMS Style concept from [WMS 1.1.1], pages 24-31.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLegendURL(int aIndex) Returns theTLcdOGCWMSURLrepresenting a LegendURL at the given index.intReturns the number ofTLcdOGCWMSURLobjects representing LegendURLs.abstract StringReturns an abstract of this named layer style.abstract StringReturns the name of this named layer style.Returns theTLcdOGCWMSURLrepresenting a StyleSheetURL.abstract StringReturns the title of this named layer style.Returns theTLcdOGCWMSURLrepresenting a StyleURL.
-
Constructor Details
-
ALcdWMSNamedLayerStyle
public ALcdWMSNamedLayerStyle()
-
-
Method Details
-
getStyleName
Returns the name of this named layer style. The name is a unique identifier for the named layer style.- Returns:
- the name of this named layer style.
-
getStyleTitle
Returns the title of this named layer style. It is a human readable string representation for use in a menu.- Returns:
- the title of this named layer style.
-
getStyleAbstract
Returns an abstract of this named layer style. It provides a narrative description of what this layer style represents. As this is optional null may be returned.- Returns:
- an abstract of this named layer style.
-
getLegendURLCount
public int getLegendURLCount()Returns the number ofTLcdOGCWMSURLobjects representing LegendURLs. By default, 0 is returned.- Returns:
- the number of
TLcdOGCWMSURLobjects representing LegendURLs.
-
getLegendURL
Returns theTLcdOGCWMSURLrepresenting a LegendURL at the given index. By default, no LegendURLs are available and anIndexOutOfBoundsExceptionwill be thrown.- Parameters:
aIndex- the index of theTLcdOGCWMSURLrepresenting a LegendURL.- Returns:
- the
TLcdOGCWMSURLrepresenting a LegendURL at the given index. - Throws:
IndexOutOfBoundsException- if the index value is invalid.
-
getStyleSheetURL
Returns theTLcdOGCWMSURLrepresenting a StyleSheetURL. By default, no StyleSheetURL is available andnullis returned.- Returns:
- the
TLcdOGCWMSURLrepresenting a StyleSheetURL.
-
getStyleURL
Returns theTLcdOGCWMSURLrepresenting a StyleURL. By default, no StyleURL is available andnullis returned.- Returns:
- the
TLcdOGCWMSURLrepresenting a StyleURL.
-