|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.image.painter.AbstractPainter
public abstract class AbstractPainter
Abstract base class for most of the painters. This class takes care of appropriately stubbing out the methods of the Painter interface, making writing Painters easier.
Constructor Summary | |
---|---|
AbstractPainter()
Create an AbstractPainter. |
Method Summary | |
---|---|
protected java.lang.Object |
getData(PaintContext context)
|
protected java.lang.Object |
getDataKey()
|
java.awt.Dimension |
getPreferredSize(PaintContext context)
Returns the preferred size of the painter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.myfaces.trinidadinternal.image.painter.Painter |
---|
getMinimumSize, paint |
Constructor Detail |
---|
public AbstractPainter()
Method Detail |
---|
public java.awt.Dimension getPreferredSize(PaintContext context)
getPreferredSize
in interface Painter
context
- Context for determining the preferred size.
protected java.lang.Object getData(PaintContext context)
protected java.lang.Object getDataKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |