org.micropainter.core.layout.band
Class BandLayout

java.lang.Object
  extended by org.micropainter.core.layout.AbstractLayout
      extended by org.micropainter.core.layout.AbstractBandsLayout
          extended by org.micropainter.core.layout.band.BandLayout
All Implemented Interfaces:
java.lang.Comparable<java.lang.Object>

public class BandLayout
extends AbstractBandsLayout

BandLayout defines how to lay out the window bands

Author:
Sebastien Janaud

Field Summary
private  BandLayoutManager manager
          band manager
private  AbstractBandPainter painter
          band painter
 
Constructor Summary
BandLayout(BandLayoutManager manager)
           
 
Method Summary
 void doPaintBands(View2D v2d, java.awt.Graphics2D g2d)
           
 AbstractBandPainter getPainter()
           
 void setPainter(AbstractBandPainter painter)
           
 
Methods inherited from class org.micropainter.core.layout.AbstractBandsLayout
doPaintLayout
 
Methods inherited from class org.micropainter.core.layout.AbstractLayout
compareTo, getAntialiasing, getFractional, getInterpolation, getLayoutAlpha, getPriority, getTextAnliasing, getWindow2D, getWindowZone, isLock, lockLayout, paint, setAntialiasing, setFractional, setInterpolation, setLayoutAlpha, setPriority, setTextAnliasing, setWindow2D, setWindowZone, unlockLayout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

manager

private BandLayoutManager manager
band manager


painter

private AbstractBandPainter painter
band painter

Constructor Detail

BandLayout

public BandLayout(BandLayoutManager manager)
Method Detail

getPainter

public AbstractBandPainter getPainter()

setPainter

public void setPainter(AbstractBandPainter painter)

doPaintBands

public void doPaintBands(View2D v2d,
                         java.awt.Graphics2D g2d)
Specified by:
doPaintBands in class AbstractBandsLayout