org.jhotdraw.standard
Class AbstractLocator

java.lang.Object
  extended by org.jhotdraw.standard.AbstractLocator
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Locator, Storable
Direct Known Subclasses:
OffsetLocator, PeripheralLocator, RelativeLocator

public abstract class AbstractLocator
extends java.lang.Object
implements Locator, Storable, java.lang.Cloneable

AbstractLocator provides default implementations for the Locator interface.

Version:
<$CURRENT_VERSION$>
See Also:
Locator, Handle, Serialized Form

Method Summary
 java.lang.Object clone()
           
 void read(StorableInput dr)
          Reads the arrow tip from a StorableInput.
 void write(StorableOutput dw)
          Stores the arrow tip to a StorableOutput.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jhotdraw.framework.Locator
locate
 

Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

write

public void write(StorableOutput dw)
Stores the arrow tip to a StorableOutput.

Specified by:
write in interface Storable

read

public void read(StorableInput dr)
          throws java.io.IOException
Reads the arrow tip from a StorableInput.

Specified by:
read in interface Storable
Throws:
java.io.IOException