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

BasicPane

HyperView V3.2 — class
version V3.2 class

Summary

gobFlags |= GOB_NO_SELECT; this(HyperView.getCurView(),100,50);

Source file: BasicPane.java

Hierarchy

Extends: Gadget

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

public class BasicPane extends Gadget

Declared in src/com/multiversesocial/hyperview/BasicPane.java, lines 5–289. 27 field(s), 5 constructor(s), 8 method(s). Every member has an anchor you can link to (e.g. BasicPane.html#<id>).

Fields (27)

DeclarationValue / initializerDescriptionSource
int charHeightNo comment in source; name appears in 3 other source file(s): HyperBoolPop, HyperEditBuffer, TextPane.line 13
Color deviceColor0No comment in source; assigned in BasicPane().line 26
Color deviceColor1No comment in source; assigned in BasicPane().line 25
Color deviceColor2No comment in source; assigned in BasicPane().line 27
int fontHeightNo comment in source; assigned in BasicPane(); used in drawStrings().line 12
Color frameColorNo comment in source; assigned in BasicPane().line 8
Color frameColor1No comment in source; assigned in BasicPane(); used in makeBitMap(), erase(), setPaneColor().line 16
Color frameColor2No comment in source; assigned in BasicPane(); used in makeBitMap(), erase(), setPaneColor().line 17
Color frameColor3No comment in source; assigned in BasicPane(); used in makeBitMap(), erase(), setPaneColor().line 18
int frameWidthNo comment in source; assigned in BasicPane().line 7
Color itemColor0No comment in source; assigned in BasicPane().line 22
Color itemColor1No comment in source; assigned in BasicPane().line 21
Color itemColor2No comment in source; assigned in BasicPane().line 23
volatile Color menuPaneColorNo comment in source; assigned in BasicPane(), setPaneColor(); used in update(), makeBitMap(), erase(), drawStrings().line 19
int mpHeightNo comment in source; assigned in makeBitMap(); used in BasicPane(), update(), erase(), drawStrings(), setPaneColor().line 32
int mpWidthNo comment in source; assigned in makeBitMap(); used in BasicPane(), update(), erase(), drawStrings(), setPaneColor().line 32
int mpXNo comment in source; assigned in BasicPane(); used in update(), makeBitMap(), erase(), drawStrings(), setPaneColor().line 32
int mpX2No comment in source; assigned in makeBitMap().line 32
int mpYNo comment in source; assigned in BasicPane(); used in update(), makeBitMap(), erase(), drawStrings(), setPaneColor().line 32
int mpY2No comment in source; assigned in makeBitMap().line 32
Color selectedColor0No comment in source; assigned in BasicPane().line 30
Color selectedColor1No comment in source; assigned in BasicPane().line 29
Color selectedColor2No comment in source; assigned in BasicPane().line 31
Color textColorNo comment in source; assigned in BasicPane(); used in drawStrings().line 10
Color textPaneColorNo comment in source; assigned in BasicPane().line 9
int textPaneHeightNo comment in source; name appears in 3 other source file(s): HyperBoolPop, HyperEditBuffer, TextPane.line 15
int textPaneWidthNo comment in source; name appears in 3 other source file(s): HyperBoolPop, HyperEditBuffer, TextPane.line 14

Constructors (5)

SignatureDescriptionSource
BasicPane()1 statement(s); calls super().line 34
BasicPane(HyperView tView, int tWidth, int tHeight)1 statement(s); calls this().line 40
BasicPane(HyperView tView, int tX, int tY, int tWidth, int tHeight)46 statement(s); calls super(), itemColor1.brighter(), itemColor1.darker(), deviceColor1.brighter(), deviceColor1.darker() …; creates Color.line 46
BasicPane(HyperView tView, int tWidth, int tHeight, Color fc1, Color fc2, Color fc3, Color mpc)1 statement(s); calls this().line 100
BasicPane(HyperView tView, int tX, int tY, int tWidth, int tHeight, Color fc1, Color fc2, Color fc3, Color mpc)44 statement(s); calls super(), itemColor1.brighter(), itemColor1.darker(), deviceColor1.brighter(), deviceColor1.darker() …; creates Color.line 107

Methods (8)

SignatureDescriptionSource
public void drawString(String str, int tx, int ty)1 statement(s); calls graphics.drawString().line 245
public void drawString(String tString, int tPen, int tx, int ty)2 statement(s); calls this.graphics.setColor(), this.graphics.drawString().line 250
public void drawStrings(String[] tStr, int tX, int tY)6 statement(s); calls graphics.setColor(), graphics.fillRect(), this.graphics.drawString().line 256
public void erase()10 statement(s); calls graphics.setColor(), graphics.drawLine(), graphics.fillRect().line 231
public void makeBitMap(Font tFont)38 statement(s); calls curView.createImage(), gobPic.getGraphics(), this.graphics.setFont(), this.graphics.setColor(), this.graphics.fillRect() ….line 178
public void setFont(Font tFont)Sets conFont = tFont.line 270
public void setPaneColor(int tColorIndex)11 statement(s); calls this.graphics.setColor(), this.graphics.drawLine(), this.graphics.fillRect().line 275
public void update()2 statement(s); calls this.graphics.setColor(), this.graphics.fillRect().line 172

Inherited members

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

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 — DirGadgetDispatch.java, line 27

   27  commandPane = new BasicPane(curView,tX,tY,commandWidth,commandHeight);

subclass — DataBasePane.java, line 6

    6  public class DataBasePane extends BasicPane implements DataBaseConstants,Runnable
    7  {

declaration — Externalizer.java, line 79

   79  BasicPane popPane;
Hits--