Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.GetString
Source: src/com/multiversesocial/hyperview/GetString.java
System.out.println("new GetString = "+curView.totalGetStrings+" "+toString());
public class GetString extends Gadget implements HyperConstants, GetStringConstants, TextConstants
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
String caption | No comment in source; not referenced by name in this type’s methods. | ||
int curChar | No comment in source; assigned in GetString(), inKey(), setString(), viewSafeSetString(); used in drawCursor(), updateString(). | ||
static volatile GetString currentGetString | No comment in source; not referenced by name in this type’s methods. | ||
HyperView curView | A Link to the Parent view | ||
int endChar | No comment in source; assigned in GetString(), inKey(), setString(), viewSafeSetString(); used in drawCursor(), updateString(). | ||
Font font | What Font Our GetS() Text is displayed in | ||
int getStringFlags | No comment in source; assigned in GetString(), outlineOn(), outlineOff(), getNumbersOn(), getNumbersOff() …; used in getFlags(), inKey(). | ||
int getStringNumber | No comment in source; assigned in GetString(); used in inKey(). | ||
int insertMax | No comment in source; assigned in GetString(). | ||
HyperKeyboard keyboard | No comment in source; assigned in GetString(), destroy(); used in inKey(), onMouseOver(), updateString(). | ||
static volatile GetString lastGetString | No comment in source; not referenced by name in this type’s methods. | ||
volatile Linkable link | For list of GetStrings | ||
int maxChars | No comment in source; assigned in GetString(); used in inKey(). | ||
Dispatch method | No comment in source; assigned in addDispatch(); used in inKey(). | ||
volatile String passStr | No comment in source; assigned in GetString(), inKey(). | ||
int textFlags | No comment in source; assigned in GetString(). | ||
volatile String textStr | No comment in source; assigned in GetString(), inKey(), setString(), viewSafeSetString(); used in onMouseOver(), drawCursor(), updateString(). | ||
int textX | No comment in source; assigned in GetString(); used in inKey(), onMouseOver(), setString(), viewSafeSetString(). | ||
int textY | No comment in source; assigned in GetString(). | ||
char tmpChar | No comment in source; assigned in GetString(), inKey(). | ||
int tmpInt | No comment in source; assigned in GetString(), inKey(). | ||
KeyEvent tmpKey | No comment in source; assigned in inKey(). | ||
int z | = 0 | No comment in source; assigned in GetString(), makeGob(). |
| Signature | Description | Source |
|---|---|---|
GetString() | 1 statement(s); calls super(). | |
GetString(HyperView tView, int tx, int ty, int tMaxChars) | 1 statement(s); calls this(). | |
GetString(HyperView tView, int tx, int ty, int tMaxChars, int tFlags) | 1 statement(s); calls this(). | |
GetString(String defaultText, HyperView tView, int tx, int ty, int tMaxChars, int tFlags) | 61 statement(s); calls super(), tView.getCursor(), curView.guru(), this.cursorGraphics.getFontMetrics(this.font).stringWidth(), this.cursorGraphics.getFontMetrics() …; creates Color. |
| Signature | Description | Source |
|---|---|---|
public void addDispatch(Dispatch d) | Sets this.method = d. | |
public void destroy() | Sets keyboard = null. | |
public void drawBack() | 10 statement(s); calls selectGraphics.setColor(), selectGraphics.fillRect(), selectGraphics.drawLine(), selectGraphics.setFont(). | |
public void drawCursor() | 3 statement(s); calls graphics.drawImage(), graphics.setColor(), graphics.drawString(), textStr.charAt(). | |
public void drawOutline() | 6 statement(s); calls graphics.setColor(), graphics.drawLine(). | |
public void drawOutline(Color c) | 11 statement(s); calls lineColorA.darker(), lineColorB.darker(), graphics.setColor(), graphics.fillRect(), graphics.drawLine(). | |
public void drawOutline2() | 7 statement(s); calls graphics.setColor(), graphics.fillRect(), graphics.drawLine(). | |
public String getFlags() | 4 statement(s). | |
public Image getImageFromJar(String fileName) | 4 statement(s); calls HyperView.resolveResourceURLStatic(), curView.getAppletContext().getImage(), curView.getAppletContext(), curView.hyperViewOut(). | |
public void getNumbersOff() | 1 statement(s). | |
public void getNumbersOn() | 1 statement(s). | |
public void inKey() | 1 statement(s); calls tmpKey.getKeyChar(), tmpKey.getKeyCode(), keyboard.isPrintable(), keyboard.isNumeric(), textStr.substring() …; creates PrintStream. | |
public void inString(String str) | 1 statement(s); calls curView.hyperViewOut(). | |
public void loadCursor() | 1 statement(s); calls curView.createImage(), cursorImage.getGraphics(), getImageFromJar(), curView.getAppletContext().getImage(), curView.getAppletContext() …; creates URL. | |
public void loadCursor(String Name) | 2 statement(s); calls curView.createImage(), this.cursorImage.getGraphics(), getImageFromJar(), curView.getAppletContext().getImage(), curView.getAppletContext() …; creates URL. | |
public void makeGob(String tName, int sx, int sy) | 7 statement(s); calls gobName.endsWith(), curView.createImage(), getGraphics(), getImageFromJar(), curView.getAppletContext().getImage() …; creates URL. | |
public void onMouseOver() | 3 statement(s); calls tGetsGraphics.setColor(), tGetsGraphics.fillRect(), tGetsGraphics.drawString(), tGetsGraphics.drawLine(), graphics.setColor() …. | |
public void outlineOff() | 1 statement(s). | |
public void outlineOn() | 1 statement(s). | |
public void passwordDisable() | 2 statement(s). | |
public void passwordEnable() | 2 statement(s). | |
public void run() | 1 statement(s). | |
public void setDrawMode(boolean mode) | 1 statement(s). | |
public void setOutlineColor(Color c) | In case you fancy changing the | |
public void setString(String tString) | 10 statement(s); calls graphics.setColor(), graphics.fillRect(), graphics.drawString(), textStr.length(), curView.blitterLock.notifyAll(). | |
public void updateString(String tString) | 4 statement(s); calls graphics.setColor(), graphics.drawLine(), graphics.drawImage(), graphics.drawString(), textStr.charAt(). | |
public void viewSafeSetString(String tString) | 2 statement(s); calls graphics.setColor(), graphics.fillRect(), graphics.drawString(), textStr.length(), curView.blitterLock.notifyAll(). |
Fields: backColor, conFont, cursorGraphics, cursorHeight, cursorImage, cursorName, cursorScrollXOffset, cursorScrollYOffset, cursorWidth, cursorX, cursorY, displayInfo, fGColor, flipCount, gadFlags, gadFlags2, gadNumber, lastCursorX, lastCursorY, lineColorA, lineColorB, lineColorC, locked, parentTitlebar, stringHeight, stringWidth, stringX, stringY, tc1, tc2, tc3, tc4
Methods: allKeyMsgENA(), cleanUp(), getForeground(), isEnabled(), isShowing(), isVisible(), keyReleaseENA(), keyTypedENA(), layerDisable(), layerENA(), makeBitmap(Font), mouseWheelMoved(MouseWheelEvent), setEnabled(boolean), setForeground(int), setName(String), setVisible(boolean), toFront(), toString(), updateText()
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, x, x2, y, y2
Methods: addGob(Gob), addSpline(Spline), center(), collisionOff(), collisionOn(), disable(), enable(), getGraphics(), 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()
Fields: attachment, index, linkFlags, name, next, parentList, prev
Methods: inList()
instantiation — ChannelControlPane.java, line 88
87 //-
88 dataGetString = new GetString("",curView,159,7,24,0);
subclass — Image2RGB.java, line 82
82 class Image2RGBGetTimeout extends GetString
83 {
declaration — ChangeWorkForce.java, line 21
21 GetString tGetString;