org.micropainter.core.layout
Class AbstractBandsLayout

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

public abstract class AbstractBandsLayout
extends AbstractLayout

The abstract definition of a delegate that takes the responsibility of painting a window2D Bands Layout.

Author:
Sebastien Janaud

Constructor Summary
AbstractBandsLayout()
           
 
Method Summary
abstract  void doPaintBands(View2D v2d, java.awt.Graphics2D g2d)
           
 void doPaintLayout(View2D v2d, java.awt.Graphics2D g2d)
          Subclass this for custom paint
 
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
 

Constructor Detail

AbstractBandsLayout

public AbstractBandsLayout()
Method Detail

doPaintBands

public abstract void doPaintBands(View2D v2d,
                                  java.awt.Graphics2D g2d)

doPaintLayout

public void doPaintLayout(View2D v2d,
                          java.awt.Graphics2D g2d)
Description copied from class: AbstractLayout
Subclass this for custom paint

Specified by:
doPaintLayout in class AbstractLayout
Parameters:
v2d - the View2D to lay out.
g2d - the Graphics context in which to paint