JHotDraw 6.0b1

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.

See Also:
Locator, Handle, Serialized Form

Constructor Summary
protected AbstractLocator()
           
 
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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jhotdraw.framework.Locator
locate
 

Constructor Detail

AbstractLocator

protected AbstractLocator()
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

JHotDraw 6.0b1