JIDE 3.5.15

com.jidesoft.gauge
Interface IndicatorRenderer<GaugeType extends AbstractGauge>

All Known Implementing Classes:
AbstractIndicatorRenderer, BarIndicatorRenderer, LineIndicatorRenderer, PointerIndicatorRenderer

public interface IndicatorRenderer<GaugeType extends AbstractGauge>


Method Summary
 Shape paintIndicator(Graphics2D g, GaugeType gauge, Double value, IndicatorStyle style)
           
 Shape paintLegendItem(Graphics g, GaugeType gauge, IndicatorStyle style, int w, int h)
          Paints a LegendItem onto the supplied Graphics context using the other supplied parameters to help size and style the LegendItem appropriately.
 

Method Detail

paintIndicator

Shape paintIndicator(Graphics2D g,
                     GaugeType gauge,
                     Double value,
                     IndicatorStyle style)

paintLegendItem

Shape paintLegendItem(Graphics g,
                      GaugeType gauge,
                      IndicatorStyle style,
                      int w,
                      int h)
Paints a LegendItem onto the supplied Graphics context using the other supplied parameters to help size and style the LegendItem appropriately.

Parameters:
g - the Graphics context onto which we paint
gauge - the Gauge component (e.g. a Bullet)
style - the specified IndicatorStyle that may influence the painting
w - the width of the legend item to be painted
h - the height of the legend item to be painted
Returns:
the Shape of the painted item (can be null)

JIDE 3.5.15