public class RemoteWMSStyle extends Object implements Persistent
Modifier and Type | Field and Description |
---|---|
String |
format |
String |
href |
int |
legendHeight |
int |
legendWidth |
String |
name |
WMSLayerNode |
parent |
String |
styleAbstract |
String |
title |
String |
type |
Constructor and Description |
---|
RemoteWMSStyle() |
RemoteWMSStyle(WMSStyle style,
WMSLayerNode parent)
Creates a new instance of FMapWMSStyle
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
String |
getFormat() |
String |
getHref() |
int |
getLegendHeight() |
int |
getLegendWidth() |
String |
getName() |
WMSLayerNode |
getParent() |
String |
getStyleAbstract() |
String |
getTitle() |
String |
getType() |
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 |
setHref(String href) |
void |
setLegendHeight(int lHeight) |
void |
setLegendWidth(int lWidth) |
void |
setName(String name) |
void |
setParent(WMSLayerNode node) |
void |
setStyleAbstract(String sa) |
void |
setTitle(String title) |
void |
setType(String type) |
String |
toString() |
public String name
public String title
public String styleAbstract
public String format
public String type
public String href
public WMSLayerNode parent
public int legendHeight
public int legendWidth
public RemoteWMSStyle(WMSStyle style, WMSLayerNode parent)
uri
- title
- styleAbstract
- parent
- public RemoteWMSStyle()
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 Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public String getName()
public String getTitle()
public String getStyleAbstract()
public String getFormat()
public String getType()
public String getHref()
public WMSLayerNode getParent()
public int getLegendHeight()
public int getLegendWidth()
public void setParent(WMSLayerNode node)
public void setName(String name)
public void setTitle(String title)
public void setStyleAbstract(String sa)
public void setType(String type)
public void setHref(String href)
public void setLegendHeight(int lHeight)
public void setLegendWidth(int lWidth)