public class AnnotationPainter extends GlimpsePainterBase
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationPainter.Annotation |
Constructor and Description |
---|
AnnotationPainter() |
AnnotationPainter(TextRenderer textRenderer) |
Modifier and Type | Method and Description |
---|---|
AnnotationPainter.Annotation |
addAnnotation(AnnotationPainter.Annotation annotation) |
AnnotationPainter.Annotation |
addAnnotation(String text,
float x,
float y) |
AnnotationPainter.Annotation |
addAnnotation(String text,
float x,
float y,
int offset_x,
int offset_y,
SimpleTextPainter.HorizontalPosition hPos,
SimpleTextPainter.VerticalPosition vPos,
float[] color) |
void |
clearAnnotations() |
void |
displayTime(long time)
Deprecated.
|
void |
displayTime(TimeStamp time) |
void |
displayTimeRange(long minTime,
long maxTime)
Deprecated.
|
void |
displayTimeRange(TimeStamp minTime,
TimeStamp maxTime) |
void |
doPaintTo(GlimpseContext context) |
TextRenderer |
getTextRenderer() |
dispose, getAxis1D, getAxis2D, getBounds, getGL3, isDisposed, isVisible, paintTo, requireAxis1D, requireAxis2D, setLookAndFeel, setVisible
public AnnotationPainter()
public AnnotationPainter(TextRenderer textRenderer)
public TextRenderer getTextRenderer()
public AnnotationPainter.Annotation addAnnotation(String text, float x, float y)
public AnnotationPainter.Annotation addAnnotation(String text, float x, float y, int offset_x, int offset_y, SimpleTextPainter.HorizontalPosition hPos, SimpleTextPainter.VerticalPosition vPos, float[] color)
public AnnotationPainter.Annotation addAnnotation(AnnotationPainter.Annotation annotation)
public void clearAnnotations()
public void displayTime(TimeStamp time)
@Deprecated public void displayTime(long time)
displayTime( TimeStamp )
@Deprecated public void displayTimeRange(long minTime, long maxTime)
displayTimeRange( TimeStamp, TimeStamp )
public void doPaintTo(GlimpseContext context)
Copyright © 2018 Metron, Inc.. All rights reserved.