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

DBText

HyperView V3.2 — class
version V3.2 class

Summary

Main constructor

Source file: DBText.java

Hierarchy

Extends: Gob

Implements: TextConstants

Referenced HyperView classes

Media files used

Declaration & members

public class DBText extends Gob implements TextConstants

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

Fields (14)

DeclarationValue / initializerDescriptionSource
int curFont= 3No comment in source; assigned in DBText().line 11
HyperView curView= nullNo comment in source; assigned in DBText(); used in delete().line 6
int fadeFrame= 0No comment in source; not referenced by name in this type’s methods.line 17
Color[] fColor= new Color[12]No comment in source; name appears in 3 other source file(s): FadeText, HyperView, SerialPane.line 16
int textBGPen= 0No comment in source; assigned in DBText().line 15
int textFGPen= 1No comment in source; assigned in DBText().line 14
int textFlags= 0No comment in source; assigned in DBText(), delete().line 18
int textLinger= 1000in Millisecondsline 12
int textRestart= 1No comment in source; name appears in 3 other source file(s): Dispatch, FadeText, HyperView.line 19
String textStr= ""No comment in source; assigned in DBText(), delete().line 8
int textTimer= 0No comment in source; assigned in DBText().line 13
int viewIndex= -1No comment in source; not referenced by name in this type’s methods.line 7
int x= 0No comment in source; assigned in DBText().line 9
int y= 0No comment in source; assigned in DBText().line 10

Constructors (5)

SignatureDescriptionSource
DBText()1 statement(s); calls super().line 21
DBText(String tString, int tx, int ty)1 statement(s); calls this(), HyperView.getCurView().line 27
DBText(HyperView tView, String tstr, int tx, int ty, int tflags)17 statement(s); calls super(), curView.screenGraphics.getFontMetrics(), curView.addStr().line 31
DBText(HyperView tView, String tstr, int tx, int ty, int onTimer, int tflags)17 statement(s); calls super(), curView.screenGraphics.getFontMetrics(), curView.addStr().line 53
DBText(HyperView tView, String tstr, int tx, int ty)16 statement(s); calls super(), curView.screenGraphics.getFontMetrics(), curView.addStr().line 77

Methods (1)

SignatureDescriptionSource
public void delete()1 statement(s); calls curView.hyperViewOut().line 98

Inherited members

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

From Gob (73 fields, 29 methods)

Fields: asynchGraphics1, asynchGraphics2, asynchImage1, asynchImage2, attachedGob, attachedIndex, backGround, bgMemoryImageSource, bGPen, bottomMax, clickX, clickY, collisionClassMask, curAttached, currentZIndex, 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, x2, y2, z

Methods: addGob(Gob), addSpline(Spline), center(), cleanUp(), 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(), toString(), zENA(), zOff()

From Linkable (7 fields, 2 methods)

Fields: attachment, index, linkFlags, name, next, parentList, prev

Methods: inList(), setName(String)

Examples

Real usage taken from elsewhere in the HyperView 3.2 source (file and line shown; source path src/com/multiversesocial/hyperview/).

instantiation — HyperXec.java, line 49

   49  new DBText(curView,"These are persistant Threads Monitered by the lightweight NetXec",tXOffSet,tYOffSet);

subclass — FadeText.java, line 4

    4  public class FadeText extends DBText
    5  {

declaration — HyperView.java, line 3440

 3440  public boolean runView(DBText dbt,int tMilliSecs)
 3441  {
Hits--