public class DefaultGroupedEventPainter extends Object implements GroupedEventPainter
Constructor and Description |
---|
DefaultGroupedEventPainter() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxIconRows() |
int |
getMinimumTextDisplayWidth() |
void |
paint(javax.media.opengl.GL2 gl,
EventPlotInfo info,
GlimpseBounds bounds,
Axis1D timeAxis,
Collection<EventDrawInfo> events)
Draw all the events in the provided collection using the GL2 handle.
|
void |
setMaxIconRows(int rows)
Sets the maximum number of rows used to display icons in aggregate groups.
|
void |
setMinimumTextDisplayWidth(int pixels)
If the width of an event is less than this value, text is never displayed.
|
public void setMaxIconRows(int rows)
rows
- public int getMaxIconRows()
public void setMinimumTextDisplayWidth(int pixels)
public int getMinimumTextDisplayWidth()
public void paint(javax.media.opengl.GL2 gl, EventPlotInfo info, GlimpseBounds bounds, Axis1D timeAxis, Collection<EventDrawInfo> events)
GroupedEventPainter
paint
in interface GroupedEventPainter
gl
- OpenGL handleinfo
- parent EventPlotInfo of Event to be paintedbounds
- width, height, and position of GlimpseLayout containing EventPlotInfotimeAxis
- the plot time axisevents
- the event objects to drawCopyright © 2016 Metron, Inc.. All rights reserved.