Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.HyperNumberPop
Source: src/com/multiversesocial/hyperview/HyperNumberPop.java

HyperNumberPop

HyperView V3.2 — class
version V3.2 class

Summary

super(1,2,3,4,5);

Source file: HyperNumberPop.java

Hierarchy

Extends: BasicPane

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

public class HyperNumberPop extends BasicPane

Declared in src/com/multiversesocial/hyperview/HyperNumberPop.java, lines 6–267. 24 field(s), 7 constructor(s), 1 method(s), plus 2 nested type(s). Every member has an anchor you can link to (e.g. HyperNumberPop.html#<id>).

Fields (24)

DeclarationValue / initializerDescriptionSource
Gadget abortGadgetNo comment in source; assigned in HyperNumberPop().line 18
int abortHeightNo comment in source; assigned in HyperNumberPop().line 13
int abortWidthNo comment in source; assigned in HyperNumberPop().line 13
int abortXNo comment in source; assigned in HyperNumberPop().line 13
int abortYNo comment in source; assigned in HyperNumberPop().line 13
static final int CHAR_PADDING= 120 (constant)No comment in source; used in HyperNumberPop().line 8
GetString[] getStringNo comment in source; assigned in HyperNumberPop().line 19
int getStringWidthNo comment in source; assigned in HyperNumberPop().line 20
int getStringXNo comment in source; assigned in HyperNumberPop().line 21
int getStringYNo comment in source; assigned in HyperNumberPop().line 22
String message= HyperView.EMPTY_STRINGNo comment in source; assigned in HyperNumberPop(); used in update().line 10
int messageWidthNo comment in source; assigned in HyperNumberPop(); used in update().line 15
int messageX= 0No comment in source; assigned in HyperNumberPop(), update().line 14
int messageYNo comment in source; assigned in HyperNumberPop(), update().line 14
Color nameColorNo comment in source; assigned in HyperNumberPop(); used in update().line 16
Gadget okGadgetNo comment in source; assigned in HyperNumberPop().line 17
int okHeightNo comment in source; assigned in HyperNumberPop().line 12
int okWidthNo comment in source; assigned in HyperNumberPop().line 12
int okXNo comment in source; assigned in HyperNumberPop().line 12
int okYNo comment in source; assigned in HyperNumberPop().line 12
static final int POP_ABORTED= 1 (constant)No comment in source; used in HyperNumberPop(); name appears in 2 other source file(s): Externalizer, HyperStringPop.line 9
int popFlagsNo comment in source; assigned in HyperNumberPop().line 24
int totalGetStringsNo comment in source; assigned in HyperNumberPop().line 23
int totalStringsNo comment in source; assigned in HyperNumberPop().line 11

Constructors (7)

SignatureDescriptionSource
HyperNumberPop()20 statement(s); calls super(); creates Color.line 26
HyperNumberPop(HyperView tView)1 statement(s); calls this().line 49
HyperNumberPop(HyperView tView, String tString)1 statement(s); calls this().line 54
HyperNumberPop(HyperView tView, int maxChars)1 statement(s); calls this().line 59
HyperNumberPop(String tStr, HyperView tView, int maxChars)1 statement(s); calls this().line 64
HyperNumberPop(HyperView tView, String tmsg, int maxChars)1 statement(s); calls this().line 69
HyperNumberPop(HyperView tView, int tX, int tY, String tmsg, int maxChars, int numGetStrings)58 statement(s); calls super(), tView.screenGraphics.getFontMetrics(), graphics.setFont(), graphics.getFontMetrics(), okGadget.move() …; creates Color, Gadget, GetString.line 76

Methods (1)

SignatureDescriptionSource
public synchronized void update()6 statement(s); calls graphics.setColor(), graphics.fillRect(), graphics.drawString().
Overrides BasicPane.update()
line 175

Nested & additional classes

OKDispatch (nested type, lines 192–231)

class OKDispatch extends Dispatch

Fields (1)

DeclarationValue / initializerDescriptionSource
HyperNumberPop parentPop= nullNo comment in source; assigned in OKDispatch(); used in begin().line 194

Constructors (2)

SignatureDescriptionSource
OKDispatch()1 statement(s); calls super().line 196
OKDispatch(HyperNumberPop tp)2 statement(s); calls super().line 201

Methods (2)

SignatureDescriptionSource
public boolean begin(HyperView tView)6 statement(s).
Overrides Dispatch.begin()
line 220
public boolean run()Returns true.
Overrides Dispatch.run()
line 206

AbortDispatch (nested type, lines 233–266)

class AbortDispatch extends Dispatch

Fields (1)

DeclarationValue / initializerDescriptionSource
HyperNumberPop parentPop= nullNo comment in source; assigned in AbortDispatch(); used in begin().line 235

Constructors (2)

SignatureDescriptionSource
AbortDispatch()1 statement(s); calls super().line 237
AbortDispatch(HyperNumberPop tp)2 statement(s); calls super().line 242

Methods (3)

SignatureDescriptionSource
public boolean begin(HyperView tView)7 statement(s).
Overrides Dispatch.begin()
line 256
public boolean function()Returns true.line 251
public boolean run()Returns true.
Overrides Dispatch.run()
line 247

Inherited members

Non-private members inherited from HyperView superclasses and not overridden or hidden here.

From BasicPane (27 fields, 7 methods)

Fields: charHeight, deviceColor0, deviceColor1, deviceColor2, fontHeight, frameColor, frameColor1, frameColor2, frameColor3, frameWidth, itemColor0, itemColor1, itemColor2, menuPaneColor, mpHeight, mpWidth, mpX, mpX2, mpY, mpY2, selectedColor0, selectedColor1, selectedColor2, textColor, textPaneColor, textPaneHeight, textPaneWidth

Methods: drawString(String, int, int), drawString(String, int, int, int), drawStrings(StringArr, int, int), erase(), makeBitMap(Font), setFont(Font), setPaneColor(int)

From Gadget (35 fields, 26 methods)

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()

From Gob (76 fields, 27 methods)

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()

From Linkable (7 fields, 1 methods)

Fields: attachment, index, linkFlags, name, next, parentList, prev

Methods: inList()

Examples

Real usage taken from elsewhere in the HyperView 3.2 source (file and line shown; source path src/com/multiversesocial/hyperview/).

instantiation — Externalizer.java, line 851

  851  pop = new HyperNumberPop(tView,prompt,25);

declaration — PortControlPane.java, line 35

   35  volatile HyperNumberPop getPortNumberPop;
Hits--