public class IlvWMSLayerNode extends DefaultMutableTreeNode
DefaultMutableTreeNode
that hold informations
about layers available from a OpenGIS compliant server.allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Modifier and Type | Method and Description |
---|---|
void |
addRS(String rs)
Adds an SRS name to the available SRS for this layer.
|
void |
addStyle(HashMap<String,String> style)
Adds a style name to the available styles for this layer.
|
String[] |
getAvailableRS()
Retrieves the available SRS names for this layer.
|
String[] |
getAvailableStyles()
Retrieves the available style names for this layer.
|
double[] |
getLatLonBoundingBox()
Retrieves the lat/lon bounding box for this layer.
|
double |
getMaxScale()
Returns the maximum scale at which the layer is visible.
|
double |
getMinScale()
Returns the minimum scale at which the layer is visible.
|
String |
getName()
<
Retrieves the name of this layer.
|
String |
getTitle()
Retrieves the title of this layer.
|
boolean |
isRSSupported(String rs)
Indicates if the given reference system is supported by this layer.
|
void |
setLatLonBoundingBox(double minx,
double miny,
double maxx,
double maxy)
Sets the bounding box int lat/lon for this layer.
|
String |
toString() |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
public void setLatLonBoundingBox(double minx, double miny, double maxx, double maxy)
minx
- The min longitude.miny
- The min latitude.maxx
- The max longitude.maxy
- The max latitude.public double[] getLatLonBoundingBox()
public String toString()
toString
in class DefaultMutableTreeNode
public void addStyle(HashMap<String,String> style)
style
- The style name to add.public String[] getAvailableStyles()
public void addRS(String rs)
rs
- The SRS name to add.public String[] getAvailableRS()
public String getName()
public String getTitle()
public double getMinScale()
0
if no minimum scale has been specified.public double getMaxScale()
0
if no maximum scale has been specified.public boolean isRSSupported(String rs)
rs
- The reference system to check.true
if supported, otherwise false
.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.