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

FontPane

HyperView V3.2 — class
version V3.2 class

Summary

Add these Gadgets to this FontPane Now add the dispatches to the Gadgets.

Source file: FontPane.java

Hierarchy

Extends: BasicPane

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

class FontPane extends BasicPane

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

Fields (8)

DeclarationValue / initializerDescriptionSource
Gadget abortGadgetNo comment in source; assigned in FontPane().line 6
Gadget boldGadgetNo comment in source; assigned in FontPane().line 10
Gadget decreaseGadgetNo comment in source; assigned in FontPane().line 8
Gadget increaseGadgetNo comment in source; assigned in FontPane().line 7
boolean isBoldNo comment in source; assigned in FontPane().line 11
boolean isItalicNo comment in source; assigned in FontPane().line 12
Gadget italicGadgetNo comment in source; assigned in FontPane().line 9
HyperScrollbar scrollBarNo comment in source; assigned in FontPane().line 5

Constructors (1)

SignatureDescriptionSource
FontPane(HyperView tView)32 statement(s); calls super(), move(), center(), tView.addGadget(), addGob() …; creates Gadget, HyperScrollbar, IncreaseFontSize.line 14

Methods (1)

SignatureDescriptionSource
public void update()Overwritten BasicPane method
Overrides BasicPane.update()
line 52

Nested & additional classes

IncreaseFontSize (nested type, lines 70–81)

class IncreaseFontSize extends Dispatch

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
IncreaseFontSize()1 statement(s); calls super().line 72

Methods (1)

SignatureDescriptionSource
public boolean begin(HyperView tView)Returns true.
Overrides Dispatch.begin()
line 76

DecreaseFontSize (nested type, lines 83–93)

class DecreaseFontSize extends Dispatch

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
DecreaseFontSize()1 statement(s); calls super().line 85

Methods (1)

SignatureDescriptionSource
public boolean begin(HyperView tView)Returns true.
Overrides Dispatch.begin()
line 89

setItalic (nested type, lines 95–105)

class setItalic extends Dispatch

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
setItalic()1 statement(s); calls super().line 97

Methods (1)

SignatureDescriptionSource
public boolean begin(HyperView tView)Returns true.
Overrides Dispatch.begin()
line 101

setBold (nested type, lines 107–117)

class setBold extends Dispatch

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
setBold()1 statement(s); calls super().line 109

Methods (1)

SignatureDescriptionSource
public boolean begin(HyperView tView)Returns true.
Overrides Dispatch.begin()
line 113

Inherited members

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

From BasicPane (27 fields, 7 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)

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 — FontBase.java, line 117

  117  FontPane tFontPane = new FontPane(tView);

declaration — FontBaseButton.java, line 19

   19  FontPane tFontPane = new FontPane(tView);
Hits--