|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jdrawing.graphics.GraphicsElement org.jdrawing.graphics.GraphicsOperation
This is the base class for all elements, representing drawing operations.
Field Summary |
Fields inherited from class org.jdrawing.graphics.GraphicsElement |
BACKGROUND, COLOR, COMPOSITE, FONT, PAINT, parent, position, STROKE, TRANSFORM |
Constructor Summary | |
GraphicsOperation()
|
Method Summary | |
void |
paint(java.awt.Graphics graphics)
Paint the element. |
abstract void |
paintOperation(java.awt.Graphics2D graphics)
Performs grawing operation. |
void |
update()
Notifies parent about changes in this element |
Methods inherited from class org.jdrawing.graphics.GraphicsElement |
addStyle, getParent, getStyle, getStyles, getTransform |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jdrawing.DrawingElement |
contains, getBounds, getBounds2D, intersects |
Constructor Detail |
public GraphicsOperation()
Method Detail |
public void paint(java.awt.Graphics graphics)
paintOperation(java.awt.Graphics2D)
.
paint
in interface DrawingElement
graphics
- graphics context to use for paintingpublic abstract void paintOperation(java.awt.Graphics2D graphics)
graphics
- graphics context to use for paintingpublic void update()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |