|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.eventhorizongilde.ehfs.chart.AnnotationGroup
public class AnnotationGroup
A group of annotations. The primary purpose of annotation groups is to group similar annotations together under a single title and color, both of which are also used in a graph's legend.
| Constructor Summary | |
|---|---|
AnnotationGroup(String title,
Color color,
boolean legendIconAsBox)
Creates a new annotation group. |
|
| Method Summary | |
|---|---|
void |
add(IAnnotation annotation)
Adds a new annotation to this annotation group. |
List<IAnnotation> |
getAnnotations()
Returns all annotations in this annotation group. |
Color |
getColor()
Returns the color of this annotation group. |
String |
getTitle()
Returns the title of this annotation group. |
boolean |
isLegendIconAsBox()
Returns whether the legend item for this annotation group should be displayed as a box instead of a line. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationGroup(String title,
Color color,
boolean legendIconAsBox)
title - the title for the legend itemcolor - the color for annotations as well as the legend itemlegendIconAsBox - true if the legend item should appear as a box
instead of a line| Method Detail |
|---|
public String getTitle()
public Color getColor()
public boolean isLegendIconAsBox()
public void add(IAnnotation annotation)
public List<IAnnotation> getAnnotations()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||