Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.Dispatch
Source: src/com/multiversesocial/hyperview/Dispatch.java
Dispatch is a very powerful class because it allows you to change the display on the fly in a thread safe manner between display frames
public class Dispatch implements HyperConstants
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
Image backImage | No comment in source; assigned in begin(), cleanUp(). | ||
String backImageName | No comment in source; assigned in begin(), cleanUp(). | ||
int bGPen | No comment in source; assigned in begin(). | ||
Gadget clickedGad | No comment in source; assigned in begin(), cleanUp(). | ||
HyperView curView | No comment in source; assigned in Dispatch(), begin(), setView(). | ||
int cz | No comment in source; assigned in begin(). | ||
int fGPen | No comment in source; assigned in begin(). | ||
int flags | No comment in source; assigned in Dispatch(), begin(). | ||
int flags2 | No comment in source; assigned in begin(). | ||
volatile Gadget focus | No comment in source; assigned in begin(), cleanUp(). | ||
Gadget[] gads | No comment in source; assigned in begin(), cleanUp(). | ||
boolean GetStringFlag | No comment in source; not referenced by name in this type’s methods. | ||
GetString[] getStringList | No comment in source; assigned in begin(), cleanUp(). | ||
volatile Gob[] gob | No comment in source; assigned in begin(), cleanUp(). | ||
Gadget grabbedGad | No comment in source; assigned in begin(), cleanUp(). | ||
int ID | No comment in source; assigned in setID(). | ||
HyperMenu menuBase | No comment in source; assigned in begin(), cleanUp(). | ||
String name | No comment in source; assigned in Dispatch(). | ||
static final String noname | = "@" | No comment in source; used in Dispatch(). | |
int num | No comment in source; not referenced by name in this type’s methods. | ||
boolean retVal | No comment in source; name appears in 1 other source file(s): StateMachine. | ||
int savedFlags | No comment in source; assigned in begin(). | ||
int sz | No comment in source; assigned in begin(). | ||
byte tbyte | No comment in source; not referenced by name in this type’s methods. | ||
int[] textBGPen | No comment in source; assigned in begin(), cleanUp(). | ||
Color[][] textFadedColor | No comment in source; assigned in begin(), cleanUp(). | ||
int[] textFadeFrame | No comment in source; assigned in begin(), cleanUp(). | ||
int[] textFGPen | No comment in source; assigned in begin(), cleanUp(). | ||
int[] textFlag | No comment in source; assigned in begin(), cleanUp(). | ||
byte[] textFont | No comment in source; assigned in begin(), cleanUp(). | ||
int[] textLinger | No comment in source; assigned in begin(), cleanUp(). | ||
Object[] textOrigin | No comment in source; assigned in begin(), cleanUp(). | ||
int[] textRestart | No comment in source; assigned in begin(), cleanUp(). | ||
String[] textStr | No comment in source; assigned in begin(), cleanUp(). | ||
int[] textTimer | No comment in source; assigned in begin(), cleanUp(). | ||
int[] textX | No comment in source; assigned in begin(), cleanUp(). | ||
int[] textY | No comment in source; assigned in begin(), cleanUp(). | ||
Gadget tGad | No comment in source; assigned in begin(), cleanUp(). | ||
Titlebar title | No comment in source; assigned in begin(). | ||
Graphics titleBltGraphics | No comment in source; assigned in begin(). | ||
Image titleBltImage | No comment in source; assigned in begin(). | ||
Graphics titleGraphics | No comment in source; assigned in begin(). | ||
Image titleImage | No comment in source; assigned in begin(). | ||
int totalGads | No comment in source; assigned in begin(). | ||
int totalGetStrings | No comment in source; assigned in begin(). | ||
int totalGobs | No comment in source; assigned in begin(). | ||
int totalViewStrings | No comment in source; assigned in begin(). | ||
int tz | No comment in source; assigned in begin(). |
| Signature | Description | Source |
|---|---|---|
Dispatch() | 3 statement(s); calls super(), HyperView.getCurView(). | |
Dispatch(HyperView tView) | 2 statement(s); calls this(). | |
Dispatch(String tName, HyperView tView) | 2 statement(s); calls super(). | |
Dispatch(String tName, HyperView tView, int tx, int ty, int tWidth, int tHeight, int tFlags) | 1 statement(s); calls this(). | |
Dispatch(HyperView tView, int tmpFlags) | 1 statement(s); calls this(). | |
Dispatch(String tName, HyperView tView, int tmpFlags) | 4 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
public boolean begin(HyperView tView) | 37 statement(s); calls curView.keyboard.flush(), run(), e2.printStackTrace(), curView.setBackImage(), e1.printStackTrace() …; creates PrintStream. | |
public void cleanUp() | 23 statement(s). | |
public boolean run() | Returns true. | |
public void setID(int tnum) | Sets this.ID = tnum. | |
public void setView(HyperView tView) | Sets curView = tView. |
instantiation — Gadget.java, line 182
182 addDispatch(new Dispatch(curView));
subclass — Abort.java, line 6
6 public class Abort extends Dispatch
7 {
declaration — Connection.java, line 35
35 public boolean setTimer(int num,Dispatch d)
36 {
Base class of the launcher that shows a ported applet’s pane (see AsteroidsDispatch). See the Applet Migration Guide.