|
JHotDraw 7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jhotdraw.draw.AbstractLineDecoration
org.jhotdraw.draw.PerpendicularBar
public class PerpendicularBar
A perpendicular line decoration.
| Constructor Summary | |
|---|---|
PerpendicularBar()
Constructs a perpendicular line with a height of 10. |
|
PerpendicularBar(double height)
Constructs a perpendicular line with the given height. |
|
| Method Summary | |
|---|---|
protected java.awt.geom.GeneralPath |
getDecoratorPath(Figure f)
Calculates the path of the decorator...a simple line perpendicular to the figure. |
protected double |
getDecoratorPathRadius(Figure f)
Calculates the radius of the decorator path. |
void |
read(DOMInput in)
|
void |
write(DOMOutput out)
|
| Methods inherited from class org.jhotdraw.draw.AbstractLineDecoration |
|---|
draw, getDecorationRadius, getDrawingArea, isFilled, isSolid, isStroked, setFilled, setSolid, setStroked |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PerpendicularBar()
public PerpendicularBar(double height)
| Method Detail |
|---|
protected java.awt.geom.GeneralPath getDecoratorPath(Figure f)
getDecoratorPath in class AbstractLineDecorationprotected double getDecoratorPathRadius(Figure f)
getDecoratorPathRadius in class AbstractLineDecorationpublic void read(DOMInput in)
read in interface DOMStorablepublic void write(DOMOutput out)
write in interface DOMStorable
|
Copyright 1996-2007 (c) JHotDraw.org. Some rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||