http://www.jpicedt.org

jpicedt.graphic.view
Class ArrowView.RoundedBracket

java.lang.Object
  extended by jpicedt.graphic.view.ArrowView
      extended by jpicedt.graphic.view.ArrowView.RoundedBracket
Enclosing class:
ArrowView

public static class ArrowView.RoundedBracket
extends ArrowView


Nested Class Summary
 
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
 
Field Summary
 
Fields inherited from class jpicedt.graphic.view.ArrowView
globalScaleLength, globalScaleWidth, lineWidth
 
Constructor Summary
ArrowView.RoundedBracket(PicAttributeSet set)
           
 
Method Summary
 ArrowView.Pencil getPencil()
          whether we call g.draw() or g.fill()
 Shape getShape()
           
 void updateShape(double locX, double locY, PicVector dir)
          To be called when the geometry of the hosting Element changed.
 
Methods inherited from class jpicedt.graphic.view.ArrowView
createArrowIcons, createArrowView, main, paint, paint, paint, updateShape
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrowView.RoundedBracket

public ArrowView.RoundedBracket(PicAttributeSet set)
Method Detail

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

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org