public class TLcdWMSLayerStyle extends ALcdWMSLayerStyle
ALcdWMSLayerStyle
.Constructor and Description |
---|
TLcdWMSLayerStyle() |
Modifier and Type | Method and Description |
---|---|
void |
addLegendURL(TLcdWMSURL aLegendURL)
Adds a new
TLcdWMSURL representing a LegendURL to this layer style. |
String |
getAbstract()
Returns an abstract for this layer style.
|
TLcdWMSURL |
getLegendURL(int aIndex)
Returns the
TLcdWMSURL representing a LegendURL at the given index. |
int |
getLegendURLCount()
Returns the number of
TLcdWMSURL objects representing LegendURLs. |
String |
getName()
Returns the name of the layer style (required to be not null).
|
TLcdWMSURL |
getStyleSheetURL()
Returns the
TLcdWMSURL representing a StyleSheetURL. |
TLcdWMSURL |
getStyleURL()
Returns the
TLcdWMSURL representing a StyleURL. |
String |
getTitle()
Returns the title of the layer style.
|
void |
setAbstract(String aAbstract)
Sets the abstract of the layer style.
|
void |
setName(String aName)
Sets the name of the layer style.
|
void |
setStyleSheetURL(TLcdWMSURL aStyleSheetURL)
Sets the
TLcdWMSURL representing a StyleSheetURL for this layer style. |
void |
setStyleURL(TLcdWMSURL aStyleURL)
Sets the
TLcdWMSURL representing a StyleURL for this layer style. |
void |
setTitle(String aTitle)
Sets the title of the layer style.
|
String |
toString() |
public String getName()
ALcdWMSLayerStyle
getName
in class ALcdWMSLayerStyle
public String getTitle()
ALcdWMSLayerStyle
getTitle
in class ALcdWMSLayerStyle
public String getAbstract()
ALcdWMSLayerStyle
getAbstract
in class ALcdWMSLayerStyle
public void setName(String aName)
aName
- the name of the layer style.getName()
public void setTitle(String aTitle)
aTitle
- the title of the layer style.getTitle()
public void setAbstract(String aAbstract)
aAbstract
- the title of the layer style.getAbstract()
public int getLegendURLCount()
ALcdWMSLayerStyle
TLcdWMSURL
objects representing LegendURLs.
By default, 0 is returned.getLegendURLCount
in class ALcdWMSLayerStyle
TLcdWMSURL
objects representing LegendURLs.public TLcdWMSURL getLegendURL(int aIndex) throws IndexOutOfBoundsException
ALcdWMSLayerStyle
TLcdWMSURL
representing a LegendURL at the given index.
By default, no LegendURLs are available and an
IndexOutOfBoundsException
will be thrown.getLegendURL
in class ALcdWMSLayerStyle
aIndex
- the index of the TLcdWMSURL
representing a LegendURL.TLcdWMSURL
representing a LegendURL at the given index.IndexOutOfBoundsException
- if the index value is invalid.public void addLegendURL(TLcdWMSURL aLegendURL)
TLcdWMSURL
representing a LegendURL to this layer style.aLegendURL
- the TLcdWMSURL
representing a LegendURL to add.public TLcdWMSURL getStyleSheetURL()
ALcdWMSLayerStyle
TLcdWMSURL
representing a StyleSheetURL.
By default, no StyleSheetURL is available and null
is returned.getStyleSheetURL
in class ALcdWMSLayerStyle
TLcdWMSURL
representing a StyleSheetURL.public void setStyleSheetURL(TLcdWMSURL aStyleSheetURL)
TLcdWMSURL
representing a StyleSheetURL for this layer style.aStyleSheetURL
- the TLcdWMSURL
representing a StyleSheetURL for this layer style.public TLcdWMSURL getStyleURL()
ALcdWMSLayerStyle
TLcdWMSURL
representing a StyleURL.
By default, no StyleURL is available and null
is returned.getStyleURL
in class ALcdWMSLayerStyle
TLcdWMSURL
representing a StyleURL.public void setStyleURL(TLcdWMSURL aStyleURL)
TLcdWMSURL
representing a StyleURL for this layer style.aStyleURL
- the TLcdWMSURL
representing a StyleURL for this layer style.