jpicedt.graphic.view
Class ArrowView.Head
java.lang.Object
jpicedt.graphic.view.ArrowView
jpicedt.graphic.view.ArrowView.Head
- Enclosing class:
- ArrowView
public static class ArrowView.Head
- extends ArrowView
Nested classes/interfaces inherited from class jpicedt.graphic.view.ArrowView |
ArrowView.CircleCentered, ArrowView.CircleFlushed, ArrowView.Direction, ArrowView.DiskCentered, ArrowView.DiskFlushed, ArrowView.DoubleHead, ArrowView.DoubleReverseHead, ArrowView.Head, ArrowView.Pencil, ArrowView.ReverseHead, ArrowView.RoundedBracket, ArrowView.SquareBracket, ArrowView.TBarCentered, ArrowView.TBarFlushed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrowView.Head
public ArrowView.Head(PicAttributeSet set)
updateShape
public void updateShape(double locX,
double locY,
PicVector dir)
- Description copied from class:
ArrowView
- To be called when the geometry of the hosting Element changed. Note that whenever
attributes changed, a whole new Arrow should be instanciated.
- Specified by:
updateShape
in class ArrowView
- Parameters:
locX
- X-coord of arrow reference point on the screen (that is, line end-point)locY
- Y-coord of arrow reference point on the screen (that is, line end-point)dir
- a vector of length 1 indicating the direction of the arrow (see PEToolKit.getDirector...)
getPencil
public ArrowView.Pencil getPencil()
- Description copied from class:
ArrowView
- whether we call g.draw() or g.fill()
- Specified by:
getPencil
in class ArrowView
getShape
public Shape getShape()
- Specified by:
getShape
in class ArrowView
Submit a bug : syd@jpicedt.org