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

HyperFileList

HyperView V3.2 — class
version V3.2 class

Summary

GetString dirGets; ------------ int fontHeight;

Source file: HyperFileList.java

Hierarchy

Extends: Gadget

Implements: DirectoryConstants

Referenced HyperView classes

Media files used

Declaration & members

public class HyperFileList extends Gadget implements DirectoryConstants

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

Fields (64)

DeclarationValue / initializerDescriptionSource
Gadget closeGadgetNo comment in source; assigned in HyperFileList().line 13
int commandWidthNo comment in source; assigned in HyperFileList().line 16
int curEntryNo comment in source; name appears in 1 other source file(s): HyperSelectItem.line 35
static HyperFileList curFileListNo comment in source; assigned in update(); used in getCurFileList().line 15
Font curFontNo comment in source; assigned in HyperFileList(), cleanUp(); used in makeBitMap(), erase().line 74
Color currentDirColor0No comment in source; assigned in HyperFileList(); used in update().line 51
Color currentDirColor1No comment in source; assigned in HyperFileList(); used in update().line 50
Color currentDirColor2No comment in source; assigned in HyperFileList(); used in update().line 52
Color deviceColor0No comment in source; assigned in HyperFileList(), cleanUp(); used in update().line 70
Color deviceColor1No comment in source; assigned in HyperFileList(), cleanUp(); used in update().line 69
Color deviceColor2No comment in source; assigned in HyperFileList(), cleanUp(); used in update().line 71
Directory directoryNo comment in source; assigned in HyperFileList(), newDir(), cleanUp(); used in update(), onClick().line 17
int dirInfoHeightNo comment in source; not referenced by name in this type’s methods.line 23
int dirInfoWidthNo comment in source; not referenced by name in this type’s methods.line 24
String dirNameNo comment in source; assigned in HyperFileList(), newDir(), cleanUp(), onClick(); used in update(), processListenerList().line 27
int displayedEntrysNo comment in source; assigned in HyperFileList(); used in update(), newDir(), onClick().line 33
int[] entryFlagsNo comment in source; assigned in HyperFileList(), update(), newDir(), onClick().line 30
Color fileColor0No comment in source; assigned in HyperFileList(); used in update().line 62
Color fileColor1No comment in source; assigned in HyperFileList(); used in update().line 61
Color fileColor2No comment in source; assigned in HyperFileList(); used in update().line 63
int fileItemOffsetNo comment in source; assigned in HyperFileList(), update(); used in onClick().line 22
String fileNameNo comment in source; assigned in onClick(); used in processListenerList().line 11
Color fileSelectedColor0No comment in source; assigned in HyperFileList(); used in update().line 66
Color fileSelectedColor1No comment in source; assigned in HyperFileList(); used in update().line 65
Color fileSelectedColor2No comment in source; assigned in HyperFileList(); used in update().line 67
String[] fileStringListNo comment in source; assigned in HyperFileList(), newDir(), cleanUp(), onClick(); used in update().line 29
Color fileTextColorNo comment in source; assigned in HyperFileList(); used in update().line 55
int filterFlagsNo comment in source; assigned in HyperFileList(); used in newDir(), onClick().line 31
Color frameColor1No comment in source; assigned in HyperFileList(), cleanUp(); used in erase().line 41
Color frameColor2No comment in source; assigned in HyperFileList(), cleanUp(); used in erase().line 42
Color frameColor3No comment in source; assigned in HyperFileList(), cleanUp(); used in erase().line 43
HyperLinkedList hyperFileRequestPopListenerListNo comment in source; assigned in HyperFileList(); used in addHyperFileRequestPopListener(), removeHyperFileRequestPopListener(), processListenerList().line 12
int listEndNo comment in source; assigned in HyperFileList(), newDir(), onClick().line 36
int listStartNo comment in source; assigned in newDir(), onClick(); used in HyperFileList(), update().line 34
Gadget loadGadgetNo comment in source; assigned in HyperFileList().line 14
int maxEntrysNo comment in source; assigned in HyperFileList().line 19
Color menuPaneColorNo comment in source; assigned in HyperFileList(), cleanUp(); used in update(), erase().line 44
int mpHeightNo comment in source; assigned in makeBitMap(); used in HyperFileList(), update(), erase().line 40
int mpWidthNo comment in source; assigned in makeBitMap(); used in HyperFileList(), update(), erase().line 40
int mpXMenuPane area offsetline 39
int mpX2No comment in source; assigned in makeBitMap().line 40
int mpYMenuPane area offsetline 39
int mpY2No comment in source; assigned in makeBitMap().line 40
Color parentDirColor0No comment in source; assigned in HyperFileList(); used in update().line 47
Color parentDirColor1No comment in source; assigned in HyperFileList(); used in update().line 46
Color parentDirColor2No comment in source; assigned in HyperFileList(); used in update().line 48
String parentDirNameNo comment in source; assigned in HyperFileList(), update(), newDir(), onClick().line 26
File[] rootDevNo comment in source; not referenced by name in this type’s methods.line 75
HyperScrollbar scrollbarNo comment in source; assigned in HyperFileList(), cleanUp(); used in mouseWheelMoved(), update(), newDir(), onClick().line 25
int selectIndexNo comment in source; assigned in HyperFileList(), onClick(); used in update().line 10
Color subDirColor0No comment in source; assigned in HyperFileList(); used in update().line 58
Color subDirColor1No comment in source; assigned in HyperFileList(); used in update().line 57
Color subDirColor2No comment in source; assigned in HyperFileList(); used in update().line 59
Color textColorNo comment in source; assigned in HyperFileList(), cleanUp(); used in update().line 54
int textXOffsetNo comment in source; assigned in HyperFileList(); used in update().line 20
int textYOffsetNo comment in source; assigned in HyperFileList(), update().line 21
String titleStringNo comment in source; assigned in HyperFileList(), cleanUp().line 37
String tmpStringNo comment in source; assigned in update().line 28
int totalEntrysNo comment in source; assigned in HyperFileList(), update(), newDir(), onClick().line 18
int tXNo comment in source; not referenced by name in this type’s methods.line 19
int tX2No comment in source; assigned in update().line 19
int tYNo comment in source; not referenced by name in this type’s methods.line 19
int tY2No comment in source; assigned in update().line 19
int viewPaneNumber= -1No comment in source; name appears in 1 other source file(s): ViewPane.line 38

Constructors (4)

SignatureDescriptionSource
HyperFileList()1 statement(s); calls this(), HyperView.getCurView().line 77
HyperFileList(HyperView tView, int tFilterFlags)1 statement(s); calls this().line 85
HyperFileList(HyperView tView, String tDir, int tFilterFlags)1 statement(s); calls this().line 90
HyperFileList(HyperView tView, String tDir, int tx, int ty, int tWidth, int tHeight, Color fc1, Color fc2, Color fc3, Color mpc, int tFilterFlags)96 statement(s); calls super(), parentDirColor1.brighter(), parentDirColor1.darker(), currentDirColor1.brighter(), currentDirColor1.darker() …; creates Color, HyperLinkedList, Guru.line 98

Methods (11)

SignatureDescriptionSource
public void addHyperFileRequestPopListener(HyperFileRequestPopListener tHyperFileRequestPopListener)1 statement(s); calls hyperFileRequestPopListenerList.dlStore(); creates HyperFileRequestPopListenerLink.line 509
public void cleanUp()16 statement(s); calls super.cleanUp(), directory.cleanUp(), scrollbar.cleanUp().
Overrides Gadget.cleanUp()
line 636
public void erase()12 statement(s); calls graphics.setColor(), graphics.drawLine(), graphics.fillRect(), graphics.getFontMetrics(), curView.hyperViewOut() …; creates java.io.PrintStream.line 459
static HyperFileList getCurFileList()Returns curFileList.line 315
public void makeBitMap()33 statement(s); calls curView.screenGraphics.getFontMetrics(curFont).stringWidth(), curView.screenGraphics.getFontMetrics(), curView.screenGraphics.getFontMetrics(curFont).getHeight(), curView.createImage(), gobPic.getGraphics() ….line 265
public void mouseWheelMoved(MouseWheelEvent e)1 statement(s); calls scrollbar.mouseWheelMoved().
Overrides Gadget.mouseWheelMoved()
line 260
public void newDir(String tName)Cont ContFilePopNavigate / ContFilePopGoParent analog.line 530
public void onClick()4 statement(s); calls keyboard.notifyAll(), directory.refresh(), update(), curView.curRun.gc().
Overrides Gob.onClick()
line 676
public void processListenerList()3 statement(s); calls hyperFileRequestPopListenerList.drain().line 519
public void removeHyperFileRequestPopListener(HyperFileRequestPopListener tHyperFileRequestPopListener)1 statement(s); calls hyperFileRequestPopListenerList.dlStore(); creates HyperFileRequestPopListenerLink.line 514
public void update()45 statement(s); calls graphics.setColor(), graphics.fillRect(), graphics.drawLine(), graphics.drawImage(), graphics.drawString() ….line 320

Nested & additional classes

class HyperFileRequestPopListenerLink extends Linkable

Fields (1)

DeclarationValue / initializerDescriptionSource

Constructors (1)

SignatureDescriptionSource

Methods (0)

None declared.

hfUpperArrow (nested type, lines 570–587)

class hfUpperArrow extends UpperArrowMethod

Fields (0)

None declared.

Constructors (1)

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

Methods (1)

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

hfLowerArrow (nested type, lines 589–609)

class hfLowerArrow extends LowerArrowMethod

Fields (0)

None declared.

Constructors (1)

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

Methods (1)

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

hfThumbPane (nested type, lines 611–634)

class hfThumbPane extends ThumbPaneMethod

Fields (0)

None declared.

Constructors (1)

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

Methods (1)

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

CloseGadgetDispatch (nested type, lines 804–821)

class CloseGadgetDispatch extends Dispatch

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
CloseGadgetDispatch(HyperView tView)1 statement(s); calls super().line 807

Methods (1)

SignatureDescriptionSource
public boolean begin(HyperView tView)5 statement(s); calls processListenerList().
Overrides Dispatch.begin()
line 812

LoadGadgetDispatch (nested type, lines 823–840)

class LoadGadgetDispatch extends Dispatch

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
LoadGadgetDispatch(HyperView tView)1 statement(s); calls super().line 826

Methods (1)

SignatureDescriptionSource
public boolean begin(HyperView tView)4 statement(s); calls processListenerList().
Overrides Dispatch.begin()
line 831

Inherited members

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

From Gadget (35 fields, 24 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(), drawCursor(), drawOutline(), drawOutline2(), getForeground(), inKey(), inString(String), isEnabled(), isShowing(), isVisible(), keyReleaseENA(), keyTypedENA(), layerDisable(), layerENA(), makeBitmap(Font), onMouseOver(), setEnabled(boolean), setForeground(int), setName(String), setVisible(boolean), toFront(), toString(), updateText()

From Gob (76 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, 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(), 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 20

   20  fileList1 = new HyperFileList(curView,0);

subclass — HyperDirectoryRequestPop.java, line 4

    4  public class HyperDirectoryRequestPop extends HyperFileList
    5  {

subclass — HyperFileRequestPop.java, line 3

    3  public class HyperFileRequestPop extends HyperFileList
    4  {
Hits--