|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jinx.action.Actor net.jinx.action.VisibleActor
public class VisibleActor
Actor wrapper class for one of Vertex Modeler's Visible implementations, so
they can be used with the action package.
API Stability: Beta.
Constructor Summary | |
---|---|
VisibleActor(java.lang.String name,
Visible drawable)
Constructs a VisibleActor to wrap drawable. |
Method Summary | |
---|---|
void |
deinit(Context opt)
Redirects to the wrapped Visible. |
void |
draw(Context opt)
Redirects to the wrapped Visible. |
void |
drawPass(Context opt,
Pass pass)
|
Visible |
getVisible()
Provides the underlying Visible object. |
void |
init(Context opt)
Redirects to the wrapped Visible. |
protected void |
processEvent(ActorEvent event)
Does nothing. |
Methods inherited from class net.jinx.action.Actor |
---|
checkAllowAdd, getName, getOwner, hashCode, ownerChanged, sendEvent, sendEvent, sendEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VisibleActor(java.lang.String name, Visible drawable)
name
- the name of this VisibleActor.drawable
- the Visible to wrap.Method Detail |
---|
public Visible getVisible()
public void init(Context opt)
init
in interface Visible
opt
- the Context object contaning rendering options.public void draw(Context opt)
draw
in interface Visible
opt
- the Context object contaning rendering options.public void drawPass(Context opt, Pass pass)
drawPass
in interface MultipassVisible
public void deinit(Context opt)
deinit
in interface Visible
opt
- the Context object contaning rendering options.protected void processEvent(ActorEvent event)
processEvent
in class Actor
event
- the ActorEvent to process.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |