|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
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 FrameOp
public int getLastFrame()
getLastFrame
in interface FrameOp
protected boolean hasFinishedAt(int frame)
public abstract void postRendering(java.awt.Graphics g, int frame)
postRendering
in interface FrameOp
g
- The rendering engineframe
- The current frame numberpublic abstract void preRendering(java.awt.Graphics g, int frame)
preRendering
in interface FrameOp
g
- The rendering engineframe
- The current frame numberprotected boolean shouldApplyAt(int frame)
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |