public abstract class BasicGraphable extends Object implements Graphable, Serializable
| Constructor and Description | 
|---|
| BasicGraphable()Constrcuts a new a graph component. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getCount()Returns the value of the counter for the component. | 
| int | getID()Returns an identifier for the component. | 
| Object | getObject()Returns the underlying object referenced by the graph component. | 
| boolean | isVisited()Determines if the component has been marked as visited. | 
| void | setCount(int count)Sets the value of the counter for the component. | 
| void | setID(int id)Sets the identifying integer for the component. | 
| void | setObject(Object obj)Sets the underlying object reference for the component. | 
| void | setVisited(boolean visited)Marks the component as being visited/unvisited. | 
| String | toString()Returns the id of the component as a string. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRelatedpublic BasicGraphable()
public int getID()
GraphablegetID in interface GraphableGraphable.getID()public void setID(int id)
GraphablesetID in interface Graphableid - New identifying integer.Graphable.setID(int)public Object getObject()
GraphablegetObject in interface GraphableGraphable.getObject()public void setObject(Object obj)
GraphablesetObject in interface Graphableobj - The entity being modelled by the graph component.Graphable.setObject(Object)public boolean isVisited()
GraphableisVisited in interface GraphableGraphable.isVisited()public void setVisited(boolean visited)
GraphablesetVisited in interface Graphablevisited - True if visited(on), false if unvisited(off).Graphable.setVisited(boolean)public int getCount()
GraphablegetCount in interface GraphableGraphable.getCount()public void setCount(int count)
GraphablesetCount in interface Graphablecount - The new value of the counter for the component.Graphable.setCount(int)public String toString()
toString in class ObjectGraphable.getID()Copyright © 1996–2019 Geotools. All rights reserved.