Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.MemoryImageButton
Source: src/com/multiversesocial/hyperview/MemoryImageButton.java
MemoryImageButton by Tony Swain Nov 3 2019 A button (Gadget.class) that invokes a " ViewMemoryButtonDispatch.class" (Dispatch.class)
public class MemoryImageButton extends Gadget
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
MemoryImageGobPane memoryImageGobPane | A BasicPane is like a Window. |
| Signature | Description | Source |
|---|---|---|
MemoryImageButton(HyperView tView, int tX, int tY) | 2 statement(s); calls super(), addDispatch(); creates ViewMemoryButtonDispatch. | |
MemoryImageButton(HyperView tView) | 2 statement(s); calls super(), addDispatch(); creates ViewMemoryButtonDispatch. |
class ViewMemoryButtonDispatch extends Dispatch
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
ViewMemoryButton parentMemoryButton | As an inner class we want a reference to the parent class in order to make absolute class variabl references |
| Signature | Description | Source |
|---|---|---|
ViewMemoryButtonDispatch(HyperView tView) | in order to make absolute class variabl references |
| Signature | Description | Source |
|---|---|---|
public boolean run() | 6 statement(s); calls memoryImageGobPane.center(), curView.setTitle(), curView.runView(); creates MemoryImageGobPane. |
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 286
286 Gadget memoryImageGadget = new MemoryImageButton(this,300,600);