JHotDraw 7.3.1

org.jhotdraw.draw
Class SlantedLiner

java.lang.Object
  extended by org.jhotdraw.draw.SlantedLiner
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Liner, DOMStorable

public class SlantedLiner
extends java.lang.Object
implements Liner, DOMStorable

SlantedLiner.

Version:
$Id: SlantedLiner.java 527 2009-06-07 14:28:19Z rawcoder $
Author:
Werner Randelshofer
See Also:
Serialized Form

Constructor Summary
SlantedLiner()
          Creates a new instance.
SlantedLiner(double slantSize)
           
 
Method Summary
 Liner clone()
           
 java.util.Collection<Handle> createHandles(BezierPath path)
          Creates Handle's for the Liner.
 void lineout(ConnectionFigure figure)
          Layouts the Path.
 void read(DOMInput in)
           
 void write(DOMOutput out)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlantedLiner

public SlantedLiner()
Creates a new instance.


SlantedLiner

public SlantedLiner(double slantSize)
Method Detail

createHandles

public java.util.Collection<Handle> createHandles(BezierPath path)
Description copied from interface: Liner
Creates Handle's for the Liner. The ConnectionFigure can provide these handles to the user, in order to let her control the lineout.

Specified by:
createHandles in interface Liner
Parameters:
path - The path for which to create handles.

lineout

public void lineout(ConnectionFigure figure)
Description copied from interface: Liner
Layouts the Path. This may alter the number and type of points in the Path.

Specified by:
lineout in interface Liner
Parameters:
figure - The ConnectionFigure to be lined out.

read

public void read(DOMInput in)
Specified by:
read in interface DOMStorable

write

public void write(DOMOutput out)
Specified by:
write in interface DOMStorable

clone

public Liner clone()
Specified by:
clone in interface Liner
Overrides:
clone in class java.lang.Object

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