org.micropainter.core.layout
Class AbstractLegendLayout

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

public abstract class AbstractLegendLayout
extends AbstractLayout

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

Author:
Sebastien Janaud

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

AbstractLegendLayout

public AbstractLegendLayout()
Method Detail

doPaintLegend

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