Class Arrow

java.lang.Object
  |
  +--FileDefaultable
        |
        +--Arrow
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, java.io.Serializable

public class Arrow
extends FileDefaultable
implements java.io.Serializable

A style of arrow head.

See Also:
Serialized Form

Field Summary
 float aspect
          length/width of arrow
 boolean back
          Draw Back of arrow
 float backconcavity
          Curvature of back of arrow
 float backjunction
          Where back of arrow arrow meets axis
 float concavity
          Curvature of side of arrow
static java.util.TreeSet defaults
           
static java.util.TreeSet file
           
static java.util.TreeSet fixed
           
 boolean left
          Draw left half of arrow
static java.util.TreeSet mindefaults
           
 java.lang.String name
           
static Arrow none
           
 boolean right
          Draw Right half of arrow
private static long serialVersionUID
           
 Size size
          The size of the arrow to draw.
If none, the size will be based on the thickness of the line.
 boolean solid
          Draw solid arrow
 
Fields inherited from class FileDefaultable
curfile, defmap, filemap, fixedmap, minmap
 
Constructor Summary
Arrow(java.lang.String name)
           
Arrow(java.lang.String name, boolean left, boolean right, boolean solid, boolean back, Size size, double aspect, double concavity, double backjunction, double backconcavity)
           
 
Method Summary
 java.lang.Object clone()
           
 void copy(FileDefaultable thatitem)
           
 void draw(View view, Anchor point, int direction, CurveAtt props)
           
 boolean edit(javax.swing.JFrame owner)
           
 java.lang.String getName()
           
 java.lang.Object readResolve()
           
 
Methods inherited from class FileDefaultable
absorb, add, check, checkAll, cloneSet, compareTo, equals, getAll, getAll, getArray, getDefs, getExisting, getFile, getFixed, getGlobal, getMin, lookup, lookup, mergeDelete, mergeFile, seperate, sortOut, toString, toSuperString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID

left

public boolean left
Draw left half of arrow


right

public boolean right
Draw Right half of arrow


back

public boolean back
Draw Back of arrow


solid

public boolean solid
Draw solid arrow


aspect

public float aspect
length/width of arrow


concavity

public float concavity
Curvature of side of arrow


backconcavity

public float backconcavity
Curvature of back of arrow


backjunction

public float backjunction
Where back of arrow arrow meets axis


size

public Size size
The size of the arrow to draw.
If none, the size will be based on the thickness of the line.


name

public java.lang.String name

defaults

public static java.util.TreeSet defaults

mindefaults

public static java.util.TreeSet mindefaults

file

public static java.util.TreeSet file

fixed

public static java.util.TreeSet fixed

none

public static Arrow none
Constructor Detail

Arrow

public Arrow(java.lang.String name)

Arrow

public Arrow(java.lang.String name,
             boolean left,
             boolean right,
             boolean solid,
             boolean back,
             Size size,
             double aspect,
             double concavity,
             double backjunction,
             double backconcavity)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class FileDefaultable

edit

public boolean edit(javax.swing.JFrame owner)
Specified by:
edit in class FileDefaultable

clone

public java.lang.Object clone()
Specified by:
clone in class FileDefaultable

copy

public void copy(FileDefaultable thatitem)
Specified by:
copy in class FileDefaultable

readResolve

public java.lang.Object readResolve()
                             throws java.io.ObjectStreamException
Specified by:
readResolve in class FileDefaultable
java.io.ObjectStreamException

draw

public void draw(View view,
                 Anchor point,
                 int direction,
                 CurveAtt props)