public class WMSLayerNode extends java.lang.Object implements Persistent
Constructor and Description |
---|
WMSLayerNode() |
Modifier and Type | Method and Description |
---|---|
void |
addDimension(java.lang.String name,
java.lang.String units,
java.lang.String unitSymbol,
java.lang.String dimExpression) |
void |
addKeyword(java.lang.String keyword) |
void |
addStyle(WMSStyle style) |
java.lang.Object |
clone() |
java.lang.String |
getAbstract()
Gets the layer abstract.
|
java.util.List<java.lang.String> |
getAllSrs() |
java.util.List<WMSLayerNode> |
getChildren() |
java.util.List<RemoteTimeDimension> |
getDimensions() |
java.awt.Dimension |
getFixedSize() |
java.util.List<java.lang.String> |
getKeywords() |
java.lang.String |
getLatLonBox() |
java.lang.String |
getName() |
WMSLayerNode |
getParent() |
RemoteWMSStyle |
getSelectedStyle() |
java.util.List<RemoteWMSStyle> |
getStyles() |
java.lang.String |
getTitle() |
boolean |
isQueryable() |
boolean |
isSizeFixed() |
boolean |
isTransparent() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
static void |
registerPersistent() |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setAbstract(java.lang.String _abstract)
Sets the layer abstract.
|
void |
setChildren(java.util.List<WMSLayerNode> children)
Sets the list of sons of this layer.
|
void |
setFixedSize(int fixedWidth,
int fixedHeight)
When a server cannot renderize images but just server them in constant size and
BBox, the layer must have this value set in order to correctly work.
|
void |
setLatLonBox(java.lang.String _latLonBox) |
void |
setName(java.lang.String name) |
void |
setParent(WMSLayerNode parentNode) |
void |
setQueryable(boolean queryable) |
void |
setSelectedStyleByIndex(int index) |
void |
setSelectedStyleByName(java.lang.String styName) |
void |
setSrs(java.util.List<java.lang.String> srs) |
void |
setTitle(java.lang.String title) |
void |
setTransparency(boolean transparency) |
void |
sort() |
java.lang.String |
toString() |
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
PersistenceException
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
PersistenceException
public static void registerPersistent()
public java.lang.String getName()
public java.util.List<WMSLayerNode> getChildren()
public void setName(java.lang.String name)
name
- The name to set.public java.util.List<RemoteWMSStyle> getStyles()
public java.util.List<java.lang.String> getKeywords()
public boolean isQueryable()
public void setQueryable(boolean queryable)
queryable
- The queryable to set.public java.util.List<java.lang.String> getAllSrs()
public void setSrs(java.util.List<java.lang.String> srs)
srs
- The srs to set.public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public boolean isTransparent()
public void setTransparency(boolean transparency)
transparency
- The transparency to set.public void setChildren(java.util.List<WMSLayerNode> children)
children
- public WMSLayerNode getParent()
public void setParent(WMSLayerNode parentNode)
public java.util.List<RemoteTimeDimension> getDimensions()
public java.lang.String getAbstract()
public void setAbstract(java.lang.String _abstract)
abstract
- The abstract to set.public void addDimension(java.lang.String name, java.lang.String units, java.lang.String unitSymbol, java.lang.String dimExpression)
name
- units
- unitSymbol
- dimensionExpression
- public void setLatLonBox(java.lang.String _latLonBox)
public java.lang.String getLatLonBox()
public void setFixedSize(int fixedWidth, int fixedHeight)
fixedWidth
- - the constant value for the image widthfixedHeight
- - the constant value for the image heightpublic java.awt.Dimension getFixedSize()
public boolean isSizeFixed()
public void addStyle(WMSStyle style)
_name
- _title
- _abstract
- public RemoteWMSStyle getSelectedStyle()
public void setSelectedStyleByIndex(int index)
public void setSelectedStyleByName(java.lang.String styName)
public void addKeyword(java.lang.String keyword)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void sort()