public final class ChangePersonalSettings extends Info
Modifier and Type | Field and Description |
---|---|
static int |
ALL_KEYS
All keys abort display.
|
static int |
COMPACT
Compact message display mode.
|
static int |
LONG
Long message display mode.
|
static int |
NO_RADIO
No sub-space radio.
|
static int |
SPACE
Space key abort display.
|
Modifier and Type | Method and Description |
---|---|
static void |
exec(int ansi,
int animation,
int page,
int subSpace,
int fedComm,
int hail,
int silent)
Change your personal settings.
|
static void |
exec(int ansi,
int animation,
int page,
int subSpace,
int fedComm,
int hail,
int silent,
int abortDisplay,
int messageMode,
int screenPauses,
int autoFlee)
Change your personal settings.
|
java.lang.String |
getClassName()
Gets the command class name.
|
java.lang.String |
getName()
Gets the name of the command.
|
java.util.Enumeration |
getParams()
Gets the command parameters.
|
boolean |
initCommand() |
boolean |
isInternal()
Indicates if this is an internal SWATH command or not.
|
boolean |
isUserDefined()
Indicates if this command is user defined or not.
|
public static final int NO_RADIO
public static final int SPACE
public static final int ALL_KEYS
public static final int COMPACT
public static final int LONG
public boolean initCommand() throws java.lang.Exception
java.lang.Exception
public static void exec(int ansi, int animation, int page, int subSpace, int fedComm, int hail, int silent) throws java.lang.Exception
NO_CHANGE
for those parameters where no change is wanted.ansi
- Turn ANSI graphics ON or OFF
.animation
- Turn animations ON or OFF
.page
- Turn page on messages ON or OFF
.subSpace
- Set the current Sub-space radio channel (NO_RADIO = Off
).fedComm
- Turn the Federation comm-link ON or OFF
.hail
- Receive private hails, YES or NO
.silent
- Silence all messages, YES or NO
.java.lang.Exception
Swath.NO_CHANGE
,
Swath.ON
,
Swath.OFF
,
Swath.YES
,
Swath.NO
,
NO_RADIO
public static void exec(int ansi, int animation, int page, int subSpace, int fedComm, int hail, int silent, int abortDisplay, int messageMode, int screenPauses, int autoFlee) throws java.lang.Exception
NO_CHANGE
for those parameters where no change is wanted.ansi
- Turn ANSI graphics ON or OFF
.animation
- Turn animations ON or OFF
.page
- Turn page on messages ON or OFF
.subSpace
- Set the current Sub-space radio channel (NO_RADIO = Off
).fedComm
- Turn the Federation comm-link ON or OFF
.hail
- Receive private hails, YES or NO
.silent
- Silence all messages, YES or NO
.abortDisplay
- Abort display on keys, SPACE or ALL_KEYS
.messageMode
- Message display mode, COMPACT or LONG
.screenPauses
- Use screen pauses, YES or NO
.autoFlee
- Turn online auto flee ON or OFF
.java.lang.Exception
Swath.NO_CHANGE
,
Swath.ON
,
Swath.OFF
,
Swath.YES
,
Swath.NO
,
NO_RADIO
,
SPACE
,
ALL_KEYS
,
COMPACT
,
LONG
public final boolean isUserDefined()
CommandIfc
isUserDefined
in interface CommandIfc
true
if user defined, otherwise false
.public final java.lang.String getName()
CommandIfc
getName
in interface CommandIfc
public final java.lang.String getClassName()
CommandIfc
getClassName
in interface CommandIfc
public final java.util.Enumeration getParams()
CommandIfc
getParams
in interface CommandIfc
public boolean isInternal()
CommandIfc
isInternal
in interface CommandIfc
true
if internal, otherwise false
.