JIDE 3.5.15

com.jidesoft.marker
Interface MarkerStripePainter

All Known Subinterfaces:
MarkerStripePainter
All Known Implementing Classes:
DefaultMarkerStripePainter

public interface MarkerStripePainter

An interface to paint the marker stripes.


Method Summary
 int getMaxStripeHeight()
          Gets the maximum height for a single stripe.
 void paint(MarkerArea markerArea, Graphics g, Marker marker, Rectangle rect)
          Paints the marker stripe.
 

Method Detail

getMaxStripeHeight

int getMaxStripeHeight()
Gets the maximum height for a single stripe.

Returns:
the maximum height for a single stripe.

paint

void paint(MarkerArea markerArea,
           Graphics g,
           Marker marker,
           Rectangle rect)
Paints the marker stripe.

Please note, you don't need to reset the color used in this paint method because we will reset it after the paint() of all painters are called.

Parameters:
markerArea - the marker area
g - the Graphics
marker - the marker
rect - the rect relative to the MarkerArea where the marker will be painted.

JIDE 3.5.15