Package com.luciad.wms.server.model
Class TLcdWMSLayerStyle
java.lang.Object
com.luciad.wms.server.model.ALcdWMSLayerStyle
com.luciad.wms.server.model.TLcdWMSLayerStyle
Default implementation of
ALcdWMSLayerStyle.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLegendURL(TLcdWMSURL aLegendURL) Adds a newTLcdWMSURLrepresenting a LegendURL to this layer style.Returns an abstract for this layer style.getLegendURL(int aIndex) Returns theTLcdWMSURLrepresenting a LegendURL at the given index.intReturns the number ofTLcdWMSURLobjects representing LegendURLs.getName()Returns the name of the layer style (required to be not null).Returns theTLcdWMSURLrepresenting a StyleSheetURL.Returns theTLcdWMSURLrepresenting a StyleURL.getTitle()Returns the title of the layer style.voidsetAbstract(String aAbstract) Sets the abstract of the layer style.voidSets the name of the layer style.voidsetStyleSheetURL(TLcdWMSURL aStyleSheetURL) Sets theTLcdWMSURLrepresenting a StyleSheetURL for this layer style.voidsetStyleURL(TLcdWMSURL aStyleURL) Sets theTLcdWMSURLrepresenting a StyleURL for this layer style.voidSets the title of the layer style.toString()
-
Constructor Details
-
TLcdWMSLayerStyle
public TLcdWMSLayerStyle()
-
-
Method Details
-
getName
Description copied from class:ALcdWMSLayerStyleReturns the name of the layer style (required to be not null).- Specified by:
getNamein classALcdWMSLayerStyle- Returns:
- the name of the layer style (required to be not null).
-
getTitle
Description copied from class:ALcdWMSLayerStyleReturns the title of the layer style.- Specified by:
getTitlein classALcdWMSLayerStyle- Returns:
- the title of the layer style.
-
getAbstract
Description copied from class:ALcdWMSLayerStyleReturns an abstract for this layer style.- Specified by:
getAbstractin classALcdWMSLayerStyle- Returns:
- an abstract for this layer style. Value may be null if no abstract is available.
-
setName
Sets the name of the layer style.- Parameters:
aName- the name of the layer style.- See Also:
-
setTitle
Sets the title of the layer style.- Parameters:
aTitle- the title of the layer style.- See Also:
-
setAbstract
Sets the abstract of the layer style.- Parameters:
aAbstract- the title of the layer style.- See Also:
-
getLegendURLCount
public int getLegendURLCount()Description copied from class:ALcdWMSLayerStyleReturns the number ofTLcdWMSURLobjects representing LegendURLs. By default, 0 is returned.- Overrides:
getLegendURLCountin classALcdWMSLayerStyle- Returns:
- the number of
TLcdWMSURLobjects representing LegendURLs.
-
getLegendURL
Description copied from class:ALcdWMSLayerStyleReturns theTLcdWMSURLrepresenting a LegendURL at the given index. By default, no LegendURLs are available and anIndexOutOfBoundsExceptionwill be thrown.- Overrides:
getLegendURLin classALcdWMSLayerStyle- Parameters:
aIndex- the index of theTLcdWMSURLrepresenting a LegendURL.- Returns:
- the
TLcdWMSURLrepresenting a LegendURL at the given index. - Throws:
IndexOutOfBoundsException- if the index value is invalid.
-
addLegendURL
Adds a newTLcdWMSURLrepresenting a LegendURL to this layer style.- Parameters:
aLegendURL- theTLcdWMSURLrepresenting a LegendURL to add.
-
getStyleSheetURL
Description copied from class:ALcdWMSLayerStyleReturns theTLcdWMSURLrepresenting a StyleSheetURL. By default, no StyleSheetURL is available andnullis returned.- Overrides:
getStyleSheetURLin classALcdWMSLayerStyle- Returns:
- the
TLcdWMSURLrepresenting a StyleSheetURL.
-
setStyleSheetURL
Sets theTLcdWMSURLrepresenting a StyleSheetURL for this layer style.- Parameters:
aStyleSheetURL- theTLcdWMSURLrepresenting a StyleSheetURL for this layer style.
-
getStyleURL
Description copied from class:ALcdWMSLayerStyleReturns theTLcdWMSURLrepresenting a StyleURL. By default, no StyleURL is available andnullis returned.- Overrides:
getStyleURLin classALcdWMSLayerStyle- Returns:
- the
TLcdWMSURLrepresenting a StyleURL.
-
setStyleURL
Sets theTLcdWMSURLrepresenting a StyleURL for this layer style.- Parameters:
aStyleURL- theTLcdWMSURLrepresenting a StyleURL for this layer style.
-
toString
-