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

ColorPop

HyperView V3.2 — class
version V3.2 class

Summary

ColorPop — HyperView 3.2 project class.

Source file: ColorPop.java

Hierarchy

Extends: ViewPane

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

public class ColorPop extends ViewPane

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

Fields (9)

DeclarationValue / initializerDescriptionSource
int colorCols= 16No comment in source; assigned in ColorPop(); used in update().line 9
int colorRows= 0No comment in source; assigned in ColorPop(); used in update().line 8
int gh= 0No comment in source; assigned in ColorPop().line 13
int gw= 0No comment in source; assigned in ColorPop().line 13
Gadget okGadgetNo comment in source; assigned in ColorPop().line 12
Color[][] paletteNo comment in source; assigned in ColorPop(); used in update().line 11
int[][] rgbNo comment in source; assigned in ColorPop().line 10
int tx= 0No comment in source; assigned in ColorPop().line 14
int ty= 0No comment in source; assigned in ColorPop().line 14

Constructors (3)

SignatureDescriptionSource
ColorPop()1 statement(s); calls super().line 16
ColorPop(HyperView tView)1 statement(s); calls this().line 20
ColorPop(HyperView tView, String tmsg)24 statement(s); calls super(), graphics.setFont(), graphics.drawString(), graphics.setColor(), graphics.fillRect() …; creates Gadget, ColorPopDispatch.line 25

Methods (1)

SignatureDescriptionSource
public void update()Redraw palette swatches into the pop graphics buffer.line 62

Nested & additional classes

ColorPopDispatch (nested type, lines 84–117)

class ColorPopDispatch extends Dispatch

Fields (1)

DeclarationValue / initializerDescriptionSource
ColorPop parentPop= nullNo comment in source; assigned in ColorPopDispatch(); used in begin().line 86

Constructors (2)

SignatureDescriptionSource
ColorPopDispatch()1 statement(s); calls super().line 88
ColorPopDispatch(ColorPop tp)2 statement(s); calls super().line 92

Methods (3)

SignatureDescriptionSource
public boolean begin(HyperView tView)Get Rid of OK Gad
Overrides Dispatch.begin()
line 107
public boolean function()Returns true.line 102
public boolean run()Returns true.
Overrides Dispatch.run()
line 97

Inherited members

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

From ViewPane (17 fields, 11 methods)

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)

From Gadget (34 fields, 25 methods)

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

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 — GetColorPop.java, line 15

   15  new ColorPop(tView);
Hits--