Package jspecview.common
Enum Class ScriptToken
- All Implemented Interfaces:
Serializable
,Comparable<ScriptToken>
,Constable
ScriptToken takes care of script command processing
- Author:
- Bob Hanson hansonr@stolaf.edu
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getKey
(ScriptTokenizer eachParam) static String
getNameList
(Lst<ScriptToken> list) static ScriptToken
getScriptToken
(String name) static Lst<ScriptToken>
getScriptTokenList
(String name, boolean isExact) getTip()
read a string for possibly quoted tokens separated by space until // or # is reached.static String
getValue
(ScriptToken st, ScriptTokenizer params, String cmd) tweak command options depending upon special casesstatic ScriptToken
Returns the enum constant of this class with the specified name.static ScriptToken[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
-
APPLETID
-
APPLETREADYCALLBACKFUNCTIONNAME
-
AUTOINTEGRATE
-
BACKGROUNDCOLOR
-
CLOSE
-
COMPOUNDMENUON
-
COORDCALLBACKFUNCTIONNAME
-
COORDINATESCOLOR
-
COORDINATESON
-
DEBUG
-
DEFAULTLOADSCRIPT
-
DEFAULTNMRNORMALIZATION
-
DISPLAYFONTNAME
-
DISPLAY1D
-
DISPLAY2D
-
ENABLEZOOM
-
ENDINDEX
-
FINDX
-
GETPROPERTY
-
GETSOLUTIONCOLOR
-
GRIDCOLOR
-
GRIDON
-
HELP
-
HIDDEN
-
HIGHLIGHTCOLOR
-
HIGHLIGHT
-
INTEGRALOFFSET
-
INTEGRALRANGE
-
INTEGRATE
-
INTEGRATION
-
INTEGRALPLOTCOLOR
-
INTEGRATIONRATIOS
-
INTERFACE
-
INVERTY
-
IRMODE
-
JMOL
-
JSV
-
LABEL
-
LINK
-
LOAD
-
LOADFILECALLBACKFUNCTIONNAME
-
LOADIMAGINARY
-
MENUON
-
OBSCURE
-
OVERLAY
-
OVERLAYSTACKED
-
PEAK
-
PEAKCALLBACKFUNCTIONNAME
-
PEAKLIST
-
PEAKTABCOLOR
-
PEAKTABSON
-
PLOTAREACOLOR
-
PLOTCOLOR
-
PLOTCOLORS
-
POINTSONLY
-
PRINT
-
REVERSEPLOT
-
SCALEBY
-
SCALECOLOR
-
SCRIPT
-
SELECT
-
SETPEAK
-
SETX
-
SHIFTX
-
SHOWERRORS
-
SHOWINTEGRATION
-
SHOWKEY
-
SHOWMEASUREMENTS
-
SHOWMENU
-
SHOWPEAKLIST
-
SHOWPROPERTIES
-
SHOWSOURCE
-
SPECTRUM
-
SPECTRUMNUMBER
-
STACKOFFSETY
-
STARTINDEX
-
SYNCCALLBACKFUNCTIONNAME
-
SYNCID
-
TEST
-
TITLEON
-
TITLEBOLDON
-
TITLECOLOR
-
TITLEFONTNAME
-
UNITSCOLOR
-
VERSION
-
VIEW
-
XSCALEON
-
XUNITSON
-
YSCALE
-
YSCALEON
-
YUNITSON
-
WINDOW
-
WRITE
-
ZOOM
-
ZOOMBOXCOLOR
-
ZOOMBOXCOLOR2
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getTip
-
getScriptToken
-
getScriptTokenList
-
getValue
tweak command options depending upon special cases- Parameters:
st
-params
-cmd
-- Returns:
- adjusted value
-
getKey
-
getTokens
read a string for possibly quoted tokens separated by space until // or # is reached.- Parameters:
value
-- Returns:
- list of tokens
-
getNameList
-
getDescription
-