|
ESPRESSCHART 6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAnnotationSet
This class contains all annotations of the chart object. Note that annotations of other objects, such as TrendLine, HozVertLine and ControlLine, are not stored here. This class also has a method to create a new annotation for any referenced object
| Method Summary | |
|---|---|
void |
addAnnotation(IAnnotation anno)
Adds an annotation to the chart. |
java.util.Vector |
getAnnotationList()
Returns a list of IAnnotation objects using the whole chart as the referenced object. |
IAnnotation |
newAnnotation(java.lang.String text)
Returns a new annotation object using the origin of the chart as the reference point. |
IAnnotation |
newAnnotation(java.lang.String[] text)
Returns a new annotation object using the origin of the chart as the reference point. |
IAnnotation |
newAnnotation(java.lang.String[] text,
int[] shape,
java.awt.Color[] color)
Returns a new annotation object using the origin of the chart as the reference point. |
IAnnotation |
newAnnotation(java.lang.String[] text,
int[] shape,
java.awt.Color[] color,
IReferenceObj refObj)
Returns a new annotation object with a specific referenced object. |
IAnnotation |
newAnnotation(java.lang.String[] text,
IReferenceObj refObj)
Returns a new annotation object with a specific referenced object. |
IAnnotation |
newAnnotation(java.lang.String text,
IReferenceObj refObj)
Returns a new annotation object with a specific referenced object If the value of refObj is null, the reference point is the lower-left corner of the panel |
boolean |
removeAnnotation(IAnnotation anno)
Removes an annotation from the chart. |
| Method Detail |
|---|
java.util.Vector getAnnotationList()
IAnnotationIAnnotation newAnnotation(java.lang.String text)
text - String that appears in the Annotation
IAnnotation newAnnotation(java.lang.String[] text)
text - String array that appears in the Annotation
IAnnotation newAnnotation(java.lang.String[] text,
int[] shape,
java.awt.Color[] color)
text - String array that appears in the Annotationshape - The array containing the shapes for all the symbols.
The number of points in this array should match the number of text and color
Available shape values are: QbChart.NOSYMBOL QbChart.CROSS QbChart.CIRCLE QbChart.SQUARE QbChart.TRIANGLE QbChart.PLUS QbChart.STAR QbChart.DASH
color - symbols color
IAnnotation newAnnotation(java.lang.String text,
IReferenceObj refObj)
text - String that appears in the Annotation
IAnnotation newAnnotation(java.lang.String[] text,
IReferenceObj refObj)
text - String array that appears in the Annotation
IAnnotation newAnnotation(java.lang.String[] text,
int[] shape,
java.awt.Color[] color,
IReferenceObj refObj)
text - String array that appears in the Annotationshape - The array containing the shapes for all the symbols.
The number of points in this array should match the number of text and color.
Available shape values are: QbChart.CROSS QbChart.CIRCLE QbChart.SQUARE QbChart.TRIANGLE QbChart.PLUS QbChart.STAR QbChart.DASH
color - symbols color
void addAnnotation(IAnnotation anno)
anno - The annotation objectboolean removeAnnotation(IAnnotation anno)
anno - The annotation object
|
ESPRESSCHART 6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||