Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.HyperView
Source: src/com/multiversesocial/hyperview/HyperView.java
-- -- fix all class variables to be inited in constructor and not in the class declaration.
pickGob(x,y) returns the topmost Gob under a view pixel, pickGobs(x,y,includeGadgets) all of them, topmost first. Topmost = drawn last (the order of the Gob list). Gadgets (unless asked), CollisionAnimGob / ExplosionGob animations, Gobs with setPickable(false) and destroyed Gobs are never returned. A Gob with the outline flag is hit by its alpha: a click in a transparent hole falls through to the Gob behind; rotation and the z scale are respected (GobGeometry.containsPoint).selectGob(g) / getSelectedGob() / clearSelection(); the selected Gob is outlined each frame (dashed selectColor polygon and a cross at its centre). pickAndSelect(x,y) also calls Gob.onPick and the GobPickListener.pickOnClick (default false: the old behaviour): a left click which hits no Gadget selects the Gob under the pointer (nothing there clears the selection), see HyperMouse.Extends: Orange
Implements: Runnable, HyperConstants, ConnectionConstants, GetStringConstants, MenuConstants, KeyboardConstants, AnimationConstants, TextConstants, SplineConstants, ThreadReport, Externalizable, MouseWheelListener, MessagePortConstants, Scrollable, FlagBit
ambergem.gifdocument_icon.giffolder_icon.gifgreengem.gifredgem.gifsbar.gifpublic abstract class HyperView extends Orange implements Runnable, HyperConstants, ConnectionConstants, GetStringConstants, MenuConstants, KeyboardConstants, AnimationConstants, TextConstants, SplineConstants, ThreadReport, Externalizable, MouseWheelListener, MessagePortConstants, Scrollable, FlagBit
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
Graphics backImageGraphics | No comment in source; assigned in setBackImage(), expunge(). | ||
String backImageName | No comment in source; assigned in setBackImage(), expunge(). | ||
Image backImage | No comment in source; assigned in setBackImage(), expunge(); used in run(), backGroundENA(), guru(), restoreRectangle(). | ||
volatile int bGPen | No comment in source; assigned in init(), setBPen(), guru(), makeBitMap(); used in run(), setBackImage(), text(), text3D(). | ||
volatile HyperLinkedList blitterList | For asynchronous graphics update | ||
Object blitterLock | No comment in source; assigned in init(); used in run(), addStr(), text3D(), threadSafeAddGadget(), restoreRectangle(). | ||
protected transient BufferStrategy bufferStrategy | No comment in source; assigned in addNotify(); used in run(). | ||
volatile Gadget clickedGad | La volatile Gadget section. | ||
String clock | No comment in source; assigned in run(), expunge(), curTime(). | ||
int cnum | No comment in source; not referenced by name in this type’s methods. | ||
CollisionManager collisionManager | = null | No comment in source; assigned in start(), halt(), expunge(). | |
CollisionManager collisionPass | = null | Runs the COLLIDE_AT_END pass (see CollisionManager); created on first use by collisionPass(). Separate from collisionManager, the old thread object that nothing starts. | |
int collisionTaskNum | No comment in source; assigned in start(). | ||
Color[] color | No comment in source; assigned in init(); used in run(), guru(), outputStrings(), getThreads(). | ||
CLICommand[] commandBase | No comment in source; assigned in init(); used in doCommand(), showCommands(). | ||
volatile String commandString | No comment in source; assigned in init(), expunge(), inKey(), doCommand(). | ||
Thread componentContextTask | No comment in source; assigned in start(), halt(), expunge(), kickStart(); used in join(), guru(), getThreads(). | ||
volatile int componentTaskNumber | hyperView() task number | ||
boolean connected | No comment in source; not referenced by name in this type’s methods. | ||
Image[] connectGem | No comment in source; assigned in init(), expunge(); used in run(). | ||
static String connectionString | = "E0 : C0" | External Connections/Incoming connections | |
Connection connection | No comment in source; assigned in expunge(). | ||
ControlCTrap cTrap | No comment in source; assigned in run(). | ||
SuperBitmapConsole curConsole | No comment in source; assigned in expunge(). | ||
Date curDate | No comment in source; assigned in init(), expunge(), curTime(); used in run(). | ||
volatile int curFont | No comment in source; assigned in guru(), fontSizeSet(), makeBitMap(); used in text(), text3D(). | ||
volatile int curGem | No comment in source; assigned in init(), setConnectGem(), setConnectRedGem(), setConnectAmberGem(), setConnectGreenGem(); used in run(). | ||
int curHeight | No comment in source; not referenced by name in this type’s methods. | ||
HyperMenu curMenu | No comment in source; assigned in expunge(). | ||
volatile int currentExtConnectNumber | No comment in source; used in run(). | ||
int currentInConnectNumber | No comment in source; used in run(). | ||
volatile PortNode currentPortNode | No comment in source; assigned in HyperView(). | ||
public static volatile HyperView currentView | No comment in source; assigned in init(), halt(); used in run(), anyKey(), getCurView(); name appears in 1 other source file(s): PortInfo. | ||
Runtime curRun | No comment in source; assigned in init(), expunge(); used in run(). | ||
volatile Graphics cursorGraphics | No comment in source; name appears in 4 other source file(s): Gadget, GetString, HyperEditBuffer, SuperBitmapConsole. | ||
volatile Image cursorImage | No comment in source; name appears in 4 other source file(s): Gadget, GetString, HyperEditBuffer, SuperBitmapConsole. | ||
int curWidth | No comment in source; not referenced by name in this type’s methods. | ||
volatile int cX | No comment in source; assigned in setLocation(), draw(), DBVectorDraw(). | ||
volatile int cY | No comment in source; assigned in setLocation(), draw(), DBVectorDraw(). | ||
static SimpleDateFormat dateSyntax | = new SimpleDateFormat("s", Locale.getDefault()) | No comment in source; assigned in curTime(); used in init(), run(). | |
String debugStr | No comment in source; assigned in debugText(), expunge(); used in run(), outputStrings(). | ||
public static HyperDefs defaultBase | No comment in source; assigned in init(), getDefaultPort(). | ||
static final int defaultResolution | = 96 | No comment in source; not referenced by name in this type’s methods. | |
public static volatile HyperDefs defaults | No comment in source; assigned in init(), expunge(); used in resolveServerAddress(), defaultMenu(), getMainServerAddress(). | ||
int depth | No comment in source; assigned in init(). | ||
volatile boolean destroyed | No comment in source; assigned in init(), expunge(). | ||
Disconnect disconnect | No comment in source; assigned in init(), expunge(), defaultMenu(). | ||
volatile Gadget dispatchedGad | No comment in source; assigned in run(), expunge(). | ||
int displayHeight | No comment in source; assigned in getParentFrame(). | ||
int displayWidth | No comment in source; assigned in getParentFrame(). | ||
volatile int drawMode | No comment in source; assigned in init(), drawModeSet(); used in text(), text3D(). | ||
int dx1 | No comment in source; assigned in run(). | ||
int dx2 | No comment in source; assigned in run(). | ||
int dy1 | No comment in source; assigned in run(). | ||
int dy2 | No comment in source; assigned in run(). | ||
Image echoImage | No comment in source; assigned in expunge(); used in imageUpdate(). | ||
volatile int errorFlags | No comment in source; assigned in init(). | ||
volatile int eventFlags | No comment in source; assigned in init(), run(), runView(); used in fetch(). | ||
public static boolean exceptionStore | = false | Save first Exception to HyperView.dat | |
volatile HyperLinkedList externalConnectionList | No comment in source; assigned in run(). | ||
InetAddress externalHost | References to the Handlers Node lists | ||
volatile int fGPen | No comment in source; assigned in init(), setAPen(), guru(), makeBitMap(); used in run(), setBackImage(), text(), text3D(), draw() …. | ||
HyperFileDemon fileDemon | No comment in source; assigned in init(), expunge(). | ||
public static char fileSeparator | No comment in source; assigned in init(); used in copyResourceFromJarToExtDir(), copyResourceFromJarToUserDir(), copyResourceFromJarToLibDir(), copyResourceFromJarToBinDir(); name appears in 8 other source file(s): Directory, Enfora2218WhackButton, Externalizer, HyperFileList …. | ||
volatile int flags2 | No comment in source; assigned in init(), run(), setTitle(); used in fetch(), halt(), startServer(), stopServer(), expunge(). | ||
volatile int flags | No comment in source; assigned in init(), start(), halt(), run(), debugText() …; used in fetch(), imageUpdate(), outputStrings(), hyperViewOut(), dumpFlags() …. | ||
volatile int fontSize | No comment in source; name appears in 1 other source file(s): FontBase. | ||
public static FileOutputStream fp | No comment in source; assigned in init(), expunge(), hyperViewOut(); used in run(), kickStart(), flush(). | ||
Frame frame | No comment in source; assigned in init(), expunge(); used in start(), halt(), checkWM(), run(), addNotify() …. | ||
Gob frontLockedGob | No comment in source; used in run(). | ||
volatile Gadget[] gads | No comment in source; assigned in init(), run(), gadgetToFront(), addGadHead(), expunge() …; used in addGadTail(), gadsOff(), allGadgetsOn(), refreshGadList(), gadsAlignUpLeft() …. | ||
GetString[] getStringList | No comment in source; assigned in init(), expunge(), killGetS(); used in addGetString(). | ||
Gob[] GobSwapBuffer1 | layer swap buffer. | ||
Gob[] GobSwapBuffer2 | No comment in source; assigned in init(), gadgetToFront(), expunge(). | ||
Gob[] GobSwapBuffer3 | No comment in source; assigned in init(), gadgetToFront(), expunge(). | ||
volatile Gob[] gob | No comment in source; assigned in init(), run(), gobToFront(), gadgetToFront(), addGobHead() …; used in runView(), consoleGobsOn(), consoleGobsOff(), viewGobsOn(), viewGobsOff() …. | ||
volatile Gadget grabbedGad | No comment in source; assigned in expunge(); used in run(). | ||
GraphicsConfiguration[] graphicsConfiguration | No comment in source; assigned in init(); used in getParentFrame(). | ||
GraphicsDevice[] graphicsDevice | No comment in source; assigned in init(). | ||
GraphicsEnvironment graphicsEnvironment | No comment in source; assigned in init(). | ||
Object guruLock | No comment in source; assigned in expunge(); used in guru(). | ||
Graphics g | No comment in source; assigned in init(), expunge(); used in run(), drawScreen(), paint(), update(), guru() …. | ||
int height | These are Filled From display Pic | ||
String homeDir | No comment in source; assigned in expunge(). | ||
volatile boolean horizontalScrollEnable | No comment in source; assigned in scrollEnable(), scrollDisable(); used in init(), doScroll(). | ||
int hour | No comment in source; assigned in curTime(). | ||
String hr | No comment in source; assigned in expunge(). | ||
NetXec hyperExec | No comment in source; assigned in start(), halt(), expunge(). | ||
public static String hyperFileName | = DEFAULT_DATA_FILENAME | No comment in source; assigned in expunge(); used in init(), hyperViewOut(). | |
Image iconImage | No comment in source; assigned in expunge(). | ||
ImageIO imageIO | No comment in source; not referenced by name in this type’s methods. | ||
public boolean inBrowser | No comment in source; assigned in init(); used in start(), halt(). | ||
static final int INIT_FLAGS | = 8390049 (DISPLAY_ENA | OUTLINE_ENA | GOB_ENA | MENU_ENA | KEEP_RUNNING | GEM_REFRESH) | No comment in source; used in init(), run(); name appears in 3 other source file(s): PortConstants, PortInfo, PortNode. | |
boolean initConnectServerPopped | No comment in source; not referenced by name in this type’s methods. | ||
boolean initConnectServerPop | No comment in source; not referenced by name in this type’s methods. | ||
volatile boolean initialized | No comment in source; assigned in init(), halt(); used in start(), run(), paint(), initComponentBase(). | ||
volatile boolean inViewList | No comment in source; not referenced by name in this type’s methods. | ||
volatile int ioFlags | No comment in source; assigned in init(), run(); used in fetch(), getImage(), setBackImage(), playSound(). | ||
volatile int iteration | No comment in source; assigned in run(), guru(), getRunInfo(); used in start(), hyperViewOut(), singleStep(). | ||
public static String javaHome | No comment in source; assigned in init(), expunge(); used in copyResourceFromJarToExtDir(), copyResourceFromJarToLibDir(), copyResourceFromJarToBinDir(); name appears in 2 other source file(s): HyperDefs, PreferencesPane. | ||
int keyBoardTaskNum | No comment in source; assigned in start(). | ||
public static volatile HyperKeyboard keyboard | No comment in source; assigned in start(), expunge(); used in mouseWheelMoved(), run(), anyKey(), inKey(). | ||
String lastCommand | No comment in source; assigned in init(), inKey(). | ||
int lastExtConnectNumber | No comment in source; not referenced by name in this type’s methods. | ||
int lastGem | No comment in source; not referenced by name in this type’s methods. | ||
Gadget lastGetS | No comment in source; assigned in expunge(). | ||
int lastInConnectNumber | No comment in source; not referenced by name in this type’s methods. | ||
long lastRun | No comment in source; assigned in run(), getRunInfo(). | ||
int lastSize | No comment in source; assigned in run(). | ||
long lastTimeTaken | No comment in source; not referenced by name in this type’s methods. | ||
long lHyperRandomSeed | No comment in source; assigned in lRand(), lSrand(). | ||
int lineBlock | No comment in source; assigned in init(), addLine(); used in guru(). | ||
Color[] lineColor | No comment in source; assigned in init(), draw(), DBVectorDraw(), guru(), expunge() …; used in run(). | ||
int[] lineFlags | No comment in source; assigned in init(), draw(), DBVectorDraw(), guru(), expunge() …; used in run(). | ||
int LineNums | No comment in source; assigned in init(). | ||
byte[] lineSpeed | No comment in source; assigned in init(), DBVectorDraw(). | ||
int[] lineTargetX2 | No comment in source; assigned in init(), DBVectorDraw(), guru(), expunge(), addLine(). | ||
int[] lineTargetX | No comment in source; assigned in init(), DBVectorDraw(), guru(), expunge(), addLine(). | ||
int[] lineTargetY2 | No comment in source; assigned in init(), DBVectorDraw(), guru(), expunge(), addLine(). | ||
int[] lineTargetY | No comment in source; assigned in init(), DBVectorDraw(), guru(), expunge(), addLine(). | ||
int[] lineTimer | No comment in source; assigned in init(), guru(), expunge(), addLine(). | ||
int[] lineTime | No comment in source; assigned in init(), guru(), expunge(), addLine(). | ||
int[] lineX2 | No comment in source; assigned in init(), draw(), DBVectorDraw(), guru(), expunge() …; used in run(). | ||
int[] lineX | No comment in source; assigned in init(), draw(), DBVectorDraw(), guru(), expunge() …; used in run(). | ||
int[] lineY2 | No comment in source; assigned in init(), draw(), DBVectorDraw(), guru(), expunge() …; used in run(). | ||
int[] lineY | No comment in source; assigned in init(), draw(), DBVectorDraw(), guru(), expunge() …; used in run(). | ||
volatile int listenerFlags | No comment in source; assigned in init(); used in fetch(). | ||
volatile int listFlags | No comment in source; assigned in init(), run(); used in fetch(). | ||
static Object logLock | No comment in source; assigned in init(); used in hyperViewOut(). | ||
volatile boolean mainCalled | No comment in source; assigned in run(), expunge(). | ||
Graphics mainComponentGraphics | No comment in source; assigned in init(), expunge(). | ||
Image mainComponentImage | No comment in source; assigned in init(), expunge(); used in run(). | ||
Graphics mainFileFolderGraphics | No comment in source; assigned in init(). | ||
Image mainFileFolderImage | No comment in source; assigned in init(); used in getImage(). | ||
ThreadGroup mainGroup | No comment in source; assigned in expunge(). | ||
int mainListenPort | Think Amiga Copper lists :) | ||
InetAddress mainLocalServerAddress | No comment in source; assigned in init(), expunge(). | ||
Graphics mainTextFileFolderGraphics | No comment in source; assigned in init(). | ||
Image mainTextFileImage | Later will add gifs et al media | ||
MakeConnection makeConnection | No comment in source; assigned in init(), expunge(), defaultMenu(). | ||
volatile HyperLinkedList masterNodeList | No comment in source; name appears in 4 other source file(s): DisconnectTimer, HyperConnectionHandler, HyperConnectionNode, ServerViewMain. | ||
static int MAX_STACKDEPTH | = 15 | No comment in source; not referenced by name in this type’s methods. | |
volatile int memoryFlags | No comment in source; assigned in init(), run(), startServer(); used in addNotify(). | ||
HyperMenu menuBase | No comment in source; assigned in init(), expunge(), defaultMenu(), setMenu(); used in run(). | ||
Dispatch menuDispatch | No comment in source; assigned in run(), expunge(). | ||
String[] menuOpts | No comment in source; assigned in init(), expunge(); used in defaultMenu(). | ||
String[] menuText | No comment in source; assigned in expunge(). | ||
Color messageColor | No comment in source; assigned in expunge(); used in run(). | ||
Font messageFont | No comment in source; assigned in init(), expunge(); used in run(). | ||
volatile String messageString | No comment in source; assigned in expunge(), hyperStatus(); used in run(). | ||
int messageX | No comment in source; used in run(). | ||
int messageY | No comment in source; used in run(). | ||
int minute | No comment in source; assigned in curTime(). | ||
String min | No comment in source; assigned in expunge(). | ||
int mouseTaskNum | No comment in source; assigned in start(). | ||
volatile int mouseX | No comment in source; assigned in init(). | ||
volatile int mouseY | No comment in source; assigned in init(). | ||
public static volatile HyperMouse mouse | No comment in source; assigned in start(), expunge(); used in halt(), run(), gadgetToFront(), setMenu(). | ||
String nameString | No comment in source; assigned in expunge(). | ||
int netXecTaskNum | No comment in source; assigned in start(). | ||
static volatile long now | No comment in source; assigned in run(), getRunInfo(); used in runView(), updateDisplay(). | ||
public static String nullString | No comment in source; assigned in init(); name appears in 1 other source file(s): GetString. | ||
int orbitTickStamp | V3.21 orbitTick generation (skip double-advance after bubble) | ||
String p5 | For common gateway interface key handed via HTML. Confirmed User blank Key. This is here just for testing. Applet Parameter and Future SSL Application link will overwrite this. Then again nice to have a CGI interface (No SSL under NIO ATM) | ||
String p6 | No comment in source; assigned in expunge(). | ||
String p7 | No comment in source; assigned in expunge(). | ||
String p8 | No comment in source; assigned in expunge(). | ||
volatile HyperConnectionHandler parentConnectionHandler | No comment in source; used in stopServer(). | ||
public volatile GobPickListener pickListener | No comment in source. | ||
public volatile boolean pickOnClick | = false | true: a left click which hits no Gadget picks and selects a Gob (HyperMouse). Default false. | |
String privateKey | No comment in source; assigned in init(), expunge(). | ||
public static volatile int processID | = -1 | No comment in source; assigned in init(); used in expunge(); name appears in 1 other source file(s): ViewMemory. | |
HyperProcess process | No comment in source; not referenced by name in this type’s methods. | ||
String propValue | No comment in source; assigned in expunge(). | ||
String publicKey | No comment in source; assigned in init(), expunge(). | ||
int randomSeed | No comment in source; assigned in sRand(). | ||
public static Random random | = new Random((int)System.currentTimeMillis()) | No comment in source; used in rand(), sRand(). | |
int[][] rgb | No comment in source; not referenced by name in this type’s methods. | ||
int[] rotBounds | = new int[4] | No comment in source. | |
RunInfo runInfo | No comment in source; assigned in init(), expunge(); used in start(), halt(), run(), getRunInfo(). | ||
int runLag | No comment in source; assigned in getRunInfo(). | ||
long runMillis | No comment in source; assigned in run(), runView(), updateDisplay(). | ||
long runStackStart | No comment in source; assigned in runView(), updateDisplay(); used in run(). | ||
volatile int runStack | No comment in source; assigned in init(), run(); used in loadStackFrame(), saveStackFrame(). | ||
int[] scaledX | No comment in source; assigned in init(); used in run(), drawScreen(). | ||
int[] scaledY | No comment in source; assigned in init(); used in run(), drawScreen(). | ||
Graphics screenGraphics | No comment in source; assigned in init(), expunge(); used in run(), backGroundENA(), text(), pixelWrite(), guru() …. | ||
Image screenImage | No comment in source; assigned in init(), expunge(); used in run(), drawScreen(), guru(), singleStep(). | ||
public static int screenResolution | DPI scale | ||
long secondTimerMillis | No comment in source; assigned in init(), run(). | ||
long secondTimer | No comment in source; assigned in run(), setTitle(). | ||
int second | No comment in source; assigned in curTime(). | ||
String sec | No comment in source; assigned in expunge(). | ||
int[] selBounds | = new int[4] | No comment in source. | |
public static Color selectColor | = Color.yellow | Colour of the selection outline. | |
public volatile Gob selectedGob | The selected Gob of this view, or null. | ||
long selectStart | No comment in source; not referenced by name in this type’s methods. | ||
boolean serialDLLLoaded | No comment in source; assigned in init(), copyResourceFromJarToUserDir(), copyResourceFromJarToBinDir(); used in run(). | ||
boolean serialEnabled | No comment in source; assigned in init(), run(). | ||
boolean serialJarLoaded | Todo: load/run extend to other relevant platforms | ||
SerialHandler serialPortHandler | No comment in source; name appears in 6 other source file(s): GetBPSRate, SendAT, SendConnectString, SendNoEchoString …. | ||
boolean serialPropsLoaded | No comment in source; assigned in init(), copyResourceFromJarToLibDir(); used in run(). | ||
public static boolean serverNoRunEchoed | = false | No comment in source; not referenced by name in this type’s methods. | |
int sizeIndex | No comment in source; used in run(), drawScreen(). | ||
boolean SOUND_ON | No comment in source; not referenced by name in this type’s methods. | ||
AudioClip sound | No comment in source; assigned in expunge(). | ||
static int sRandomSeed | = (int)System.currentTimeMillis() | No comment in source; not referenced by name in this type’s methods. | |
String[] stackName | No comment in source; assigned in expunge(). | ||
long startTime | No comment in source; assigned in getRunInfo(). | ||
Gadget swapGad | No comment in source; assigned in expunge(); used in run(). | ||
int sx1 | No comment in source; assigned in run(). | ||
int sx2 | No comment in source; assigned in run(). | ||
int sy1 | No comment in source; assigned in run(). | ||
int sy2 | No comment in source; assigned in run(). | ||
long sysCurMillis | No comment in source; assigned in init(). | ||
long sysInitMillis | No comment in source; assigned in init(). | ||
long SystemLastMillis | No comment in source; not referenced by name in this type’s methods. | ||
volatile int[] textBGPen | No comment in source; assigned in init(), run(), text(), addStr(), text3D() …. | ||
volatile Color[][] textFadedColor | No comment in source; assigned in init(), addStr(), expunge(); used in run(), outputStrings(). | ||
volatile int[] textFadeFrame | No comment in source; assigned in init(), run(), text(), outputStrings(). | ||
volatile int[] textFGPen | No comment in source; assigned in init(), run(), text(), addStr(), text3D() …. | ||
volatile int[] textFlag | No comment in source; assigned in init(), run(), text(), addStr(), text3D() …. | ||
volatile byte[] textFont | No comment in source; assigned in init(), run(), text(), addStr(), text3D() …. | ||
volatile int[] textHeight | No comment in source; assigned in init(), text(), addStr(), expunge(). | ||
volatile int[] textLinger | No comment in source; assigned in init(), run(), text(), addStr(), text3D() …. | ||
volatile Object[] textOrigin | No comment in source; assigned in init(), run(), outputStrings(), expunge(). | ||
volatile int[] textRestart | No comment in source; assigned in init(), run(), text(), addStr(), outputStrings(). | ||
volatile String[] textStr | No comment in source; assigned in init(), run(), text(), addStr(), text3D() …. | ||
volatile int[] textTimer | No comment in source; assigned in init(), run(), text(), addStr(), outputStrings() …. | ||
volatile int[] textWidth | No comment in source; assigned in init(), text(), addStr(), expunge(). | ||
volatile int[] textX | No comment in source; assigned in init(), run(), text(), addStr(), text3D() …. | ||
volatile int[] textY | No comment in source; assigned in init(), run(), text(), addStr(), text3D() …. | ||
volatile long throttle | No comment in source; not referenced by name in this type’s methods. | ||
static final int TICKS | = 20 | No comment in source; used in init(); name appears in 1 other source file(s): HyperMouse. | |
int timeOn | No comment in source; not referenced by name in this type’s methods. | ||
long timeTaken | No comment in source; not referenced by name in this type’s methods. | ||
Graphics titleBltGraphics | No comment in source; assigned in expunge(), setTitle(), setTitlebar(). | ||
Image titleBltImage | No comment in source; assigned in expunge(), setTitle(), setTitlebar(); used in run(). | ||
Graphics titleGraphics | No comment in source; assigned in expunge(), setTitle(), setTitlebar(); used in run(). | ||
int titleHeight | No comment in source; name appears in 3 other source file(s): HyperMenu, TextPane, Titlebar. | ||
Image titleImage | No comment in source; assigned in expunge(), setTitle(), setTitlebar(). | ||
volatile String titleStr | No comment in source; assigned in run(), expunge(). | ||
int titleWidth | No comment in source; name appears in 3 other source file(s): HyperMenu, RadioGroup, Titlebar. | ||
volatile Titlebar title | No comment in source; assigned in expunge(), setTitle(), setTitlebar(); used in run(), getTitle(), addTitlebarGadget(), disableTitlebar(). | ||
volatile AnimGob tmpAnimGob | No comment in source; assigned in run(), expunge(). | ||
char tmpChar | No comment in source; assigned in inKey(). | ||
SuperBitmapConsole tmpCon | No comment in source; assigned in run(), outputStrings(), expunge(). | ||
Gadget tmpGad | No comment in source; assigned in expunge(). | ||
Gob tmpGobA | No comment in source; assigned in expunge(). | ||
Gob tmpGob | No comment in source; assigned in gobToFront(), gadgetToFront(), expunge(); used in addGobHead(). | ||
Graphics tmpGraphics | No comment in source; assigned in run(), outputStrings(), expunge(). | ||
volatile int tmpTextFlag | No comment in source; assigned in init(). | ||
String today | No comment in source; assigned in expunge(). | ||
int token | No comment in source; not referenced by name in this type’s methods. | ||
Toolkit toolkit | No comment in source; assigned in init(), expunge(). | ||
int totalColors | No comment in source; assigned in init(), loadRGB(); used in setRGB(). | ||
volatile int totalConnections | No comment in source; assigned in guru(), resetTotals(). | ||
int totalConsoles | No comment in source; assigned in init(), guru(), resetTotals(). | ||
volatile int totalGads | No comment in source; assigned in init(), run(), guru(), addGadget(), threadSafeAddGadget() …; used in addGadHead(), addGadTail(), gadsOff(), allGadgetsOn(), gadsAlignUpLeft() …. | ||
volatile int totalGetStrings | No comment in source; assigned in guru(), resetTotals(), killGetS(). | ||
volatile int totalGobs | No comment in source; assigned in init(), run(), guru(), addGob(), resetTotals(); used in gobToFront(), gadgetToFront(), addGobHead(), addGobTail(), consoleGobsOn() …. | ||
int totalLines | No comment in source; assigned in draw(), DBVectorDraw(), guru(), resetTotals(), addLine(); used in run(). | ||
int totalViewStrings | No comment in source; assigned in run(), textFlush(), textErase(), text(), addStr() …. | ||
int ty | No comment in source; assigned in run(), outputStrings(), makeBitMap(), gadsAlignUpLeft(); used in text(), addAbort(). | ||
public static String userDir | No comment in source; assigned in init(); used in copyResourceFromJarToUserDir(); name appears in 2 other source file(s): HyperDefs, IncrementalID. | ||
public static String userHome | No comment in source; assigned in init(); name appears in 1 other source file(s): Externalizer. | ||
String userName | Stub FTM | ||
String UserSubDir | No comment in source; assigned in expunge(). | ||
volatile boolean verticalScrollEnable | For Scrollable interface | ||
int videoSynch | No comment in source; not referenced by name in this type’s methods. | ||
static volatile int viewIndexBase | = 0 | No comment in source; not referenced by name in this type’s methods. | |
volatile HyperViewLink viewLink | No comment in source; assigned in init(); used in run(). | ||
static volatile HyperLinkedList viewList | = new HyperLinkedList("ViewList") | No comment in source; used in run(), getViewList(); name appears in 2 other source file(s): AWTEventManager, ViewMemory. | |
public static volatile ViewMemory viewMemory | No comment in source; assigned in init(); used in halt(). | ||
volatile int viewNumber | No comment in source; used in halt(), run(), expunge(). | ||
int viewSize | No comment in source; assigned in init(). | ||
int viewXOffset | No comment in source; assigned in init(), doScroll(), run(). | ||
int viewYOffset | No comment in source; assigned in init(), doScroll(), run(). | ||
volatile boolean visitingTheGuru | No comment in source; assigned in guru(). | ||
volatile long waitTime | No comment in source; assigned in init(), setWaitTime(), guru(), getRunInfo(); used in run(), outputStrings(). | ||
long waitValue | No comment in source; not referenced by name in this type’s methods. | ||
int whackOn | No comment in source; assigned in init(). | ||
String whackStr | No comment in source; assigned in init(), expunge(). | ||
int width | No comment in source; assigned in init(), run(), makeBitMap(); used in setBackImage(), imageUpdate(), guru(), getParentFrame(), singleStep() …. | ||
Window window | No comment in source; assigned in init(), expunge(); used in run(). | ||
int xOffset | No comment in source; name appears in 6 other source file(s): AnimGob, Externalizer, Octant, SerialHandler …. | ||
int x | No comment in source; assigned in run(), dumpFlags(), dumpGobFlags(), dumpGadgetFlags(); used in drawScreen(), imageUpdate(), text3D(), pixelWrite(), DBVectorDraw(). | ||
int yOffset | No comment in source; name appears in 4 other source file(s): Octant, SerialHandler, SerialPane, SerializedObject. | ||
int y | No comment in source; assigned in run(); used in drawScreen(), imageUpdate(), text3D(), pixelWrite(), DBVectorDraw(). |
| Signature | Description | Source |
|---|---|---|
HyperView() | 1 statement(s); calls super(). | |
HyperView(HyperView tView) | 1 statement(s); calls super(). | |
HyperView(STDInputHandler tSTDInputHandler) | Invoked from SDTINputHandler CLI command |
| Signature | Description | Source |
|---|---|---|
public Gadget addAbortRight() | 7 statement(s); calls a.move(), a.addDispatch(); creates Gadget, Abort. | |
public Gadget addAbortRight(Gob tGob) | 10 statement(s); calls a.move(), a.addDispatch(), a.toFront(), tGob.addGob(); creates Gadget, Abort. | |
public Gadget addAbortRight(Gob tGob, Abort tAbort) | 8 statement(s); calls a.move(), a.addDispatch(), tGob.addGob(); creates Gadget. | |
public Gadget addAbort(Gadget tGadget, Abort tAbort) | 8 statement(s); calls a.move(), a.addDispatch(), tGadget.addGob(); creates Gadget. | |
public Gadget addAbort(Gadget tGadget, int tx, int ty) | 8 statement(s); calls a.move(), a.addDispatch(), tGadget.addGob(); creates Gadget, Abort. | |
public Gadget addAbort(HyperView tView) | 7 statement(s); calls a.move(), a.addDispatch(); creates Gadget, Abort. | |
public Gadget addAbort(int pX, int pY) | 5 statement(s); calls gads[totalGads - 1].addDispatch(); creates Gadget, Abort. | |
public void addCircle(Circle c) | 5 statement(s); creates HyperLine. | |
public int addConsole(SuperBitmapConsole hc) | what me add ;) | |
public int addGadget(Gadget tGad) | Returns addGadget(tGad, 0). | |
public int addGadget(Gadget tGad, int tFlags) | Returns potemtially transient Gadget index in gadget list | |
public void addGadHead() | 5 statement(s). | |
public void addGadTail() | 1 statement(s). | |
public void addGetString(GetString tGetString) | 1 statement(s). | |
public void addGobHead(Gob tmpGob) | 7 statement(s); calls addGob(), errOut(), refreshGobList(). | |
public void addGobTail() | 1 statement(s); calls refreshGobList(). | |
public int addGob(Gob tGob) | 5 statement(s); calls StackTrace.show(), System.exit(), tGob.gobName.length(). | |
public void addLine(HyperLine tmpLine) | 16 statement(s). | |
public void addNotify() | 2 statement(s); calls super.addNotify(), frame.getBufferStrategy(), frame.createBufferStrategy(). | |
public void addStr(DBText tStr) | 17 statement(s); calls statusText(), notifyAll(). | |
public void addStr(DBText[] tStr) | 3 statement(s); calls addStr(), blitterLock.notifyAll(). | |
public void addTitlebarGadget(Gadget tGadget) | 2 statement(s); calls title.addGob(); creates HyperPop. | |
public void addView(HyperView tView) | ///////// | |
public void alert(String tString) | 1 statement(s); creates HyperPop. | |
public void allGadgetsOn() | 3 statement(s); calls allGobsOn(). | |
public void allGobsOff() | 2 statement(s). | |
public void allGobsOn() | 2 statement(s). | |
public static void anyKey() | 1 statement(s); calls anyKey(). | |
public static void anyKey(String msg) | 6 statement(s); calls currentView.getOrangeContext().showStatus(), currentView.getOrangeContext(), tWaitObject.wait(); creates Object. | |
public void backGroundENA() | 1 statement(s); calls statusText(). | |
public void bubbleGobZ(Gob g) | V3.21: bubble gob in gob[] by descending Z (high z / far first = low index). Low index is drawn first (behind). Mirrors ContGobBubbleZ. | |
public void checkWM() | 5 statement(s); calls frame.getToolkit(), tToolkit.isFrameStateSupported(). | |
public void clearSelection() | No comment in source. | |
public void cls() | 2 statement(s). | |
public static void cls(HyperView tView) | 2 statement(s). | |
void collisionPass() | Called from run() once per display frame, right after the per-Gob step/draw loop. Creates collisionPass on first use and calls collide(this) on the current Dispatch frame’s Gob list; returns at once if there are no Gobs (or fewer than 2 and no manager yet). Exceptions are caught so a collision problem cannot stop the display loop. | |
public void consoleGobsOff() | 2 statement(s). | |
public void consoleGobsOn() | 2 statement(s). | |
public void conZENA() | 2 statement(s); calls gob[v].zENA(). | |
void copyResourceFromJarToBinDir(String tDll) | 5 statement(s); calls getClass().getClassLoader().getResourceAsStream(), getClass().getClassLoader(), getClass(), outFile.toString(), binStream.read() …; creates BufferedInputStream, File, BufferedOutputStream. | |
void copyResourceFromJarToExtDir(String tResource) | 5 statement(s); calls getClass().getClassLoader().getResourceAsStream(), getClass().getClassLoader(), getClass(), binStream.read(), boutStream.write() …; creates BufferedInputStream, File, BufferedOutputStream. | |
void copyResourceFromJarToLibDir(String tDll) | 5 statement(s); calls getClass().getClassLoader().getResourceAsStream(), getClass().getClassLoader(), getClass(), binStream.read(), boutStream.write() …; creates BufferedInputStream, File, BufferedOutputStream. | |
void copyResourceFromJarToUserDir(String tDll) | 5 statement(s); calls getClass().getClassLoader().getResourceAsStream(), getClass().getClassLoader(), getClass(), binStream.read(), boutStream.write() …; creates BufferedInputStream, File, BufferedOutputStream. | |
public URL createURL(String path) | 1 statement(s); calls getCodeBase().toURI().resolve(path).toURL(), getCodeBase().toURI().resolve(), getCodeBase().toURI(), getCodeBase(), e.printStackTrace(). | |
public void curTime() | 9 statement(s); calls Locale.getDefault(), Integer.parseInt(), dateSyntax.format(), dateSyntax.applyPattern(); creates Date, SimpleDateFormat. | |
public void DBVectorDraw(int x, int y, int x2, int y2, int destx, int desty, int destx2, int desty2, int tLineSpeed) | 15 statement(s). | |
public void debugText(String str) | 2 statement(s). | |
public void defaultMenu() | 9 statement(s); calls Integer.parseInt(), menuBase.menuDispatch[hvZ].setID(); creates HyperMenu, MakeConnection, Dispatch. | |
public void disableBackground() | 1 statement(s). | |
public void disableTitlebar() | 3 statement(s). | |
public void doCommand() | 9 statement(s); calls st.hasMoreTokens(), st.nextToken(), commandString.toLowerCase().compareTo(), commandString.toLowerCase(), commandBase[i].commandString.compareTo() …; creates StringTokenizer. | |
public void doCommand(String tCommandString) | 10 statement(s); calls st.hasMoreTokens(), st.nextToken(), tCommandString.toLowerCase().compareTo(), tCommandString.toLowerCase(), tCommandBase[i].commandString.compareTo() …; creates StringTokenizer. | |
public void doScroll(int tX, int tY) | 4 statement(s); calls scrollEnable(), hyperViewOut(). | |
public void drawModeSet(int flag) | 1 statement(s). | |
public void drawScreen() | 1 statement(s); calls g.drawImage(). | |
boolean drawSelection() | Outline the selected Gob (called by run() each frame after the Gobs are drawn; display thread). | |
public void draw(int tX, int tY) | 10 statement(s). | |
public void dumpFlags(String tString) | 28 statement(s); calls hyperViewOut(). | |
public void dumpGadgetFlags() | 4 statement(s); calls hyperViewOut(). | |
public void dumpGobFlags() | 4 statement(s); calls hyperViewOut(). | |
public void dumpGobs() | 2 statement(s); calls hyperViewOut(), gob[i].toString(). | |
public void dumpObjectTree(Object obj) | 2 statement(s); calls ((Component)obj).getParent(), hyperViewOut(), obj.getClass().getName(), obj.getClass(), ((Component)parent).getParent() …. | |
public void errOut(String str) | 1 statement(s); calls getOrangeContext().showStatus(), getOrangeContext(), delay(). | |
public void expunge() | 111 statement(s); calls PortInfo.close(), mouse.halt(), mouse.notifyAll(), mainComponentImage.flush(), mainComponentGraphics.dispose() …. | |
public int fetch() | Returns flags. | |
public int fetch(int tIndex) | 3 statement(s). | |
public int fetch(int[] tFlags) | 7 statement(s). | |
public void flush() | 2 statement(s); calls textFlush(), fp.flush(), any.printStackTrace(). | |
public void fontSizeSet(int size) | 2 statement(s); calls statusText(). | |
public void gadgetToFront(Gadget rGad) | Better sit down before you try to digest this. It is at times like this I wish I used a linked list. Only at times like this. This was the easy way to do this. Note: you MUST have the HyperView.blitterLock monitor or this is NOT | |
public void gadsAlignUpLeft(int tYOffset) | 2 statement(s); calls gads[i].move(). | |
public void gadsAndGobsOff() | 2 statement(s); calls gadsOff(), viewGobsOff(). | |
public void gadsAndGobsOn() | 2 statement(s); calls viewGobsOn(), allGadgetsOn(). | |
public void gadsOff() | 2 statement(s). | |
public Image getCursor(GetString tString) | 6 statement(s); calls tView.createImage(), tCursorImage.getGraphics(), tView.getImageFromJar(), tView.getOrangeContext().getImage(), tView.getOrangeContext() …; creates URL. | |
public static HyperView getCurView() | Returns currentView. | |
public static String getDefaultHost() | 3 statement(s); creates HyperPreferences. | |
public static int getDefaultPort() | 3 statement(s); calls HyperView.getCurView(); creates HyperDefs. | |
public String getHome() | Returns sysProperty("user.home"). | |
public Image getImageFromJar(String fileName) | 5 statement(s); calls resolveResourceURL(), getOrangeContext().getImage(), getOrangeContext(), hyperViewOut(). | |
public Image getImage(String tImageName) | 3 statement(s); calls getImageFromJar(), getCodeBase(), getOrangeContext().getImage(), getOrangeContext(), System.exit() …; creates URL. | |
String getMainServerAddress() | Returns defaults.listenHost.value. | |
public static int getNextViewIndex() | Returns HyperView.viewIndexBase++. | |
public Frame getParentFrame() | 5 statement(s); calls getParent(), ((Component)parent).getParent(), hyperViewOut(), parent.getClass().getName(), parent.getClass() …. | |
public RunInfo getRunInfo() | 7 statement(s). | |
public Gob getSelectedGob() | No comment in source. | |
public String getTextFlags(int fl) | 22 statement(s). | |
public String[] getThreads() | 12 statement(s); calls color[2].darker(), componentContextTask.activeCount(), componentContextTask.enumerate(), curThreads[v].toString(). | |
public String getTitle() | 2 statement(s). | |
public static HyperLinkedList getViewList() | Returns viewList. | |
public static HyperView getView() | 4 statement(s); calls IncrementalID.reset(); creates ViewMain, HyperFrame. | |
private void gobFloatCenter(Gob g, double[] outXY) | Absolute float center of gob: orbit float if orbiting, else int xy + base/2. | |
public void gobToFront(Gob rGob) | todo add gadget check/flagging | |
public void guru(Exception e, String str) | 2 statement(s); calls guru(). | |
public void guru(Exception e, int flag) | 8 statement(s); calls color[2].darker(), screenGraphics.setColor(), screenGraphics.fillRect(), drawModeSet(), componentContextTask.activeCount() …. | |
public void guru(String str) | 2 statement(s); calls guru(). | |
public synchronized void halt() | 21 statement(s); calls ViewMemory.removeLocalView(), frame.removeMouseWheelListener(), AWTEventManager.deactivate(), hyperExec.removeAllThreads(), mouse.halt() …. | |
public static Class<?> hvForName(String name) throws ClassNotFoundException | Resolve a HyperView class name, accepting bare or fully-qualified names. | |
public void hyperStatus(String tString) | Sets messageString = tString. | |
public static void hyperViewOut(String tData) | 1 statement(s); calls fnfe.printStackTrace(), fp.write(), tData.getBytes(), fp.flush(), i.toString() …; creates FileOutputStream. | |
public void hyperViewOut(String Data, Object lock) | 3 statement(s); calls prefix.length(), fp.write(), prefix.getBytes(), fp.flush(), statusText() …; creates FileOutputStream. | |
public void hyperViewOut(String Data, OutputStream File) | 8 statement(s); calls prefix.length(), File.write(), prefix.getBytes(), File.flush(). | |
public boolean imageUpdate(Image img, int infoFlags, int x, int y, int width, int height) | 2 statement(s); calls statusText(). | |
public void initComponentBase() | OrangeStub required methods | |
public void init() | ////////////// | |
public void inKey() | 4 statement(s); calls tmpKey.getKeyChar(), commandString.length(), commandString.substring(), commandString.charAt(), doCommand() …. | |
public void join() throws InterruptedException | 2 statement(s); calls tThread.join(); creates InterruptedException. | |
public String kickStart() | 4 statement(s); calls componentContextTask.start(), tThread.interrupt(), rs.printStackTrace(); creates Thread, PrintStream. | |
public void killGads() | 3 statement(s). | |
public void killGetS() | 3 statement(s). | |
public void lineWait() | 1 statement(s). | |
public void loadRGB(int[][] vals, int num) | 5 statement(s); calls errOut(); creates Color. | |
public void loadStackFrame() | 1 statement(s). | |
public void loadStackFrame(int tNum) | 1 statement(s). | |
public long lRand(long Range) | 4 statement(s). | |
public void lSrand(long tSeed) | Sets lHyperRandomSeed = tSeed. | |
public abstract boolean main() | Abstract method; implemented by subclasses. | |
public static void main(String[] args) | 6 statement(s); calls IncrementalID.reset(), hvForName(), any.printStackTrace(); creates ViewMain, HyperFrame. | |
public void makeBitMap(Gadget tGad) | 60 statement(s); calls screenGraphics.getFontMetrics(), tGad.gobName.length(), createImage(), tGad.gobPic.getGraphics(), tGad.selectImage.getGraphics() …. | |
public void mouseWheelMoved(MouseWheelEvent e) | 3 statement(s); calls gd.mouseWheelMoved(). | |
public void orangeResize(int width, int height) | 1 statement(s); calls setSize(). | |
public void orbitTick() | V3.21: advance all orbiting gobs once per display frame (call before gob paint). Depth inverted vs Cont: Y max (sin_ra=+1) => near (low z). | |
public void outputStrings() | 4 statement(s); calls screenGraphics.setColor(), screenGraphics.fillRect(), screenGraphics.getFontMetrics(), screenGraphics.setFont(), screenGraphics.drawString() …. | |
public void paint(Graphics g) | Component paint hook - drive a display refresh when initialized. | |
public Gob pickAndSelect(int x, int y) | pickGob(x,y) then selectGob() of the result (null clears), pick listener and Gob.onPick(). Returns the Gob. | |
boolean pickCandidate(Gob g, boolean gadgets) | No comment in source. | |
public Gob[] pickGobs(int x, int y, boolean includeGadgets) | Every Gob at x,y, topmost first (a new array, possibly empty). | |
public Gob pickGob(int x, int y) | The topmost Gob (not a Gadget) at the view pixel x,y, or null. | |
public Gob pickGob(int x, int y, boolean includeGadgets) | Same; includeGadgets: Gadgets can be returned too. | |
public void pixelWrite(int x, int y) | 2 statement(s); calls screenGraphics.fillRect(). | |
public void playSound(String Name) | 2 statement(s); calls Name.length(), getClass().getResource(), getClass(), getCodeBase(), getAudioClip() …; creates java.net.URL. | |
public static int rand() | Returns random.nextInt(). | |
public int rand(int tRange) | Returns random.nextInt(tRange). | |
public static int rand(int tSeed, int tRange) | 2 statement(s); calls random.setSeed(), random.nextInt(). | |
public void readExternal(ObjectInput in) | 1 statement(s). | |
public void refreshGadList() | 1 statement(s). | |
public void refreshGobList() | 1 statement(s). | |
public void remGad(Gadget rGadget) | 1 statement(s). | |
public void remGob(Gob rGob) | 1 statement(s). | |
public void resetTotals() | Sets totalLines = totalViewStrings = totalGobs = totalGads = totalGetStrings = totalConnections = totalCo. | |
public static URL resolveResourceURLStatic(String fileName) | 6 statement(s); calls anchor.getResource(), f.exists(), f.toURI().toURL(), f.toURI(); creates java.io.File. | |
public URL resolveResourceURL(String fileName) | Locate a bundled media resource (jar/classes) or fall back to a loose file. | |
InetAddress resolveServerAddress() | 6 statement(s); calls InetAddress.getByName(), tInetAddress.toString(), any.printStackTrace(), st.countTokens(), st.hasMoreTokens() …; creates StringTokenizer. | |
public void restoreRectangle(int tmpX, int tmpY, int tWidth, int tHeight) | 3 statement(s); calls screenGraphics.drawImage(), blitterLock.notifyAll(). | |
public boolean runView() | 3 statement(s); calls run(). | |
public boolean runView(DBText dbt, int tMilliSecs) | 2 statement(s); calls addStr(), runView(). | |
public boolean runView(DBText[] dbt, int tMilliSecs) | 5 statement(s); calls addStr(), runView(). | |
public boolean runView(int tMilliSecs) | 4 statement(s); calls run(), ex2.printStackTrace(). | |
public synchronized void run() | 60 statement(s); calls Thread.currentThread(), window.toFront(), curRun.addShutdownHook(), main(), setBackImage() …; creates ControlCTrap, HyperPop, PrintStream. | |
public void saveStackFrame() | 1 statement(s). | |
public void saveStackFrame(int tNum) | 1 statement(s). | |
public void scrollDisable() | Sets verticalScrollEnable = horizontalScrollEnable = false. | |
public void scrollEnable() | Sets verticalScrollEnable = horizontalScrollEnable = true. | |
public void selectGob(Gob g) | Make g (or null: nothing) the selected Gob; Gob.onDeselect() / onSelect() are called. | |
public void setAPen(int num) | Sets fGPen = num. | |
public int setBackImage(String tName) | 5 statement(s); calls createImage(), backImage.getGraphics(), backImageGraphics.setColor(), backImageGraphics.fillRect(), backImageGraphics.drawString() …; creates URL. | |
public void setBPen(int num) | Sets bGPen = num. | |
public void setConnectAmberGem(int tGemNumber) | 2 statement(s). | |
public void setConnectGem(int tGemNumber) | 2 statement(s). | |
public void setConnectGreenGem(int tGemNumber) | 2 statement(s). | |
public void setConnectRedGem() | 2 statement(s). | |
public void setLocation(int tX, int tY) | 2 statement(s). | |
public void setMenu(HyperMenu tMenu) | 1 statement(s); calls mouse.notifyAll(). | |
public void setRGB(int[] vals, int num) | 1 statement(s); calls errOut(); creates Color. | |
public void setTitlebar(Titlebar tTitle) | 11 statement(s); calls remGad(). | |
public void setTitle(String tMsg) | 12 statement(s); calls StackTrace.show(); creates Titlebar. | |
public void setWaitTime(int num) | 2 statement(s). | |
public void showCommands() | 3 statement(s); calls hyperViewOut(), commandBase[i].getClass().getName(), commandBase[i].getClass(). | |
public void singleStep(String v) | 2 statement(s); calls g.drawImage(), anyKey(). | |
public void sRand(int tSeed) | 2 statement(s); calls random.setSeed(). | |
public void stackTimerOff() | 1 statement(s). | |
public void startServer() | 1 statement(s). | |
public synchronized void start() | 22 statement(s); calls delay(), hyperExec.start(), hyperExec.addThread(), keyboard.setView(), keyboard.start() …; creates NetXec, HyperKeyboard, HyperMouse. | |
public void statusText(String str) | 1 statement(s); calls getOrangeContext().showStatus(), getOrangeContext(). | |
public void statusText(String str, Object lock) | 1 statement(s); calls getOrangeContext().showStatus(), getOrangeContext(). | |
public static void stepDisplay(HyperView tView) | 2 statement(s); calls tView.runView(), HyperView.anyKey(). | |
public void stopServer() | 7 statement(s); calls parentConnectionHandler.halt(), tTask.interrupt(), delay(). | |
public String sysProperty(String property) | 3 statement(s); calls statusText(), System.getProperty(), errOut(). | |
public void text3D(String str, int x, int y) | 1 statement(s); calls statusText(), blitterLock.notifyAll(). | |
public void textErase() | 2 statement(s). | |
public void textFade(String tString, int tX, int tY, int tOnTimer, int tRepeat) | 2 statement(s); creates FadeText. | |
public void textFlush() | 2 statement(s). | |
public void text(String str, int tx, int ty) | 17 statement(s); calls statusText(), screenGraphics.getFontMetrics(). | |
public int threadSafeAddGadget(Gadget tGad, int tFlags) | The asumption here; gob didnt overflow if Gadgets didn't | |
public void updateDisplay() | 1 statement(s); calls run(), any.printStackTrace(). | |
public void updateDisplay(Object notifier) | 6 statement(s); calls run(), notifier.notifyAll(). | |
public void update(Graphics g) | 2 statement(s). | |
public void viewGobsOff() | 2 statement(s). | |
public void viewGobsOn() | 2 statement(s). | |
public void waitForImageBlt(Graphics destGraphics, Image sourceImage, int sourceX, int sourceY, int sourceX2, int sourceY2, int destX, int destY, int destX2, int destY2) | 2 statement(s); calls destGraphics.drawImage(), delay(). | |
public boolean waitForText() | 4 statement(s); calls runView(). | |
public static void waitThenExit(int tMillis) | 1 statement(s); calls HyperView.delay(). | |
public void waitTillViewRuns() | 2 statement(s); calls tObject.wait(); creates Object. | |
public void wake() | 1 statement(s); calls notify(). | |
public int writeDirect(byte tByte) | Returns 1. | |
public int writeDirect(byte[] tByte) | Returns 1. | |
public int writeDirect(char tChar) | Returns 1. | |
public int writeDirect(char[] tChar) | Returns 1. | |
public int writeDirect(int tInt) | Returns 1. | |
public int writeDirect(int[] tInt) | Returns 1. | |
public void writeExternal(ObjectOutput out) | 1 statement(s). | |
public void writePixel(int putX, int putY) | 1 statement(s); creates Pixel. | |
public int write(byte tByte) | Returns 1. | |
public int write(byte[] tByte) | Returns 1. | |
public int write(char tChar) | Returns 1. | |
public int write(char[] tChar) | Returns 1. | |
public int write(int tInt) | Returns 1. | |
public int write(int[] tInt) | Returns 1. | |
public void zENA() | 2 statement(s). | |
public void zOff() | 2 statement(s). | |
static { … } | Implicit default constructor generated by the compiler (not written in the source). |
Fields: flags1, orangeContext, orangeStub, streamMap
Methods: delay(int), getAccessibleContext(), getAppletContext(), getAppletStub(), getAudioClip(URL), getAudioClip(URL, String), getCodeBase(), getComponent(String), getComponentList(), getDocumentBase(), getFlags(), getID(), getImage(URL), getImage(URL, String), getInputStream(String), getLocale(), getOrange(String), getOrangeContext(), getOranges(), getParameter(String), getParameterInfo(), getRunnable(), getSound(URL), getStream(String), getStreamKeys(), getThread(), isActive(), newAudioClip(URL), play(URL), play(URL, String), setFlags(int), setInputStream(String, InputStream), setSize(Dimension), setSize(int, int), setStream(String, InputStream), setStub(OrangeStub), showDocument(URL), showDocument(URL, String), showDocument(URL, String, int), showFlags(), showStatus(String)
subclass — ServerViewMain.java, line 7
6 //
7 public class ServerViewMain extends HyperView
8 {
static call — AWTEventManager.java, line 75
75 HyperView.hyperViewOut("AWT: illegal event source");
constant — Gob.java, line 285
285 infoString = HyperView.EMPTY_STRING;
The abstract base of ViewMain, which ported applets extend. Its display loop calls onClick()/onRelease() on clicked gadgets (lines 1885–1903) and mouseWheelMoved() forwards the wheel to the focused gadget (lines 1097–1106). See the Applet Migration Guide.