|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvisual.dynamic.sampled.AbstractFrameOp
public abstract class AbstractFrameOp
| Field Summary | |
|---|---|
protected int |
duration
|
protected int |
first
|
| Constructor Summary | |
|---|---|
AbstractFrameOp(int first,
int duration)
Explicit Value Constructor |
|
| Method Summary | |
|---|---|
int |
getFirstFrame()
Get the index of the first frame of this FrameOp |
int |
getLastFrame()
Get the index of the last frame of this FrameOp |
protected boolean |
hasFinishedAt(int frame)
Has this FrameOp finished at the given frame? |
abstract void |
postRendering(java.awt.Graphics g,
int frame)
Apply the post-rendering portion of this FrameOp |
abstract void |
preRendering(java.awt.Graphics g,
int frame)
Apply the pre-rendering portion of this FrameOp |
protected boolean |
shouldApplyAt(int frame)
Should this FrameOp be applied at the given frame |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int duration
protected int first
| Constructor Detail |
|---|
public AbstractFrameOp(int first,
int duration)
first - The first frameduration - The duration (in frames)| Method Detail |
|---|
public int getFirstFrame()
getFirstFrame in interface FrameOppublic int getLastFrame()
getLastFrame in interface FrameOpprotected boolean hasFinishedAt(int frame)
public abstract void postRendering(java.awt.Graphics g,
int frame)
postRendering in interface FrameOpg - The rendering engineframe - The current frame number
public abstract void preRendering(java.awt.Graphics g,
int frame)
preRendering in interface FrameOpg - The rendering engineframe - The current frame numberprotected boolean shouldApplyAt(int frame)
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||