org.micropainter.core.layout
Class AbstractPointsLayout

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

public abstract class AbstractPointsLayout
extends AbstractLayout

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

Author:
Sebastien Janaud

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

AbstractPointsLayout

public AbstractPointsLayout()
Method Detail

doPaintPoints

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