public class IlvWMSServerNode extends DefaultMutableTreeNode
DefaultMutableTreeNode
that holds information
about a server connected by an IlvWMSReader
.allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Modifier and Type | Method and Description |
---|---|
void |
addMapFormat(String format)
Adds a map format to the list of available formats.
|
String[] |
getAvailableMapFormats()
Returns the list of available map formats.
|
String |
getMapURL()
Returns the map URL.
|
String |
getTitle()
Returns the title.
|
URL |
getURL()
Retrieves the
URL given at construction time. |
void |
setMapURL(String value)
Sets the map base URL to be used by the reader to retrieve images.
|
void |
setTitle(String title)
Sets the title of this server.
|
boolean |
supportsMapFormat(String format)
Returns
true if the passed map format is supported. |
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 String toString()
toString
in class DefaultMutableTreeNode
public URL getURL()
URL
given at construction time. This
is the URL of the server.URL
given at construction time.public void addMapFormat(String format)
format
- The format to add.public String[] getAvailableMapFormats()
public boolean supportsMapFormat(String format)
true
if the passed map format is supported.format
- The map format to check.true
if the passed map format is supported, otherwise false
.public void setTitle(String title)
title
- The title of this server.public void setMapURL(String value)
value
- The map base URL to be used by the reader to retrieve images.public String getMapURL()
public String getTitle()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.