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

HyperSelectItem

HyperView V3.2 — class
version V3.2 class

Summary

int fontHeight = 12; this(tItems,0,1,320,480,(Color)null,(Color)null,(Color)null,Color.black); this(tItems,0,1,320,480,(Color)null,(Color)null,(Color)null,Color.black);

Source file: HyperSelectItem.java

Hierarchy

Extends: Gadget

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

public class HyperSelectItem extends Gadget

Declared in src/com/multiversesocial/hyperview/HyperSelectItem.java, lines 10–645. 57 field(s), 6 constructor(s), 8 method(s), plus 4 nested type(s). Every member has an anchor you can link to (e.g. HyperSelectItem.html#<id>).

Fields (57)

DeclarationValue / initializerDescriptionSource
int charWidthNo comment in source; assigned in HyperSelectItem().line 29
int curEntryNo comment in source; assigned in HyperSelectItem().line 25
static HyperSelectItem curSelectItemNo comment in source; used in getCurSelectItem().line 14
Color deviceColor0No comment in source; assigned in HyperSelectItem(); used in update().line 44
Color deviceColor1No comment in source; assigned in HyperSelectItem(); used in update().line 43
Color deviceColor2No comment in source; assigned in HyperSelectItem(); used in update().line 45
int displayedEntrysNo comment in source; assigned in HyperSelectItem(); used in update(), newDir().line 23
int[] entryFlagsNo comment in source; assigned in HyperSelectItem(), onClick(); used in update().line 21
int entryStartYNo comment in source; assigned in HyperSelectItem(); used in update().line 15
Color frameColor1No comment in source; assigned in HyperSelectItem(), cleanUp(); used in erase().line 34
Color frameColor2No comment in source; assigned in HyperSelectItem(), cleanUp(); used in erase().line 35
Color frameColor3No comment in source; assigned in HyperSelectItem(), cleanUp(); used in erase().line 36
static final int IS_SELECTED= 1 (constant)No comment in source; used in update(), onClick(); name appears in 1 other source file(s): DirectoryConstants.line 12
Color itemColor0No comment in source; assigned in HyperSelectItem(); used in update().line 40
Color itemColor1No comment in source; assigned in HyperSelectItem(); used in update().line 39
Color itemColor2No comment in source; assigned in HyperSelectItem(); used in update().line 41
int itemFlagsNo comment in source; assigned in HyperSelectItem(), inKey(); used in onClick().line 15
String[] itemListNo comment in source; assigned in HyperSelectItem(), cleanUp(); used in update().line 20
HyperKeyboard keyboardNo comment in source; assigned in HyperSelectItem(); used in inKey().line 53
int keyCodeNo comment in source; assigned in HyperSelectItem(), inKey().line 56
int listEndNo comment in source; assigned in HyperSelectItem(), newDir(); used in onClick().line 26
int listStartNo comment in source; assigned in HyperSelectItem(), newDir(); used in update(), onClick().line 24
int maxEntrysNo comment in source; assigned in HyperSelectItem().line 15
int maxStringWidthNo comment in source; assigned in HyperSelectItem().line 28
Color menuPaneColorNo comment in source; assigned in HyperSelectItem(), cleanUp(); used in update(), erase().line 37
int mpHeightNo comment in source; assigned in HyperSelectItem(), makeBitMap(); used in update(), erase().line 33
int mpWidthNo comment in source; assigned in HyperSelectItem(), makeBitMap(); used in update(), erase().line 33
int mpXMenuPane area offsetline 32
int mpX2No comment in source; assigned in HyperSelectItem(), makeBitMap().line 33
int mpYMenuPane area offsetline 32
int mpY2No comment in source; assigned in HyperSelectItem(), makeBitMap().line 33
String[] returnStringNo comment in source; not referenced by name in this type’s methods.line 22
HyperScrollbar scrollbarNo comment in source; assigned in HyperSelectItem(), cleanUp().line 17
Color selectedColor0No comment in source; assigned in HyperSelectItem(); used in update().line 48
Color selectedColor1No comment in source; assigned in HyperSelectItem(); used in update().line 47
Color selectedColor2No comment in source; assigned in HyperSelectItem(); used in update().line 49
int selectIndexNo comment in source; assigned in HyperSelectItem(), onClick().line 15
static final int SHIFT_DOWN= 2 (constant)No comment in source; used in inKey(), onClick().line 13
Color textColorNo comment in source; assigned in HyperSelectItem(), cleanUp(); used in update().line 51
int textStartYNo comment in source; assigned in HyperSelectItem(); used in update().line 15
int tintNo comment in source; assigned in HyperSelectItem(), update().line 15
int tint2No comment in source; assigned in HyperSelectItem().line 15
int tint3No comment in source; assigned in HyperSelectItem().line 15
int tint4No comment in source; assigned in HyperSelectItem(), update().line 15
int tint5No comment in source; assigned in HyperSelectItem(), onClick().line 15
String titleStringNo comment in source; assigned in HyperSelectItem(), cleanUp(); used in update().line 19
int titleXNo comment in source; assigned in HyperSelectItem(); used in update().line 30
int titleYNo comment in source; assigned in HyperSelectItem().line 30
char tmpCharNo comment in source; assigned in HyperSelectItem().line 54
KeyEvent tmpKeyNo comment in source; name appears in 5 other source file(s): Asteroids, GetString, HyperEditBuffer, HyperView ….line 55
String tmpStringNo comment in source; assigned in update().line 18
int totalEntrysNo comment in source; assigned in HyperSelectItem(); used in update(), newDir(), onClick().line 15
int totalSelectedNo comment in source; assigned in HyperSelectItem(), onClick().line 15
int tXNo comment in source; assigned in HyperSelectItem().line 16
int tX2No comment in source; assigned in HyperSelectItem(), update().line 16
int tYNo comment in source; assigned in HyperSelectItem().line 16
int tY2No comment in source; assigned in HyperSelectItem(), update().line 16

Constructors (6)

SignatureDescriptionSource
HyperSelectItem()1 statement(s); calls super().line 58
HyperSelectItem(HyperView tView, String[] tItems, int tWidth, int tHeight)1 statement(s); calls this().line 63
HyperSelectItem(HyperView tView, String[] tItems)1 statement(s); calls this().line 69
HyperSelectItem(HyperView tView, String[] tItemList, int tx, int ty, int tWidth, int tHeight, Color fc1, Color fc2, Color fc3, Color mpc)1 statement(s); calls this().line 75
HyperSelectItem(HyperView tView, String tTitleString, String[] tItemList)1 statement(s); calls this().line 81
HyperSelectItem(HyperView tView, String tTitleString, String[] tItemList, int tx, int ty, int tWidth, int tHeight, Color fc1, Color fc2, Color fc3, Color mpc)81 statement(s); calls super(), itemColor1.brighter(), itemColor1.darker(), deviceColor1.brighter(), deviceColor1.darker() …; creates Color, HyperScrollbar, hfUpperArrow.line 87

Methods (8)

SignatureDescriptionSource
public void cleanUp()10 statement(s); calls super.cleanUp(), scrollbar.cleanUp().
Overrides Gadget.cleanUp()
line 525
public synchronized void erase()12 statement(s); calls graphics.setColor(), graphics.drawLine(), graphics.fillRect(), graphics.getFontMetrics(), curView.hyperViewOut() …; creates java.io.PrintStream.line 408
static HyperSelectItem getCurSelectItem()Returns curSelectItem.line 328
public void inKey()2 statement(s); calls keyboard.keyMsg[index].keyEvent.getKeyCode().
Overrides Gadget.inKey()
line 550
public synchronized void makeBitMap()30 statement(s); calls curView.createImage(), gobPic.getGraphics(), graphics.setFont(), graphics.setColor(), graphics.fillRect() ….line 285
public void newDir(String tName)Cont ContFilePopNavigate-shaped: reset list window and refresh.line 443
public void onClick()4 statement(s); calls update().
Overrides Gob.onClick()
line 577
public synchronized void update()8 statement(s); calls graphics.setColor(), graphics.fillRect(), graphics.drawLine(), graphics.drawString().line 333

Nested & additional classes

hfUpperArrow (nested type, lines 459–476)

class hfUpperArrow extends UpperArrowMethod

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
hfUpperArrow()1 statement(s); calls super().line 462

Methods (1)

SignatureDescriptionSource
public void function(HyperScrollbar hsb)5 statement(s); calls update().
Overrides UpperArrowMethod.function()
line 466

hfLowerArrow (nested type, lines 478–498)

class hfLowerArrow extends LowerArrowMethod

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
hfLowerArrow()1 statement(s); calls super().line 480

Methods (1)

SignatureDescriptionSource
public void function(HyperScrollbar hsb)5 statement(s); calls update().
Overrides LowerArrowMethod.function()
line 484

hfThumbPane (nested type, lines 500–523)

class hfThumbPane extends ThumbPaneMethod

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
hfThumbPane()1 statement(s); calls super().line 502

Methods (1)

SignatureDescriptionSource
public void function(HyperScrollbar hsb)6 statement(s); calls update().
Overrides ThumbPaneMethod.function()
line 506

HyperSelectItemAbort (nested type, lines 609–643)

class HyperSelectItemAbort extends Abort

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
HyperSelectItemAbort()1 statement(s); calls super().line 611

Methods (1)

SignatureDescriptionSource
public boolean begin(HyperView tView)10 statement(s).
Overrides Abort.begin()
line 616

Inherited members

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

From Gadget (34 fields, 24 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(), 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 (75 fields, 26 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, 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(), 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 — HyperSelectStringDispatch.java, line 28

   28  hsi = new HyperSelectItem(tView,list);
Hits--