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

PreferencesPane

HyperView V3.2 — class
version V3.2 class

Summary

--------------------- ---------------------------------------------- IO control classes for ---------------------

Source file: PreferencesPane.java

Hierarchy

Extends: BasicPane

Implements: HyperFileRequestPopListener

Referenced HyperView classes

Media files used

Declaration & members

public class PreferencesPane extends BasicPane implements HyperFileRequestPopListener

Declared in src/com/multiversesocial/hyperview/PreferencesPane.java, lines 4–490. 22 field(s), 1 constructor(s), 5 method(s), plus 22 nested type(s). Every member has an anchor you can link to (e.g. PreferencesPane.html#<id>).

Fields (22)

DeclarationValue / initializerDescriptionSource
PreferencesPane.CurDirGetS curDirGetSNo comment in source; assigned in PreferencesPane(); used in synch(), synchExternal().line 13
PreferencesPane.DefCharGetS defCharGetSNo comment in source; assigned in PreferencesPane(); used in synch(), synchExternal(), drawPrefs().line 10
PreferencesPane.DefDirGetS defDirGetSNo comment in source; assigned in PreferencesPane(); used in synch(), synchExternal(), drawPrefs().line 12
PreferencesPane.DefMenuGetS defMenuGetSNo comment in source; assigned in PreferencesPane(); used in synch(), synchExternal(), drawPrefs().line 11
PreferencesPane.ExtendedClassPathGetS extendedClassPathGetSNo comment in source; assigned in PreferencesPane(); used in synch(), synchExternal().line 21
FontBaseButton fontBaseButtonNo comment in source; assigned in PreferencesPane().line 30
PreferencesPane.FTPGetS ftpGetSNo comment in source; assigned in PreferencesPane(); used in synch(), synchExternal(), drawPrefs().line 18
boolean gettingDirectoryNo comment in source; assigned in onFileSelect().line 7
PreferencesPane.HostGetS hostGetSNo comment in source; assigned in PreferencesPane(); used in synch(), synchExternal(), drawPrefs().line 14
HyperDirectoryRequestPop hyperDirectoryRequestPopNo comment in source; used in addDirListener().line 6
PreferencesPane.HyperViewIOReadClassGetS hyperViewIOReadClassGetSNo comment in source; assigned in PreferencesPane(); used in synch(), synchExternal().line 26
PreferencesPane.HyperViewIOWriteClassGetS hyperViewIOWriteClassGetSNo comment in source; assigned in PreferencesPane(); used in synch(), synchExternal().line 25
PreferencesPane.JavaHomeGetS javaHomeGetSNo comment in source; assigned in PreferencesPane(); used in onFileSelect(), synch(), synchExternal().line 16
PreferencesPane.PortGetS portGetSNo comment in source; assigned in PreferencesPane(); used in synch(), synchExternal().line 15
RadioButton serverEnableNo comment in source; assigned in PreferencesPane(); used in synch(), synchExternal().line 29
PreferencesPane.ServerIOReadClassGetS serverIOReadClassGetSNo comment in source; assigned in PreferencesPane(); used in synch(), synchExternal().line 24
PreferencesPane.ServerIOWriteClassGetS serverIOWriteClassGetSreplaceable individual write quantaline 23
PreferencesPane.ServerStateMachineGetS serverStateMachineGetSNo comment in source; assigned in PreferencesPane(); used in synch(), synchExternal(), drawPrefs().line 27
PreferencesPane.UserNameGetS userNameGetSNo comment in source; assigned in PreferencesPane(); used in synch(), synchExternal(), drawPrefs().line 8
PreferencesPane.UserPassGetS userPassGetSNo comment in source; assigned in PreferencesPane(); used in synch(), synchExternal(), drawPrefs().line 9
PreferencesPane.VideoGetS videoGetSNo comment in source; assigned in PreferencesPane(); used in synch(), synchExternal(), drawPrefs().line 17
PreferencesPane.ViewMainClassGetS viewMainClassGetS<input type="text">line 20

Constructors (1)

SignatureDescriptionSource
PreferencesPane(HyperView tView)2 statement(s); calls super(), move(), graphics.setColor(), graphics.drawString(), addGob() …; creates Gadget, BrowseDispatch, LoadPrefsDispatch.line 32

Methods (5)

SignatureDescriptionSource
public void addDirListener()1 statement(s); calls hyperDirectoryRequestPop.addHyperFileRequestPopListener(), any.printStackTrace().line 266
public void drawPrefs()9 statement(s); calls userNameGetS.setString(), userPassGetS.setString(), defCharGetS.setString(), defMenuGetS.setString(), defDirGetS.setString() ….line 252
public void onFileSelect(String tCurrentDirName, String tFileString)Directory selected callback
Implements HyperFileRequestPopListener.onFileSelect()
line 159
public void synch()20 statement(s); calls userNameGetS.setString(), userPassGetS.setString(), defCharGetS.setString(), defMenuGetS.setString(), defDirGetS.setString() ….line 176
public void synchExternal()in this case synch the external defaults string toline 210

Nested & additional classes

BrowseDispatch (nested type, lines 278–294)

class BrowseDispatch extends Dispatch

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
BrowseDispatch()1 statement(s); calls super().line 280

Methods (1)

SignatureDescriptionSource
public boolean begin(HyperView tView)2 statement(s); calls addDirListener(); creates HyperDirectoryRequestPop.
Overrides Dispatch.begin()
line 284

LoadPrefsDispatch (nested type, lines 296–310)

class LoadPrefsDispatch extends Dispatch

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
LoadPrefsDispatch()1 statement(s); calls super().line 298

Methods (1)

SignatureDescriptionSource
public boolean begin(HyperView tView)4 statement(s); calls tView.defaults.load(), synch(), drawPrefs().
Overrides Dispatch.begin()
line 302

SavePrefsDispatch (nested type, lines 312–327)

class SavePrefsDispatch extends Dispatch

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
SavePrefsDispatch()1 statement(s); calls super().line 315

Methods (1)

SignatureDescriptionSource
public boolean begin(HyperView tView)4 statement(s); calls synchExternal(), tView.defaults.save(); creates HyperPop.
Overrides Dispatch.begin()
line 320

RestorePrefsDispatch (nested type, lines 329–343)

class RestorePrefsDispatch extends Dispatch

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
RestorePrefsDispatch()1 statement(s); calls super().line 331

Methods (1)

SignatureDescriptionSource
public boolean begin(HyperView tView)4 statement(s); calls tView.defaults.restore(), synch(), drawPrefs().
Overrides Dispatch.begin()
line 336

UserNameGetS (nested type, lines 345–351)

class UserNameGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
UserNameGetS(HyperView tView)1 statement(s); calls super().line 347

Methods (0)

None declared.

UserPassGetS (nested type, lines 353–359)

class UserPassGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
UserPassGetS(HyperView tView)1 statement(s); calls super().line 355

Methods (0)

None declared.

DefCharGetS (nested type, lines 361–367)

class DefCharGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
DefCharGetS(HyperView tView)1 statement(s); calls super().line 363

Methods (0)

None declared.

DefMenuGetS (nested type, lines 369–375)

class DefMenuGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
DefMenuGetS(HyperView tView)1 statement(s); calls super().line 371

Methods (0)

None declared.

DefDirGetS (nested type, lines 377–383)

class DefDirGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
DefDirGetS(HyperView tView)1 statement(s); calls super().line 379

Methods (0)

None declared.

CurDirGetS (nested type, lines 385–391)

class CurDirGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
CurDirGetS(HyperView tView)1 statement(s); calls super().line 387

Methods (0)

None declared.

HostGetS (nested type, lines 393–399)

class HostGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
HostGetS(HyperView tView)1 statement(s); calls super().line 395

Methods (0)

None declared.

PortGetS (nested type, lines 401–407)

class PortGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
PortGetS(HyperView tView)1 statement(s); calls super().line 403

Methods (0)

None declared.

ViewMainClassGetS (nested type, lines 409–415)

class ViewMainClassGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
ViewMainClassGetS(HyperView tView)1 statement(s); calls super().line 411

Methods (0)

None declared.

ServerIOWriteClassGetS (nested type, lines 417–423)

class ServerIOWriteClassGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
ServerIOWriteClassGetS(HyperView tView)1 statement(s); calls super().line 419

Methods (0)

None declared.

ServerIOReadClassGetS (nested type, lines 425–431)

class ServerIOReadClassGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
ServerIOReadClassGetS(HyperView tView)1 statement(s); calls super().line 427

Methods (0)

None declared.

HyperViewIOWriteClassGetS (nested type, lines 434–440)

class HyperViewIOWriteClassGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
HyperViewIOWriteClassGetS(HyperView tView)1 statement(s); calls super().line 436

Methods (0)

None declared.

HyperViewIOReadClassGetS (nested type, lines 442–448)

class HyperViewIOReadClassGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
HyperViewIOReadClassGetS(HyperView tView)1 statement(s); calls super().line 444

Methods (0)

None declared.

ExtendedClassPathGetS (nested type, lines 450–456)

class ExtendedClassPathGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
ExtendedClassPathGetS(HyperView tView)1 statement(s); calls super().line 452

Methods (0)

None declared.

ServerStateMachineGetS (nested type, lines 458–464)

class ServerStateMachineGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
ServerStateMachineGetS(HyperView tView)1 statement(s); calls super().line 460

Methods (0)

None declared.

JavaHomeGetS (nested type, lines 466–472)

class JavaHomeGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
JavaHomeGetS(HyperView tView)1 statement(s); calls super().line 468

Methods (0)

None declared.

VideoGetS (nested type, lines 474–480)

class VideoGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
VideoGetS(HyperView tView)1 statement(s); calls super().line 476

Methods (0)

None declared.

FTPGetS (nested type, lines 482–488)

class FTPGetS extends GetString

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
FTPGetS(HyperView tView)1 statement(s); calls super().line 484

Methods (0)

None declared.

Inherited members

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

From BasicPane (27 fields, 8 methods)

Fields: charHeight, deviceColor0, deviceColor1, deviceColor2, fontHeight, frameColor, frameColor1, frameColor2, frameColor3, frameWidth, itemColor0, itemColor1, itemColor2, menuPaneColor, mpHeight, mpWidth, mpX, mpX2, mpY, mpY2, selectedColor0, selectedColor1, selectedColor2, textColor, textPaneColor, textPaneHeight, textPaneWidth

Methods: drawString(String, int, int), drawString(String, int, int, int), drawStrings(StringArr, int, int), erase(), makeBitMap(Font), setFont(Font), setPaneColor(int), update()

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

   15  new PreferencesPane(curView);
Hits--