|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.rolemodelsoft.drawlet.basics.AbstractLocator
Provides a default implementation of Locator.
| Constructor Summary | |
AbstractLocator()
Creates a new AbstractLocator. |
|
| Method Summary | |
java.lang.Object |
duplicate()
Duplicates the receiver. |
java.lang.Object |
duplicateIn(java.util.Hashtable duplicates)
Duplicates the receiver into the given Hashtable. |
void |
postDuplicate(java.util.Hashtable duplicates)
After a series of Objects are duplicated, this can be sent to each of the duplicates to resolve any changes it might like to reconcile. |
int |
r()
Answer the radius of the Locator (as a PolarCoordinate). |
double |
theta()
Answer the angle in radians of the Locator (as a PolarCoordinate). |
java.lang.String |
toString()
Returns a String that represents the value of this object. |
abstract int |
x()
Answer the x coordinate. |
abstract int |
y()
Answer the y coordinate. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public AbstractLocator()
| Method Detail |
public java.lang.Object duplicate()
public java.lang.Object duplicateIn(java.util.Hashtable duplicates)
Hashtable.duplicates - the Hashtable to put the new duplicate inpublic void postDuplicate(java.util.Hashtable duplicates)
duplicates - a Hashtable with originals as keys and duplicates
as elementspublic int r()
public double theta()
public java.lang.String toString()
public abstract int x()
public abstract int y()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||