org.micropainter.core.layout
Class AbstractGridsLayout

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

public abstract class AbstractGridsLayout
extends AbstractLayout

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

Author:
Sebastien Janaud

Constructor Summary
AbstractGridsLayout()
           
 
Method Summary
abstract  void doPaintGrids(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

AbstractGridsLayout

public AbstractGridsLayout()
Method Detail

doPaintGrids

public abstract void doPaintGrids(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