public class TCommand
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ABORT
Immediately abort the application (e.g.
|
static int |
BACKEND_DISCONNECT
Backend disconnected.
|
static int |
CASCADE
Cascade windows.
|
static int |
CLEAR
Clear selected text without copying it to the clipboard.
|
static int |
CLOSE_ALL
Close all windows.
|
static TCommand |
cmAbort |
static TCommand |
cmBackendDisconnect |
static TCommand |
cmCascade |
static TCommand |
cmClear |
static TCommand |
cmCloseAll |
static TCommand |
cmCopy |
static TCommand |
cmCut |
static TCommand |
cmExit |
static TCommand |
cmHelp |
static TCommand |
cmMenu |
static TCommand |
cmOpen |
static TCommand |
cmPaste |
static TCommand |
cmQuit |
static TCommand |
cmSave |
static TCommand |
cmShell |
static TCommand |
cmTile |
static TCommand |
cmWindowClose |
static TCommand |
cmWindowMove |
static TCommand |
cmWindowNext |
static TCommand |
cmWindowPrevious |
static TCommand |
cmWindowZoom |
static int |
COPY
Copy selected text to clipboard.
|
static int |
CUT
Cut selected text and copy to the clipboard.
|
static int |
EXIT
Exit application.
|
static int |
HELP
Enter help system.
|
static int |
MENU
Enter first menu.
|
static int |
OPEN
File open dialog.
|
static int |
PASTE
Paste from clipboard.
|
static int |
SAVE
Save file.
|
static int |
SHELL
Spawn OS shell window.
|
static int |
TILE
Tile windows.
|
static int |
WINDOW_CLOSE
Close window.
|
static int |
WINDOW_MOVE
Move (move/resize) window.
|
static int |
WINDOW_NEXT
Next window (like Alt-TAB).
|
static int |
WINDOW_PREVIOUS
Previous window (like Shift-Alt-TAB).
|
static int |
WINDOW_ZOOM
Zoom (maximize/restore) window.
|
Constructor and Description |
---|
TCommand(int type)
Public constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object rhs)
Comparison check.
|
int |
hashCode()
Hashcode uses all fields in equals().
|
java.lang.String |
toString()
Make human-readable description of this TCommand.
|
public static final int ABORT
public static final int OPEN
public static final int EXIT
public static final int SHELL
public static final int CUT
public static final int COPY
public static final int PASTE
public static final int CLEAR
public static final int TILE
public static final int CASCADE
public static final int CLOSE_ALL
public static final int WINDOW_MOVE
public static final int WINDOW_ZOOM
public static final int WINDOW_NEXT
public static final int WINDOW_PREVIOUS
public static final int WINDOW_CLOSE
public static final int HELP
public static final int MENU
public static final int SAVE
public static final int BACKEND_DISCONNECT
public static final TCommand cmAbort
public static final TCommand cmExit
public static final TCommand cmQuit
public static final TCommand cmOpen
public static final TCommand cmShell
public static final TCommand cmCut
public static final TCommand cmCopy
public static final TCommand cmPaste
public static final TCommand cmClear
public static final TCommand cmTile
public static final TCommand cmCascade
public static final TCommand cmCloseAll
public static final TCommand cmWindowMove
public static final TCommand cmWindowZoom
public static final TCommand cmWindowNext
public static final TCommand cmWindowPrevious
public static final TCommand cmWindowClose
public static final TCommand cmHelp
public static final TCommand cmSave
public static final TCommand cmMenu
public static final TCommand cmBackendDisconnect
public TCommand(int type)
type
- the Type of command, one of EXIT, CASCADE, etc.public final java.lang.String toString()
toString
in class java.lang.Object
public final boolean equals(java.lang.Object rhs)
equals
in class java.lang.Object
rhs
- another TCommand instancepublic int hashCode()
hashCode
in class java.lang.Object
Copyright © 2019 Kevin Lamonte. Licensed MIT.