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

HyperPop

HyperView V3.2 — class
version V3.2 class

Summary

This enables layering This gets the View to put us in front.

Source file: HyperPop.java

Hierarchy

Extends: BasicPane

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

public class HyperPop extends BasicPane

Declared in src/com/multiversesocial/hyperview/HyperPop.java, lines 4–173. 11 field(s), 5 constructor(s), 2 method(s), plus 1 nested type(s). Every member has an anchor you can link to (e.g. HyperPop.html#<id>).

Fields (11)

DeclarationValue / initializerDescriptionSource
int gh= 0No comment in source; assigned in HyperPop().line 9
int gw= 0No comment in source; assigned in HyperPop().line 9
String message= ""No comment in source; assigned in HyperPop(), update().line 6
Font messageFont= nullNo comment in source; name appears in 1 other source file(s): HyperView.line 7
int messageWidth= 0No comment in source; assigned in HyperPop(); used in update().line 11
int messageX= 0No comment in source; assigned in update().line 10
int messageY= 0No comment in source; assigned in update().line 10
Gadget okGadget= nullNo comment in source; assigned in HyperPop().line 12
int totalStrings= 0No comment in source; name appears in 6 other source file(s): EconomyPane, HyperBoolPop, HyperNumberPop, HyperStringPop ….line 8
int tx= 0No comment in source; assigned in HyperPop().line 9
int ty= 0No comment in source; assigned in HyperPop().line 9

Constructors (5)

SignatureDescriptionSource
HyperPop()1 statement(s); calls super().line 14
HyperPop(HyperView tView)1 statement(s); calls this().line 18
HyperPop(String tmsg)1 statement(s); calls this(), HyperView.getCurView().line 23
HyperPop(HyperView tView, String tmsg)1 statement(s); calls this().line 28
HyperPop(HyperView tView, String tmsg, Color tColor)20 statement(s); calls super(), tView.screenGraphics.getFontMetrics(), graphics.setFont(), graphics.getFontMetrics(FontBase.arial12).stringWidth(), graphics.getFontMetrics() …; creates Color, Gadget, PopDispatch.line 33

Methods (2)

SignatureDescriptionSource
public void update()8 statement(s); calls graphics.setColor(), graphics.fillRect(), graphics.drawString().
Overrides BasicPane.update()
line 113
public void update(String tString)9 statement(s); calls graphics.setColor(), graphics.fillRect(), graphics.drawString().line 127

Nested & additional classes

PopDispatch (nested type, lines 142–172)

class PopDispatch extends Dispatch

Fields (1)

DeclarationValue / initializerDescriptionSource
HyperPop parentPop= nullNo comment in source; assigned in PopDispatch(); used in begin().line 144

Constructors (2)

SignatureDescriptionSource
PopDispatch()1 statement(s); calls super().line 146
PopDispatch(HyperPop tp)2 statement(s); calls super().line 151

Methods (3)

SignatureDescriptionSource
public boolean begin(HyperView tView)4 statement(s).
Overrides Dispatch.begin()
line 165
public boolean function()Returns true.line 160
public boolean run()Returns true.
Overrides Dispatch.run()
line 156

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 — CLICommand.java, line 36

   36  new HyperPop(" -><- Command doesn't take argument(s) -><- ");

declaration — GetMemPop.java, line 24

   24     HyperPop hp = new HyperPop(tView,
   25  "Memory Total:"+tView.curRun.totalMemory()+
   26  " Free:"+curView.curRun.freeMemory());

instantiation — ChannelControlPane.java, line 298

  298  new HyperPop(curView," Channel "+tChannel.name+" already created.");
Hits--