|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.eventhorizongilde.ehfs.chart.LineAnnotation
public class LineAnnotation
An annotation that is shown as a vertical line. It is shown at a specified time during the fight.
| Method Summary | |
|---|---|
static LineAnnotation |
createForOverview(int seconds)
Creates a line annotation that is visible on overview graphs only. |
static LineAnnotation |
createForUnit(int seconds,
String unitGuid)
Creates a line annotation that is visible on graphs for a specific unit only. |
static LineAnnotation |
createGlobal(int seconds)
Creates a line annotation that is visible on all graphs. |
boolean |
isLegendIconAsBox()
Returns whether this annotation's legend icon should be shown as a box instead of a line. |
boolean |
isVisibleOnChartsForUnit(String guid)
Returns whether this annotation should be visible on graphs shown for a specific unit. |
boolean |
isVisibleOnOverview()
Returns whether this annotation should be visible on overview graphs. |
XYAnnotation |
toXYAnnotation(XYPlot plot,
Color color,
IParseContext context)
Creates a JFreeChart XYAnnotation for this annotation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static LineAnnotation createGlobal(int seconds)
seconds - seconds into the fight where the line annotation should be placed
public static LineAnnotation createForUnit(int seconds,
String unitGuid)
seconds - seconds into the fight where the line annotation should be placedunitGuid - the unit's GUIDpublic static LineAnnotation createForOverview(int seconds)
seconds - seconds into the fight where the line annotation should be placed
public XYAnnotation toXYAnnotation(XYPlot plot,
Color color,
IParseContext context)
XYAnnotation for this annotation.
toXYAnnotation in interface IAnnotationplot - the plot the XYAnnotation is created forcolor - the annotation's color on the plotcontext - the current fight's parse contextpublic boolean isVisibleOnChartsForUnit(String guid)
isVisibleOnChartsForUnit in interface IAnnotationpublic boolean isVisibleOnOverview()
isVisibleOnOverview in interface IAnnotationpublic boolean isLegendIconAsBox()
Returns whether this annotation's legend icon should be shown as a box instead of a line.
Note that this doesn't really make sense for single annotations. Instead, as annotations
are grouped by AnnotationGroups, those take on the value returned here.
isLegendIconAsBox in interface IAnnotation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||