public interface Graphable
Graph
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.
|
Iterator |
getRelated()
Returns an iterator over any related components.
|
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.
|
int getID()
void setID(int id)
id
- New identifying integer.boolean isVisited()
void setVisited(boolean visited)
visited
- True if visited(on), false if unvisited(off).int getCount()
void setCount(int count)
count
- The new value of the counter for the component.Object getObject()
void setObject(Object obj)
obj
- The entity being modelled by the graph component.Iterator getRelated()
Copyright © 1996–2019 Geotools. All rights reserved.