|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mitre.cvw
Class CVWCommand

java.lang.Objectorg.mitre.cvw.CVWCommand
- class CVWCommand
- extends java.lang.Object
This class represents a cvw command to make communcation to the CVW server easier. Each command also can have a hot key sequence.
- Version:
| Field Summary | |
static int |
CMDCOUNT
|
(package private) java.lang.String |
cmdString
|
static int |
CVWCMD
|
static int |
EMOTE
|
static int |
EMOTE_PRIVATE
|
static int |
EMOTETO
|
(package private) java.lang.String |
errString
|
static int |
FINDUSER
|
static int |
GOHOME
|
static int |
GOTO
|
(package private) java.lang.Character |
hotkey
|
static int |
IDLE
|
static int |
JOIN
|
(package private) java.lang.Integer |
key
|
(package private) java.lang.String |
menuString
|
(package private) java.lang.String |
modifiers
|
(package private) int |
modMask
|
static int |
PAGE
|
static int |
PASTE
|
static int |
PASTETO
|
static int |
PHONE
|
static int |
SAY
|
static int |
SAY_PRIVATE
|
static int |
SAYTO
|
static int |
SENDURL
|
(package private) int |
virtualKey
|
static int |
WHISPER
|
| Constructor Summary | |
(package private) |
CVWCommand(int k,
java.lang.String cmdStr,
java.lang.String menuStr)
Constructor |
(package private) |
CVWCommand(int k,
java.lang.String cmdStr,
java.lang.String menuStr,
java.lang.String mod,
char hk,
int vk)
Constructor |
| Method Summary | |
java.lang.String |
buildCmdMenuItem(java.lang.String menu,
java.lang.String ctrlx)
Calculates the spaces between the command and the ctrl+x value. |
int |
getModMask()
|
int |
getVirtualKey()
|
int |
keyInt()
Returns the integer value of the key for this command |
java.lang.String |
toString()
Returns a string representation of this component and its values. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
GOHOME
public static final int GOHOME
- See Also:
- Constant Field Values
SAY
public static final int SAY
- See Also:
- Constant Field Values
PASTE
public static final int PASTE
- See Also:
- Constant Field Values
EMOTE
public static final int EMOTE
- See Also:
- Constant Field Values
PAGE
public static final int PAGE
- See Also:
- Constant Field Values
SAYTO
public static final int SAYTO
- See Also:
- Constant Field Values
PASTETO
public static final int PASTETO
- See Also:
- Constant Field Values
EMOTE_PRIVATE
public static final int EMOTE_PRIVATE
- See Also:
- Constant Field Values
WHISPER
public static final int WHISPER
- See Also:
- Constant Field Values
JOIN
public static final int JOIN
- See Also:
- Constant Field Values
IDLE
public static final int IDLE
- See Also:
- Constant Field Values
GOTO
public static final int GOTO
- See Also:
- Constant Field Values
EMOTETO
public static final int EMOTETO
- See Also:
- Constant Field Values
CVWCMD
public static final int CVWCMD
- See Also:
- Constant Field Values
SENDURL
public static final int SENDURL
- See Also:
- Constant Field Values
FINDUSER
public static final int FINDUSER
- See Also:
- Constant Field Values
SAY_PRIVATE
public static final int SAY_PRIVATE
- See Also:
- Constant Field Values
PHONE
public static final int PHONE
- See Also:
- Constant Field Values
CMDCOUNT
public static final int CMDCOUNT
- See Also:
- Constant Field Values
key
java.lang.Integer key
menuString
java.lang.String menuString
errString
java.lang.String errString
cmdString
java.lang.String cmdString
modifiers
java.lang.String modifiers
hotkey
java.lang.Character hotkey
virtualKey
int virtualKey
modMask
int modMask
| Constructor Detail |
CVWCommand
CVWCommand(int k,
java.lang.String cmdStr,
java.lang.String menuStr)
- Constructor
CVWCommand
CVWCommand(int k,
java.lang.String cmdStr,
java.lang.String menuStr,
java.lang.String mod,
char hk,
int vk)
- Constructor
| Method Detail |
getVirtualKey
public int getVirtualKey()
getModMask
public int getModMask()
buildCmdMenuItem
public java.lang.String buildCmdMenuItem(java.lang.String menu, java.lang.String ctrlx)
- Calculates the spaces between the
command and the ctrl+x value. Not perfect but good enough
9/11/96 dage
keyInt
public int keyInt()
- Returns the integer value of the key for this command
toString
public java.lang.String toString()
- Returns a string representation of this component and its values.
|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.mitre.cvw.CVWCommand