JHotDraw 7.3.1

org.jhotdraw.draw
Class BezierPointLocator

java.lang.Object
  extended by org.jhotdraw.draw.AbstractLocator
      extended by org.jhotdraw.draw.BezierPointLocator
All Implemented Interfaces:
java.io.Serializable, Locator, DOMStorable

public class BezierPointLocator
extends AbstractLocator

A Locator which locates a node on the bezier path of a BezierFigure.

Version:
$Id: BezierPointLocator.java 532 2009-06-13 11:28:36Z rawcoder $
Author:
Werner Randelshofer
See Also:
Serialized Form

Constructor Summary
BezierPointLocator(int index)
           
BezierPointLocator(int index, int coord)
           
 
Method Summary
 java.awt.geom.Point2D.Double locate(Figure owner)
          Locates a position on the provided figure.
 void read(DOMInput in)
           
 void write(DOMOutput out)
           
 
Methods inherited from class org.jhotdraw.draw.AbstractLocator
locate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BezierPointLocator

public BezierPointLocator(int index)

BezierPointLocator

public BezierPointLocator(int index,
                          int coord)
Method Detail

locate

public java.awt.geom.Point2D.Double locate(Figure owner)
Description copied from interface: Locator
Locates a position on the provided figure.

Returns:
a point on the figure.

write

public void write(DOMOutput out)

read

public void read(DOMInput in)

Copyright 1996-2009 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.