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

HyperStringPop

HyperView V3.2 — class
version V3.2 class

Summary

Yah this need work. (T) super(1,2,3,4,5);

Source file: HyperStringPop.java

Hierarchy

Extends: BasicPane

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

public class HyperStringPop extends BasicPane

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

Fields (23)

DeclarationValue / initializerDescriptionSource
Gadget abortGadget= nullNo comment in source; assigned in HyperStringPop().line 18
int abortHeight= 0No comment in source; assigned in HyperStringPop().line 13
int abortWidth= 0No comment in source; assigned in HyperStringPop().line 13
int abortX= 0No comment in source; assigned in HyperStringPop().line 13
int abortY= 0No comment in source; assigned in HyperStringPop().line 13
GetString[] getString= nullNo comment in source; assigned in HyperStringPop().line 19
int getStringWidth= 0No comment in source; assigned in HyperStringPop().line 20
int getStringX= 0No comment in source; assigned in HyperStringPop().line 21
int getStringY= 0No comment in source; assigned in HyperStringPop().line 22
String message= ""No comment in source; assigned in HyperStringPop(); used in update().line 10
int messageWidth= 0No comment in source; assigned in HyperStringPop(); used in update().line 15
int messageX= 0No comment in source; assigned in update().line 14
int messageY= 0No comment in source; assigned in update().line 14
Color nameColor= new Color(25, 25, 150)No comment in source; used in update().line 16
Gadget okGadget= nullNo comment in source; assigned in HyperStringPop().line 17
int okHeight= 0No comment in source; assigned in HyperStringPop().line 12
int okWidth= 0No comment in source; assigned in HyperStringPop().line 12
int okX= 0No comment in source; assigned in HyperStringPop().line 12
int okY= 0No comment in source; assigned in HyperStringPop().line 12
static final int POP_ABORTED= 1 (constant)No comment in source; used in HyperStringPop(); name appears in 2 other source file(s): Externalizer, HyperNumberPop.line 9
int popFlags= 0No comment in source; assigned in HyperStringPop().line 24
int totalGetStrings= 1No comment in source; assigned in HyperStringPop().line 23
int totalStrings= 0No comment in source; name appears in 6 other source file(s): EconomyPane, HyperBoolPop, HyperNumberPop, HyperPop ….line 11

Constructors (7)

SignatureDescriptionSource
HyperStringPop()1 statement(s); calls super().line 26
HyperStringPop(HyperView tView)1 statement(s); calls this().line 30
HyperStringPop(HyperView tView, String tString)1 statement(s); calls this().line 35
HyperStringPop(HyperView tView, int maxChars)1 statement(s); calls this().line 40
HyperStringPop(String tStr, HyperView tView, int maxChars)1 statement(s); calls this().line 45
HyperStringPop(HyperView tView, String tmsg, int maxChars)1 statement(s); calls this().line 50
HyperStringPop(HyperView tView, String tmsg, int maxChars, int numGetStrings)54 statement(s); calls super(), tView.screenGraphics.getFontMetrics(), graphics.setFont(), graphics.getFontMetrics(), okGadget.move() …; creates Gadget, GetString, OKDispatch.line 57

Methods (1)

SignatureDescriptionSource
public void update()8 statement(s); calls graphics.setColor(), menuPaneColor.toString(), graphics.fillRect(), graphics.drawString().
Overrides BasicPane.update()
line 141

Nested & additional classes

OKDispatch (nested type, lines 161–194)

class OKDispatch extends Dispatch

Fields (1)

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

Constructors (2)

SignatureDescriptionSource
OKDispatch()1 statement(s); calls super().line 165
OKDispatch(HyperStringPop tp)2 statement(s); calls super().line 170

Methods (3)

SignatureDescriptionSource
public boolean begin(HyperView tView)6 statement(s).
Overrides Dispatch.begin()
line 184
public boolean function()Returns true.line 179
public boolean run()Returns true.
Overrides Dispatch.run()
line 175

AbortDispatch (nested type, lines 196–236)

class AbortDispatch extends Dispatch

Fields (1)

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

Constructors (2)

SignatureDescriptionSource
AbortDispatch()1 statement(s); calls super().line 200
AbortDispatch(HyperStringPop tp)2 statement(s); calls super().line 205

Methods (2)

SignatureDescriptionSource
public boolean begin(HyperView tView)Turn if off. Poof!
Overrides Dispatch.begin()
line 220
public boolean run()Returns true.
Overrides Dispatch.run()
line 210

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 — ChannelControlPane.java, line 281

  281  HyperStringPop tPop = new HyperStringPop(curView," Enter Channel name ");

constant — Externalizer.java, line 805

  805  if((pop.popFlags & HyperStringPop.POP_ABORTED)!=0)
  806     return -1;
Hits--