flatscape.glyph
Class Arrow

java.lang.Object
  |
  +--manifold.base.Glyph
        |
        +--flatscape.FGlyph
              |
              +--flatscape.glyph.GeometricFigure
                    |
                    +--flatscape.glyph.Line
                          |
                          +--flatscape.glyph.Arrow
All Implemented Interfaces:
java.lang.Cloneable, Configurable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class Arrow
extends Line

Glyph to render arrows.

Copyright (c) 2001 Rutgers, The State University of New Jersey

Since:
flatscape %Version%
Version:
%Version%, %Time%

Field Summary
protected  java.awt.Shape shape_
          The shape to be rendered
 
Fields inherited from class flatscape.glyph.Line
x1_, x2_, y1_, y2_
 
Fields inherited from class flatscape.glyph.GeometricFigure
fillColor_, height_, lineColor_, lineWidth_, width_
 
Fields inherited from class flatscape.FGlyph
curInteractionPoint, DEFAULT, interactionPoints, POINTSIZE, selected_
 
Fields inherited from class manifold.base.Glyph
model_, TRANSFORM, viewer_, visible_
 
Constructor Summary
Arrow()
           
 
Method Summary
protected  java.awt.Shape getShape()
           
protected  void updateProperties()
          Updates the local copies of the properties from the model.
 
Methods inherited from class flatscape.glyph.Line
draw, getBoundingShape, moveInteractionPoint, pick, updateInteractionPoints
 
Methods inherited from class flatscape.glyph.GeometricFigure
getLimits, getShape, propertyChange
 
Methods inherited from class flatscape.FGlyph
addInteractionPoint, children, config, constructGlyph, drawSelectionBox, getAllowsChildren, getChildAt, getChildCount, getIndex, getInteractionPoint, getParent, getTransform, getTransform, insert, isLeaf, pickInteractionPoint, remove, remove, removeFromParent, setInteractionPoint, setModel, setParent, setSelected, setUserObject, toString, traverse, validTypes
 
Methods inherited from class manifold.base.Glyph
getModel, getViewer, isVisible, setViewer, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

shape_

protected java.awt.Shape shape_
The shape to be rendered

Constructor Detail

Arrow

public Arrow()
Method Detail

getShape

protected java.awt.Shape getShape()
Overrides:
getShape in class Line
Returns:
a GeneralPath shape describing an arrow.

updateProperties

protected void updateProperties()
Updates the local copies of the properties from the model.

Overrides:
updateProperties in class Line


Copyright (c) 2003 Rutgers, The State University of New Jersey