org.micropainter.core.layout.band
Class AbstractBandPainter

java.lang.Object
  extended by org.micropainter.core.layout.band.AbstractBandPainter
Direct Known Subclasses:
BandPainter1

public abstract class AbstractBandPainter
extends java.lang.Object

AbstractBandPainter defines the abstract base method to paint the Band.

Version:
1.0
Author:
Sebastien Janaud

Field Summary
private  BandLayoutManager layout
          the band layout
 
Constructor Summary
AbstractBandPainter()
           
 
Method Summary
abstract  void doPaintBand(java.awt.Graphics2D g2d)
          implements this method in sub classe and paint the band
 BandLayoutManager getLayout()
          get the layout manager of this painter
 void setLayout(BandLayoutManager layout)
          set the band layout for this painter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

layout

private BandLayoutManager layout
the band layout

Constructor Detail

AbstractBandPainter

public AbstractBandPainter()
Method Detail

setLayout

public void setLayout(BandLayoutManager layout)
set the band layout for this painter

Parameters:
layout -

getLayout

public BandLayoutManager getLayout()
get the layout manager of this painter

Returns:
BandLayoutManager

doPaintBand

public abstract void doPaintBand(java.awt.Graphics2D g2d)
implements this method in sub classe and paint the band

Parameters:
g2d -