|
Chart FX for Java 6.5 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SoftwareFX.ChartFX.Annotation.AnnotationObject SoftwareFX.ChartFX.Annotation.AnnotationArc
public final class AnnotationArc
Provides access to the AnnotationArc object.
The AnnotationArc Class allows you to create annotation objects in the shape of an arc. All the supported members of this class are inherited from the AnnotationObject Class .
Below is an example of an annotation arc:
SoftwareFX.ChartFX.Annotation.AnnotationX annot = new SoftwareFX.ChartFX.Annotation.AnnotationX();
SoftwareFX.ChartFX.Annotation.AnnotationArc arc = new SoftwareFX.ChartFX.Annotation.AnnotationArc();
arc.getBorder().setColor(java.awt.Color.RED);
arc.getBorder().setWidth(4);
arc.setHeight(100);
arc.setWidth(-80);
arc.attach(2, 50);
annot.getList().add(arc);
chart1.getExtensions().add(annot);
Note: Remember you can assign negative values to both the Width and Height properties. This will allow you to set the appropriate orientation to the arcs you create in the chart area.
Constructor Summary | |
---|---|
AnnotationArc()
|
Method Summary |
---|
Methods inherited from class SoftwareFX.ChartFX.Annotation.AnnotationObject |
---|
attach, attach, attach, detach, flip, getAnchor, getBorder, getColor, getHeight, getLeft, getLink, getObjectBounds, getPattern, getTag, getTop, getURL, getURLTarget, getWidth, isAllowModify, isAllowMove, isDrawingArea, isPaintBefore, isVisible, refresh, rotate, setAllowModify, setAllowMove, setAnchor, setBorder, setColor, setDrawingArea, setHeight, setLeft, setObjectBounds, setPaintBefore, setPattern, setTag, setTop, setURL, setURLTarget, setVisible, setWidth |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationArc()
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |