|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectNode
public class Node
DOCUMENT ME!
trunk/gt/modules
(gt-modules.jar
) (Maven report) (SVN head)Field Summary | |
---|---|
protected int |
id
|
protected int |
numShapesId
|
protected Node |
parent
|
protected int[] |
shapesId
|
protected List |
subNodes
|
Constructor Summary | |
---|---|
Node(Envelope bounds,
int id,
Node parent)
|
Method Summary | |
---|---|
void |
addShapeId(int id)
Add a shape id |
void |
addSubNode(Node node)
DOCUMENT ME! |
void |
clearSubNodes()
|
Node |
copy()
|
Envelope |
getBounds()
DOCUMENT ME! |
int |
getNumShapeIds()
DOCUMENT ME! |
int |
getNumSubNodes()
DOCUMENT ME! |
Node |
getParent()
|
int |
getShapeId(int pos)
Gets a shape id |
int[] |
getShapesId()
DOCUMENT ME! |
Node |
getSibling()
|
Node |
getSubNode(int pos)
Gets the Node at the requested position |
boolean |
isChildrenVisited()
|
boolean |
isVisited()
|
boolean |
removeSubNode(Node node)
Removes a subnode |
void |
setBounds(Envelope bounds)
DOCUMENT ME! |
void |
setChildrenVisited(boolean childrenVisited)
|
void |
setParent(Node parent)
|
void |
setShapesId(int[] ids)
Sets the shape ids |
void |
setVisited(boolean visited)
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int numShapesId
protected int[] shapesId
protected List subNodes
protected Node parent
protected int id
Constructor Detail |
---|
public Node(Envelope bounds, int id, Node parent)
Method Detail |
---|
public Envelope getBounds()
public void setBounds(Envelope bounds)
bounds
- The bounds to set.public int getNumSubNodes()
public int getNumShapeIds()
public void addSubNode(Node node)
node
-
NullPointerException
- DOCUMENT ME!public boolean removeSubNode(Node node)
node
- The subnode to remove
public void clearSubNodes()
public Node getSubNode(int pos) throws StoreException
pos
- The position
StoreException
- DOCUMENT ME!public void addShapeId(int id)
id
- public int getShapeId(int pos)
pos
- The position
ArrayIndexOutOfBoundsException
- DOCUMENT ME!public void setShapesId(int[] ids)
ids
- public int[] getShapesId()
public Node getParent()
public void setParent(Node parent)
public boolean isVisited()
public void setVisited(boolean visited)
public Node getSibling() throws StoreException
StoreException
public boolean isChildrenVisited()
public void setChildrenVisited(boolean childrenVisited)
public Node copy() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |