|
UIX 2.2.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.image.painter.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 oracle.cabo.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()
|
UIX 2.2.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |