Class DefaultGroupedEventPainter

    • Constructor Detail

      • DefaultGroupedEventPainter

        public DefaultGroupedEventPainter()
    • Method Detail

      • setMaxIconRows

        public void setMaxIconRows​(int rows)
        Sets the maximum number of rows used to display icons in aggregate groups.
        Parameters:
        rows -
      • getMaxIconRows

        public int getMaxIconRows()
      • setMinimumTextDisplayWidth

        public void setMinimumTextDisplayWidth​(int pixels)
        If the width of an event is less than this value, text is never displayed. This provides an optimization when lots of events are on screen since it is expensive to calculate the width of a text string.
      • getMinimumTextDisplayWidth

        public int getMinimumTextDisplayWidth()
      • paint

        public void paint​(GlimpseContext context,
                          EventPlotInfo info,
                          Collection<EventDrawInfo> events)
        Description copied from interface: GroupedEventPainter
        Draw all the events in the provided collection using the provided context.
        Specified by:
        paint in interface GroupedEventPainter
        Parameters:
        context - Glimpse Context, providing access to Axis, GlimpseBounds, and OpenGL context
        info - parent EventPlotInfo of Event to be painted
        events - the event objects to draw