|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zilonis.tool.ext.aerith.effects.ComponentEffect
org.zilonis.tool.ext.aerith.effects.ComponentImageEffect
public abstract class ComponentImageEffect
Abstract class that contains the logic for rendering an image of the component during the transition, rather than rendering the component itself.
| Field Summary | |
|---|---|
protected java.awt.Image |
targetImage
The image that will be rendered during the transition. |
| Fields inherited from class org.zilonis.tool.ext.aerith.effects.ComponentEffect |
|---|
componentImage, end, height, renderComponent, start, width, x, y |
| Constructor Summary | |
|---|---|
ComponentImageEffect()
|
|
| Method Summary | |
|---|---|
void |
paint(java.awt.Graphics2D g2d)
Copies the image into the given Graphics object |
| Methods inherited from class org.zilonis.tool.ext.aerith.effects.ComponentEffect |
|---|
getComponent, getComponentImage, getEnd, getStart, setComponentImage, setComponentStates, setEnd, setStart, setup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.awt.Image targetImage
paint.
| Constructor Detail |
|---|
public ComponentImageEffect()
| Method Detail |
|---|
public void paint(java.awt.Graphics2D g2d)
paint in class ComponentEffectg2d - The Graphics2D destination for this rendering. Note that
the state of this Graphics2D object is affected by the previous call
to setup so there may be no more need to perturb the
graphics state any more; you may simply want to render the component
as appropriate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||