com.jidesoft.gauge
Interface IndicatorRenderer<GaugeType extends AbstractGauge>
- All Known Implementing Classes:
- AbstractIndicatorRenderer, BarIndicatorRenderer, LineIndicatorRenderer, PointerIndicatorRenderer
public interface IndicatorRenderer<GaugeType extends AbstractGauge>
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 paintgauge
- the Gauge component (e.g. a Bullet)style
- the specified IndicatorStyle that may influence the paintingw
- the width of the legend item to be paintedh
- the height of the legend item to be painted
- Returns:
- the Shape of the painted item (can be null)