Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.ViewMemoryButton
Source: src/com/multiversesocial/hyperview/ViewMemoryButton.java
tidy little inner class to dispatch the event Here is the "Trick" remember HyperView is -> "Reentrant" so When the Dispatch.class returns from its run() it
matrix1.jpgpublic class ViewMemoryButton extends Gadget
| Signature | Description | Source |
|---|---|---|
ViewMemoryButton(HyperView tView, int tX, int tY) | 2 statement(s); calls super(), addDispatch(); creates ViewMemoryButtonDispatch. |
class ViewMemoryButtonDispatch extends Dispatch
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
ViewMemoryButton parentMemoryButton | No comment in source; assigned in ViewMemoryButtonDispatch(). |
| Signature | Description | Source |
|---|---|---|
ViewMemoryButtonDispatch(ViewMemoryButton tParentMemoryButton) | 2 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
public boolean run() | 8 statement(s); calls curView.setTitle(), curView.setBackImage(), tViewMemoryPane.center(), curView.addAbort(), curView.runView(); creates ViewMemoryPane. |
Fields: backColor, conFont, cursorGraphics, cursorHeight, cursorImage, cursorName, cursorScrollXOffset, cursorScrollYOffset, cursorWidth, cursorX, cursorY, displayInfo, fGColor, flipCount, font, gadFlags, gadFlags2, gadNumber, keyboard, lastCursorX, lastCursorY, lineColorA, lineColorB, lineColorC, locked, method, parentTitlebar, stringHeight, stringWidth, stringX, stringY, tc1, tc2, tc3, tc4
Methods: addDispatch(Dispatch), allKeyMsgENA(), cleanUp(), drawCursor(), drawOutline(), drawOutline2(), getForeground(), inKey(), inString(String), isEnabled(), isShowing(), isVisible(), keyReleaseENA(), keyTypedENA(), layerDisable(), layerENA(), makeBitmap(Font), mouseWheelMoved(MouseWheelEvent), onMouseOver(), setEnabled(boolean), setForeground(int), setName(String), setVisible(boolean), toFront(), toString(), updateText()
Fields: asynchGraphics1, asynchGraphics2, asynchImage1, asynchImage2, attachedGob, attachedIndex, backGround, bgMemoryImageSource, bGPen, bottomMax, clickX, clickY, collisionClassMask, curAttached, currentZIndex, curView, depth, destGob, destGraphics, dispatchHoldCount, drawMode, dX, dY, dZ, fgMemoryImageSource, fGPen, gobEventFlags, gobFlags, gobFlags2, gobGadIndex, gobHx, gobHy, gobHz, gobName, gobNumber, gobOrbitRadius, gobPic, gobTypeFlags, graphics, gravity, height, heightBase, hSin, hyp, infoString, lClickX, lClickY, leftMin, maxAttached, memoryCounter, moveNum, mX, mX2, mY, mY2, oldX, oldY, oldZ, orbitGob, rightMax, scanLine, selectGraphics, selectImage, selectTime, spline, tint, topMin, totalAttached, width, widthBase, wSin, x, x2, y, y2, z
Methods: addGob(Gob), addSpline(Spline), center(), collisionOff(), collisionOn(), disable(), enable(), getGraphics(), getImageFromJar(String), getPixels(), gobZInit(), initScanline(int), inView(), isInView(), isMemoryImageSource(), move(int, int), move(Gadget, int, int), moveNext(), onClick(), onDisplay(), onRelease(), printGobAttr(HyperView), printScanLines(), remGob(), remove(), zENA(), zOff()
Fields: attachment, index, linkFlags, name, next, parentList, prev
Methods: inList()
instantiation — ViewMain.java, line 375
375 ViewMemoryButton tViewMemoryButton = new ViewMemoryButton((HyperView)this,380,96);
declaration — MemoryImageButton.java, line 28
28 ViewMemoryButton parentMemoryButton; // As an inner class we want a reference to the parent class