Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.ColorPop
Source: src/com/multiversesocial/hyperview/ColorPop.java
ColorPop — HyperView 3.2 project class.
public class ColorPop extends ViewPane
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
int colorCols | = 16 | No comment in source; assigned in ColorPop(); used in update(). | |
int colorRows | = 0 | No comment in source; assigned in ColorPop(); used in update(). | |
int gh | = 0 | No comment in source; assigned in ColorPop(). | |
int gw | = 0 | No comment in source; assigned in ColorPop(). | |
Gadget okGadget | No comment in source; assigned in ColorPop(). | ||
Color[][] palette | No comment in source; assigned in ColorPop(); used in update(). | ||
int[][] rgb | No comment in source; assigned in ColorPop(). | ||
int tx | = 0 | No comment in source; assigned in ColorPop(). | |
int ty | = 0 | No comment in source; assigned in ColorPop(). |
| Signature | Description | Source |
|---|---|---|
ColorPop() | 1 statement(s); calls super(). | |
ColorPop(HyperView tView) | 1 statement(s); calls this(). | |
ColorPop(HyperView tView, String tmsg) | 24 statement(s); calls super(), graphics.setFont(), graphics.drawString(), graphics.setColor(), graphics.fillRect() …; creates Gadget, ColorPopDispatch. |
| Signature | Description | Source |
|---|---|---|
public void update() | Redraw palette swatches into the pop graphics buffer. |
class ColorPopDispatch extends Dispatch
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
ColorPop parentPop | = null | No comment in source; assigned in ColorPopDispatch(); used in begin(). |
| Signature | Description | Source |
|---|---|---|
ColorPopDispatch() | 1 statement(s); calls super(). | |
ColorPopDispatch(ColorPop tp) | 2 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
public boolean begin(HyperView tView) | Get Rid of OK Gad | |
public boolean function() | Returns true. | |
public boolean run() | Returns true. |
Fields: f1, fontHeight, frameColor1, frameColor2, frameColor3, keyboard, menuPaneColor, mpHeight, mpWidth, mpX, mpX2, mpY, mpY2, selectString, textColor, titleString, viewPaneNumber
Methods: cleanUp(), drawString(String, int, int), drawString(String, int, int, int), drawStrings(StringArr, int, int), erase(), eraseMenuPane(), getSize(), makeBitMap(), reSize(int, int), setFont(int), setTitle(String)
Fields: backColor, conFont, cursorGraphics, cursorHeight, cursorImage, cursorName, cursorScrollXOffset, cursorScrollYOffset, cursorWidth, cursorX, cursorY, displayInfo, fGColor, flipCount, font, gadFlags, gadFlags2, gadNumber, lastCursorX, lastCursorY, lineColorA, lineColorB, lineColorC, locked, method, parentTitlebar, stringHeight, stringWidth, stringX, stringY, tc1, tc2, tc3, tc4
Methods: addDispatch(Dispatch), allKeyMsgENA(), 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()