public class WMSLayerNode extends Object implements Persistent
Constructor and Description |
---|
WMSLayerNode() |
Modifier and Type | Method and Description |
---|---|
void |
addDimension(String name,
String units,
String unitSymbol,
String dimExpression) |
void |
addKeyword(String keyword) |
void |
addStyle(WMSStyle style) |
Object |
clone() |
String |
getAbstract()
Gets the layer abstract.
|
List<String> |
getAllSrs() |
List<WMSLayerNode> |
getChildren() |
List<RemoteTimeDimension> |
getDimensions() |
Dimension |
getFixedSize() |
List<String> |
getKeywords() |
String |
getLatLonBox() |
String |
getName() |
WMSLayerNode |
getParent() |
RemoteWMSStyle |
getSelectedStyle() |
List<RemoteWMSStyle> |
getStyles() |
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(String _abstract)
Sets the layer abstract.
|
void |
setChildren(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(String _latLonBox) |
void |
setName(String name) |
void |
setParent(WMSLayerNode parentNode) |
void |
setQueryable(boolean queryable) |
void |
setSelectedStyleByIndex(int index) |
void |
setSelectedStyleByName(String styName) |
void |
setSrs(List<String> srs) |
void |
setTitle(String title) |
void |
setTransparency(boolean transparency) |
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 String getName()
public List<WMSLayerNode> getChildren()
public void setName(String name)
name
- The name to set.public List<RemoteWMSStyle> getStyles()
public boolean isQueryable()
public void setQueryable(boolean queryable)
queryable
- The queryable to set.public String getTitle()
public void setTitle(String title)
public boolean isTransparent()
public void setTransparency(boolean transparency)
transparency
- The transparency to set.public void setChildren(List<WMSLayerNode> children)
children
- public WMSLayerNode getParent()
public void setParent(WMSLayerNode parentNode)
public List<RemoteTimeDimension> getDimensions()
public String getAbstract()
public void setAbstract(String _abstract)
abstract
- The abstract to set.public void addDimension(String name, String units, String unitSymbol, String dimExpression)
name
- units
- unitSymbol
- dimensionExpression
- public void setLatLonBox(String _latLonBox)
public String getLatLonBox()
public void setFixedSize(int fixedWidth, int fixedHeight)
fixedWidth
- - the constant value for the image widthfixedHeight
- - the constant value for the image heightpublic Dimension getFixedSize()
public boolean isSizeFixed()
public void addStyle(WMSStyle style)
_name
- _title
- _abstract
- public RemoteWMSStyle getSelectedStyle()
public void setSelectedStyleByIndex(int index)
public void setSelectedStyleByName(String styName)
public void addKeyword(String keyword)
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException