|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.Vector | +--ciips.animation.tree.TreeEdgeList
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
TreeEdgeList()
|
Method Summary | |
void |
draw(java.awt.Graphics g)
Paint method of the drawing object. |
int |
getX()
Returns the x coordinate of the drawing object's reference point. |
int |
getY()
Returns the y coordinate of the drawing object's reference point. |
void |
move(int x,
int y)
This method repositions the drawing object to the new location specified by the paramters. |
void |
reLink(TreeNode old_start,
TreeNode new_start,
TreeNode new_end)
|
void |
reLink(TreeNode old_start,
TreeNode old_end,
TreeNode new_start,
TreeNode new_end)
|
java.lang.String |
toString()
|
Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
Constructor Detail |
public TreeEdgeList()
Method Detail |
public void reLink(TreeNode old_start, TreeNode new_start, TreeNode new_end)
public void reLink(TreeNode old_start, TreeNode old_end, TreeNode new_start, TreeNode new_end)
public int getY()
DrawingObj
getY
in interface DrawingObj
ciips.animation.DrawingObj
public int getX()
DrawingObj
getX
in interface DrawingObj
ciips.animation.DrawingObj
public void move(int x, int y)
DrawingObj
move
in interface DrawingObj
ciips.animation.DrawingObj
x
- The x coordinate of the drawing object's new position.y
- The y coordinate of the drawing object's new position.public void draw(java.awt.Graphics g)
DrawingObj
draw
in interface DrawingObj
ciips.animation.DrawingObj
g
- A reference to the graphical context.public java.lang.String toString()
toString
in class java.util.Vector
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |