|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gishur.gui2.DrawDependency
DrawDependencys
are used for synchronizing the
repainting of DrawAtoms
at low level.
Constructor Summary | |
DrawDependency()
Creates a new DrawDependency. |
Method Summary | |
int |
length()
Returns the number of dependent DrawAtom s. |
DrawAtom |
member(int i)
Returns the i 'th member of this DrawDependency . |
void |
register(DrawAtom target)
Registers a DrawAtom as target. |
void |
register(DrawAtom[] target)
Registers an array of DrawAtoms as targets. |
java.lang.String |
toString()
Returns a string representation of the object. |
void |
unregister(DrawAtom target)
Removes a registered DrawAtom from the target list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DrawDependency()
Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public void register(DrawAtom target)
DrawAtom
as target.target
- new target DrawAtom
public void register(DrawAtom[] target)
DrawAtoms
as targets.target
- new array of DrawAtoms
public void unregister(DrawAtom target)
DrawAtom
from the target list.target
- DrawAtom
to removepublic int length()
DrawAtom
s.DrawAtom
s.public DrawAtom member(int i)
i
'th member of this DrawDependency
.i
- the index position (between 0
and length()
).i
'th member of this DrawDependency
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |