Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.SerialPane
Source: src/com/multiversesocial/hyperview/SerialPane.java
A Visual front end for the serial port driver. This is the base class for different modems. extend this for each modem. (T) JDK 26 Compliant Version
public class SerialPane extends BasicPane implements Runnable
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
Gadget atGad | No comment in source; assigned in SerialPane(). | ||
Gadget bpsGad | No comment in source; assigned in SerialPane(). | ||
SerialPane.BPSGroup bpsGroup | No comment in source; assigned in SerialPane(). | ||
static final int[] bpsRate | = {115200, 57600, 38400, 19200, 14400, 9600, 4800, 2400, 1200, 300} | No comment in source; not referenced by name in this type’s methods. | |
int bpsRate1 | No comment in source; not referenced by name in this type’s methods. | ||
int bpsRate2 | No comment in source; not referenced by name in this type’s methods. | ||
static final String[] bpsRateString | = {" 115200 ", " 57600 ", " 38400 ", " 19200 ", " 14400 ", " 9600 ", " 4800 ", " 240… | No comment in source; used in SerialPane(). | |
Gadget closeGad | No comment in source; assigned in SerialPane(). | ||
Gadget connectGad | No comment in source; assigned in SerialPane(). | ||
Gadget echoGad | No comment in source; assigned in SerialPane(). | ||
BasicPane messagePane | No comment in source; assigned in SerialPane(). | ||
static String portString | = "COM1" | No comment in source; used in SerialPane(); name appears in 2 other source file(s): Enfora2218WhackButton, PortControlPane. | |
volatile boolean running | = false | No comment in source; assigned in start(), halt(); used in run(). | |
HyperScrollbar scrollBar | No comment in source; assigned in SerialPane(). | ||
SerialHandler serialPortHandler | No comment in source; assigned in SerialPane(). | ||
Gadget statusGad | No comment in source; assigned in SerialPane(). | ||
Thread task | No comment in source; assigned in start(), halt(); used in run(). | ||
public static final String VERSION | = " V1.1" | No comment in source; name appears in 1 other source file(s): Externalizer. |
| Signature | Description | Source |
|---|---|---|
SerialPane(HyperView tView) | 1 statement(s); calls this(). | |
SerialPane(HyperView tView, int tSX, int tSY) | 71 statement(s); calls super(), addGob(), fColor.brighter(), fColor.darker(), messagePane.move() …; creates Color, BPSGroup, GetString. |
| Signature | Description | Source |
|---|---|---|
static { … } | Implicit default constructor generated by the compiler (not written in the source). | |
public synchronized void halt() | REPLACED: stop() -> halt() - JDK 26 compatible | |
public void run() | 2 statement(s); calls Thread.currentThread(), notifyAll(), wait(), Thread.currentThread().interrupt(), curView.serialPortHandler.showBuffer(). | |
public synchronized void start() | 4 statement(s); calls task.setName(), System.currentTimeMillis(), task.start(); creates Thread. |
class CloseSerialPane extends Dispatch
| Signature | Description | Source |
|---|---|---|
CloseSerialPane() | Implicit default constructor generated by the compiler (not written in the source). |
| Signature | Description | Source |
|---|---|---|
public boolean run() | 4 statement(s). |
class BPSGroup extends RadioGroup
| Signature | Description | Source |
|---|---|---|
BPSGroup(HyperView tView, String tString, int tX, int tY, String[] tString2) | 1 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
public void onClick() | 7 statement(s); calls super.onClick(), tSerialHandler.setBPSRate1(); creates HyperPop. |
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()
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()
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()
Fields: attachment, index, linkFlags, name, next, parentList, prev
Methods: inList()
subclass — Enfora2218WhackPane.java, line 4
4 public class Enfora2218WhackPane extends SerialPane
5 {