ilog.views.maps.format.wms
Class IlvWMSServerNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by ilog.views.maps.format.wms.IlvWMSServerNode
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode

public class IlvWMSServerNode
extends DefaultMutableTreeNode

A DefaultMutableTreeNode that holds information about a server connected by an IlvWMSReader.

Since:
JViews 8.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Method Summary
 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()
          
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public String toString()

Overrides:
toString in class DefaultMutableTreeNode

getURL

public URL getURL()
Retrieves the URL given at construction time. This is the URL of the server.

Returns:
The URL given at construction time.

addMapFormat

public void addMapFormat(String format)
Adds a map format to the list of available formats.

Parameters:
format - The format to add.

getAvailableMapFormats

public String[] getAvailableMapFormats()
Returns the list of available map formats.

Returns:
The list of available map formats.

supportsMapFormat

public boolean supportsMapFormat(String format)
Returns true if the passed map format is supported.

Parameters:
format - The map format to check.
Returns:
Returns true if the passed map format is supported, otherwise false.

setTitle

public void setTitle(String title)
Sets the title of this server.

Parameters:
title - The title of this server.

setMapURL

public void setMapURL(String value)
Sets the map base URL to be used by the reader to retrieve images.

Parameters:
value - The map base URL to be used by the reader to retrieve images.

getMapURL

public String getMapURL()
Returns the map URL.

Returns:
Returns the map URL.

getTitle

public String getTitle()
Returns the title.

Returns:
Returns the title.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.