Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.PortControlPane
Source: src/com/multiversesocial/hyperview/PortControlPane.java
GetString ---------
public class PortControlPane extends BasicPane
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
Gadget addPortGadget | No comment in source; assigned in PortControlPane(). | ||
static int[][] connectionCommandOffset | = {{53, 43, 74, 64}, {53, 43, 74, 64}, {0, 43, 21, 64}} | No comment in source; used in update(). | |
static int[][] connectionStateOffset | = {{99, 19, 110, 30}, {121, 19, 131, 30}, {110, 19, 121, 30}} | No comment in source; used in update(). | |
volatile int currentPort | No comment in source; assigned in PortControlPane(), onClick(); used in update(). | ||
Gadget defaultGadget | No comment in source; not referenced by name in this type’s methods. | ||
Gadget deletePortGadget | No comment in source; assigned in PortControlPane(). | ||
volatile int displayFlags | No comment in source; not referenced by name in this type’s methods. | ||
volatile HyperNumberPop getPortNumberPop | No comment in source; not referenced by name in this type’s methods. | ||
RadioButton linkChannelRadioButton | No comment in source; assigned in PortControlPane(); used in update(). | ||
Gadget loadGadget | No comment in source; assigned in PortControlPane(). | ||
static final int MAX_DISPLAY_PORTS | = 16 | No comment in source; used in update(). | |
static final String PORT_PREFIX | = "port" PortInfo.PORT_PREFIX | No comment in source; name appears in 2 other source file(s): PortConstants, PortInfo. | |
Color portPaneColor0 | No comment in source; assigned in PortControlPane(); used in update(). | ||
Color portPaneColor1 | No comment in source; assigned in PortControlPane(); used in update(). | ||
String[] portString | No comment in source; name appears in 2 other source file(s): Enfora2218WhackButton, SerialPane. | ||
RadioButton runServerAtStartRadioButton | No comment in source; assigned in PortControlPane(); used in update(), onClick(). | ||
Gadget saveGadget | No comment in source; assigned in PortControlPane(). | ||
HyperScrollbar scrollBar | No comment in source; name appears in 3 other source file(s): Externalizer, FontPane, SerialPane. | ||
Gadget startGadget | No comment in source; not referenced by name in this type’s methods. | ||
Gadget stopGadget | No comment in source; not referenced by name in this type’s methods. | ||
int totalPorts | No comment in source; name appears in 1 other source file(s): PortInfo. | ||
static final int UPDATE_DISPLAY | = 1 | No comment in source; not referenced by name in this type’s methods. |
| Signature | Description | Source |
|---|---|---|
PortControlPane(HyperView tView) | 39 statement(s); calls super(), PortInfo.open(), portPaneColor0.darker(), a.move(), a.addDispatch() …; creates HyperPop, Color, Gadget. |
| Signature | Description | Source |
|---|---|---|
static { … } | Implicit default constructor generated by the compiler (not written in the source). | |
public void onClick() | 16 statement(s); calls PortInfo.getPortNodeIndex(), tPortNode.runState(), HyperConnectionHandler.startConnectionHandler(), any.printStackTrace(), HyperConnectionHandler.getConnectionHandler() …; creates HyperPop. | |
public void update() | Beware: assumption here is that there is no need to synch on PortList Monitor. |
class PortPaneListener extends PortListener
| Signature | Description | Source |
|---|---|---|
PortPaneListener() | Implicit default constructor generated by the compiler (not written in the source). |
| Signature | Description | Source |
|---|---|---|
void onPortChange(int tPortNumber, int tValue) | Refresh the port pane when PortInfo notifies a change. |
class AddPort extends Dispatch
| Signature | Description | Source |
|---|---|---|
AddPort(HyperView tView) | 1 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
public boolean begin(HyperView tView) | 2 statement(s); calls notifyAll(), PopupListener.waitForPopClose(), Integer.parseInt(), HyperConnectionHandler.getConnectionHandler(), PortInfo.updatePort() …; creates HyperNumberPop, HyperPop, PortNode. |
class DoServerRunAtStartToggle extends Dispatch
| Signature | Description | Source |
|---|---|---|
DoServerRunAtStartToggle(HyperView tView) | 1 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
public boolean begin(HyperView tView) | 4 statement(s); calls PortInfo.getPortNodeIndex(), runServerAtStartRadioButton.setSelected(), runServerAtStartRadioButton.deSelect(), PortInfo.savePortFlags(). |
class ChannelControlPop extends Dispatch
| Signature | Description | Source |
|---|---|---|
ChannelControlPop(HyperView tView) | 1 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
public boolean begin(HyperView tView) | 5 statement(s); calls PortInfo.getPortNodeIndex(), linkChannelRadioButton.setSelected(), linkChannelRadioButton.deSelect(), PortInfo.savePortFlags(). |
class DeletePort extends Dispatch
| Signature | Description | Source |
|---|---|---|
DeletePort(HyperView tView) | 1 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
public boolean begin(HyperView tView) | 6 statement(s); calls PortInfo.getPortList(), tPortList.dlDelete(), PortInfo.savePortList(), update(). |
class PortControlPaneAbort extends Abort
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
PortControlPane parentPane | No comment in source; assigned in PortControlPaneAbort(), begin(). |
| Signature | Description | Source |
|---|---|---|
PortControlPaneAbort(PortControlPane tPane) | 2 statement(s); calls super(). | |
PortControlPaneAbort(HyperView tView, PortControlPane tPane) | 2 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
public boolean begin(HyperView tView) | <Standard HyperView abort procedure.> |
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)
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(), onDisplay(), onRelease(), printGobAttr(HyperView), printScanLines(), remGob(), remove(), zENA(), zOff()
Fields: attachment, index, linkFlags, name, next, parentList, prev
Methods: inList()