org.jmol.viewer
Class Token

java.lang.Object
  extended by org.jmol.viewer.Token
Direct Known Subclasses:
Token.Token2

public class Token
extends java.lang.Object


Nested Class Summary
static class Token.Token2
           
 
Field Summary
(package private) static int absolute
           
(package private) static int add
           
static int adpmax
           
static int adpmin
           
(package private) static int all
           
(package private) static int altloc
           
static int ambient
           
(package private) static int amino
           
(package private) static int angle
           
(package private) static int animation
           
(package private) static int array
           
private static java.lang.Object[] arrayPairs
           
(package private) static java.lang.String[] astrType
           
(package private) static int atomExpressionCommand
           
(package private) static int atomID
           
(package private) static int atomIndex
           
static int atomno
           
(package private) static int atomproperty
           
static int atoms
           
static int atomX
           
static int atomY
           
static int atomZ
           
(package private) static int average
           
static int axes
           
(package private) static int axis
           
(package private) static int axisangle
           
(package private) static int babel
           
(package private) static int back
           
(package private) static int backbone
           
(package private) static int background
           
static int backlit
           
static int bitset
           
(package private) static int bondcount
           
(package private) static int bondmode
           
(package private) static int bondorder
           
static int bonds
           
(package private) static int bondset
           
(package private) static int bottom
           
static int boundbox
           
static int branch
           
(package private) static int breakcmd
           
(package private) static int calculate
           
static int carbohydrate
           
(package private) static int cartoon
           
static int cell
           
(package private) static int center
           
(package private) static int centerAt
           
static int chain
           
(package private) static int clear
           
(package private) static int clickable
           
(package private) static int clipboard
           
(package private) static int colon
           
static int color
           
(package private) static int comma
           
static int command
           
(package private) static int comparator
           
(package private) static int comparefloatx100
           
(package private) static int configuration
           
static int connect
           
static int connected
           
(package private) static int console
           
(package private) static int constraint
           
(package private) static int continuecmd
           
(package private) static int coord
           
(package private) static int cos
           
static int cross
           
(package private) static int data
           
(package private) static int decimal
           
(package private) static int defaultColors
           
(package private) static int defaultON
           
(package private) static int define
           
(package private) static int delay
           
static int delete
           
(package private) static int depth
           
(package private) static int diffuse
           
(package private) static int dipole
           
(package private) static int direction
           
(package private) static int displacement
           
(package private) static int display
           
(package private) static int displayed
           
(package private) static int distance
           
(package private) static int div
           
(package private) static int divide
           
static int dna
           
(package private) static int dollarsign
           
(package private) static int dot
           
static int dots
           
(package private) static int dotted
           
static int draw
           
(package private) static int echo
           
static int element
           
static int elemno
           
(package private) static int ellipsoid
           
(package private) static int elsecmd
           
(package private) static int elseif
           
(package private) static int end
           
(package private) static int endifcmd
           
(package private) static int exit
           
(package private) static int expression
           
(package private) static int expressionBegin
           
(package private) static int expressionEnd
           
(package private) static int file
           
static int fill
           
(package private) static int find
           
(package private) static int fixedtemp
           
(package private) static int flowCommand
           
(package private) static int font
           
(package private) static int fontsize
           
(package private) static int forcmd
           
static int formalCharge
           
static int fracX
           
static int fracXyz
           
static int fracY
           
static int fracZ
           
(package private) static int frame
           
(package private) static int frank
           
static int front
           
static int frontlit
           
static int frontonly
           
static int fullylit
           
(package private) static int function
           
(package private) static int geosurface
           
(package private) static int getproperty
           
(package private) static int gotocmd
           
static int group
           
(package private) static int groupID
           
(package private) static int halo
           
(package private) static int hbond
           
(package private) static int help
           
static int hetero
           
(package private) static int hidden
           
(package private) static int hide
           
(package private) static int history
           
(package private) static int hover
           
static int hydrogen
           
static int identifier
           
(package private) static int identify
           
(package private) static int ifcmd
           
(package private) static int image
           
(package private) static int implicitStringCommand
           
static int info
           
(package private) static int initialize
           
(package private) static int insertion
           
(package private) static int integer
           
 int intValue
           
(package private) static int invertSelected
           
(package private) static int ionic
           
static int isaromatic
           
(package private) static int isosurface
           
(package private) static int javascript
           
(package private) static int jmol
           
(package private) static int join
           
private static int keyword
           
(package private) static int label
           
(package private) static int last
           
(package private) static int lcaocartoon
           
(package private) static int left
           
(package private) static int leftbrace
           
(package private) static int leftdivide
           
(package private) static int leftparen
           
(package private) static int leftsquare
           
(package private) static int length
           
(package private) static int lines
           
(package private) static int list
           
(package private) static int load
           
(package private) static int loop
           
private static java.util.Hashtable map
           
(package private) static int mathExpressionCommand
           
(package private) static int mathfunc
           
(package private) static int mathop
           
(package private) static int mathproperty
           
(package private) static int max
           
(package private) static int mep
           
static int mesh
           
(package private) static int meshRibbon
           
(package private) static int message
           
(package private) static int min
           
(package private) static int minimize
           
(package private) static int minmaxmask
           
(package private) static int minus
           
(package private) static int misc
           
(package private) static int mo
           
(package private) static int mode
           
static int model
           
static int molecule
           
(package private) static int monitor
           
(package private) static int monomer
           
(package private) static int move
           
(package private) static int moveto
           
(package private) static int mul
           
(package private) static int nada
           
(package private) static int navigate
           
(package private) static int next
           
(package private) static int noArgs
           
static int nodots
           
(package private) static int noeval
           
static int nofill
           
static int nomesh
           
(package private) static int none
           
(package private) static int normal
           
static int notfrontonly
           
static int notriangles
           
static int nucleic
           
static int occupancy
           
static int off
           
static int on
           
(package private) static int only
           
(package private) static int opAnd
           
(package private) static int opaque
           
static int opEQ
           
(package private) static int opGE
           
(package private) static int opGT
           
(package private) static int opLE
           
(package private) static int opLT
           
(package private) static int opNE
           
(package private) static int opNot
           
(package private) static int opOr
           
(package private) static int opToggle
           
(package private) static int opXor
           
(package private) static int orientation
           
static int partialCharge
           
(package private) static int pause
           
(package private) static int pdbheader
           
static int percent
           
(package private) static int phi
           
(package private) static int picking
           
(package private) static int pickingStyle
           
(package private) static int plane
           
(package private) static int play
           
(package private) static int playrev
           
(package private) static int plus
           
(package private) static int pmesh
           
(package private) static int point
           
static int point3f
           
static int point4f
           
(package private) static int pointgroup
           
(package private) static int polyhedra
           
(package private) static int polymer
           
(package private) static int polymerLength
           
(package private) static int predefinedset
           
(package private) static int prev
           
(package private) static int print
           
(package private) static int property
           
(package private) static int propselector
           
static int protein
           
(package private) static int psi
           
(package private) static javax.vecmath.Point3f pt0
           
static int purine
           
static int pyrimidine
           
(package private) static int quaternion
           
(package private) static int quit
           
(package private) static int qw
           
(package private) static int radius
           
(package private) static int ramachandran
           
(package private) static int random
           
(package private) static int range
           
(package private) static int rasmol
           
(package private) static int refresh
           
(package private) static int replace
           
(package private) static int reset
           
static int residue
           
(package private) static int resno
           
(package private) static int restore
           
(package private) static int restrict
           
(package private) static int resume
           
(package private) static int returncmd
           
(package private) static int rewind
           
(package private) static int ribbon
           
(package private) static int right
           
(package private) static int rightbrace
           
(package private) static int rightparen
           
(package private) static int rightsquare
           
static int rna
           
(package private) static int rocket
           
(package private) static int rotate
           
(package private) static int rotateSelected
           
(package private) static int rotation
           
(package private) static int rubberband
           
(package private) static int sasurface
           
(package private) static int save
           
(package private) static int scale
           
(package private) static int scale3d
           
(package private) static int script
           
(package private) static int select
           
static int selected
           
(package private) static int selectionHalo
           
(package private) static int semicolon
           
(package private) static int seqcode
           
static int sequence
           
(package private) static int set
           
(package private) static int setparam
           
(package private) static int settable
           
(package private) static int shape
           
(package private) static int shapely
           
(package private) static int show
           
static int sidechain
           
(package private) static int sin
           
static int site
           
(package private) static int size
           
(package private) static int slab
           
(package private) static int solid
           
(package private) static int solvent
           
(package private) static int spacefill
           
(package private) static int spacegroup
           
static int spec_alternate
           
static int spec_atom
           
static int spec_chain
           
static int spec_model
           
(package private) static int spec_model2
           
static int spec_name_pattern
           
static int spec_resid
           
static int spec_seqcode
           
static int spec_seqcode_range
           
(package private) static int specexponent
           
static int specialposition
           
(package private) static int specpercent
           
(package private) static int specpower
           
(package private) static int specular
           
(package private) static int spin
           
(package private) static int split
           
(package private) static int sqrt
           
(package private) static int ssbond
           
(package private) static int star
           
(package private) static int state
           
(package private) static int stereo
           
static int straightness
           
(package private) static int strands
           
static int string
           
static int structure
           
(package private) static int sub
           
(package private) static int subset
           
(package private) static int substructure
           
(package private) static int surface
           
(package private) static int surfacedistance
           
static int symmetry
           
(package private) static int symop
           
(package private) static int sync
           
static int temperature
           
(package private) static int thismodel
           
(package private) static int times
           
 int tok
           
(package private) static Token tokenAll
           
static Token tokenAnd
           
(package private) static Token tokenArraySelector
           
static Token tokenComma
           
(package private) static Token tokenCoordinateBegin
           
(package private) static Token tokenCoordinateEnd
           
(package private) static Token tokenDivide
           
static Token tokenExpressionBegin
           
static Token tokenExpressionEnd
           
static Token tokenLeftParen
           
(package private) static Token tokenMinus
           
(package private) static Token tokenOff
           
(package private) static Token tokenOn
           
static Token tokenOr
           
(package private) static Token tokenPlus
           
static Token tokenRightParen
           
(package private) static Token tokenSet
           
(package private) static Token tokenSetArray
           
(package private) static Token tokenSetProperty
           
(package private) static Token tokenSetVar
           
(package private) static Token tokenTimes
           
(package private) static int top
           
(package private) static int torsion
           
(package private) static int trace
           
(package private) static int transform
           
(package private) static int translate
           
(package private) static int translateSelected
           
(package private) static int translation
           
static int translucent
           
(package private) static int transparent
           
static int triangles
           
(package private) static int trim
           
(package private) static int type
           
(package private) static int unaryMinus
           
static int unitcell
           
(package private) static int url
           
(package private) static int user
           
static int valence
           
 java.lang.Object value
           
static int vanderwaals
           
(package private) static int var
           
(package private) static int vector
           
(package private) static int vibration
           
static int vibX
           
static int vibXyz
           
static int vibY
           
static int vibZ
           
(package private) static int visible
           
(package private) static int whilecmd
           
static int wireframe
           
(package private) static int within
           
(package private) static int write
           
static int xyz
           
(package private) static int zap
           
(package private) static int zoom
           
(package private) static int zoomTo
           
 
Constructor Summary
Token(int tok)
           
Token(int tok, int intValue)
           
Token(int tok, int intValue, java.lang.Object value)
           
Token(int tok, java.lang.Object value)
           
 
Method Summary
static void addToken(java.lang.String ident, Token token)
           
(package private) static java.util.BitSet bsSelect(Token token)
           
(package private) static java.util.BitSet bsSelect(Token token, int n)
           
(package private) static boolean bValue(Token x)
           
(package private) static java.lang.String[] concatList(Token x1, Token x2)
           
(package private) static float fValue(Token x)
           
static java.lang.String getCommandSet(java.lang.String strBegin)
          retrieves an unsorted list of viable commands that could be completed by this initial set of characters.
(package private) static int getMaxMathParams(int tokCommand)
           
(package private) static int getPrecedence(int tok)
           
static int getSettableTokFromString(java.lang.String s)
           
static Token getTokenFromName(java.lang.String name)
           
(package private) static java.lang.String[] getTokensLike(java.lang.String type)
           
static Token intToken(int intValue)
           
(package private) static int iValue(Token x)
           
static java.lang.String nameOf(int tok)
           
(package private) static java.lang.Object nValue(Token x)
           
(package private) static java.lang.Object oValue(Token x)
           
(package private) static Token selectItem(Token tokenIn)
           
(package private) static Token selectItem(Token tokenIn, int i2)
           
(package private) static int sizeOf(Token x)
           
(package private) static java.lang.String sValue(Token x)
           
 java.lang.String toString()
           
(package private) static Token tValue(java.lang.String str)
           
(package private) static java.lang.String typeOf(Token x)
           
static java.lang.Object unescapePointOrBitsetAsToken(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tok

public int tok

value

public java.lang.Object value

intValue

public int intValue

nada

static final int nada
See Also:
Constant Field Values

identifier

public static final int identifier
See Also:
Constant Field Values

integer

static final int integer
See Also:
Constant Field Values

decimal

static final int decimal
See Also:
Constant Field Values

string

public static final int string
See Also:
Constant Field Values

seqcode

static final int seqcode
See Also:
Constant Field Values

list

static final int list
See Also:
Constant Field Values

point3f

public static final int point3f
See Also:
Constant Field Values

point4f

public static final int point4f
See Also:
Constant Field Values

keyword

private static final int keyword
See Also:
Constant Field Values

astrType

static final java.lang.String[] astrType

command

public static final int command
See Also:
Constant Field Values

atomExpressionCommand

static final int atomExpressionCommand
See Also:
Constant Field Values

implicitStringCommand

static final int implicitStringCommand
See Also:
Constant Field Values

mathExpressionCommand

static final int mathExpressionCommand
See Also:
Constant Field Values

flowCommand

static final int flowCommand
See Also:
Constant Field Values

noeval

static final int noeval
See Also:
Constant Field Values

noArgs

static final int noArgs
See Also:
Constant Field Values

defaultON

static final int defaultON
See Also:
Constant Field Values

expression

static final int expression
See Also:
Constant Field Values

atomproperty

static final int atomproperty
See Also:
Constant Field Values

mathproperty

static final int mathproperty
See Also:
Constant Field Values

mathfunc

static final int mathfunc
See Also:
Constant Field Values

mathop

static final int mathop
See Also:
Constant Field Values

predefinedset

static final int predefinedset
See Also:
Constant Field Values

misc

static final int misc
See Also:
Constant Field Values

setparam

static final int setparam
See Also:
Constant Field Values

center

static final int center
See Also:
Constant Field Values

define

static final int define
See Also:
Constant Field Values

delete

public static final int delete
See Also:
Constant Field Values

display

static final int display
See Also:
Constant Field Values

hide

static final int hide
See Also:
Constant Field Values

restrict

static final int restrict
See Also:
Constant Field Values

subset

static final int subset
See Also:
Constant Field Values

zap

static final int zap
See Also:
Constant Field Values

print

static final int print
See Also:
Constant Field Values

returncmd

static final int returncmd
See Also:
Constant Field Values

set

static final int set
See Also:
Constant Field Values

var

static final int var
See Also:
Constant Field Values

echo

static final int echo
See Also:
Constant Field Values

help

static final int help
See Also:
Constant Field Values

hover

static final int hover
See Also:
Constant Field Values

message

static final int message
See Also:
Constant Field Values

pause

static final int pause
See Also:
Constant Field Values

ifcmd

static final int ifcmd
See Also:
Constant Field Values

elseif

static final int elseif
See Also:
Constant Field Values

elsecmd

static final int elsecmd
See Also:
Constant Field Values

endifcmd

static final int endifcmd
See Also:
Constant Field Values

forcmd

static final int forcmd
See Also:
Constant Field Values

whilecmd

static final int whilecmd
See Also:
Constant Field Values

breakcmd

static final int breakcmd
See Also:
Constant Field Values

continuecmd

static final int continuecmd
See Also:
Constant Field Values

end

static final int end
See Also:
Constant Field Values

animation

static final int animation
See Also:
Constant Field Values

axes

public static final int axes
See Also:
Constant Field Values

backbone

static final int backbone
See Also:
Constant Field Values

background

static final int background
See Also:
Constant Field Values

bondorder

static final int bondorder
See Also:
Constant Field Values

calculate

static final int calculate
See Also:
Constant Field Values

cartoon

static final int cartoon
See Also:
Constant Field Values

centerAt

static final int centerAt
See Also:
Constant Field Values

configuration

static final int configuration
See Also:
Constant Field Values

connect

public static final int connect
See Also:
Constant Field Values

console

static final int console
See Also:
Constant Field Values

delay

static final int delay
See Also:
Constant Field Values

depth

static final int depth
See Also:
Constant Field Values

dipole

static final int dipole
See Also:
Constant Field Values

dots

public static final int dots
See Also:
Constant Field Values

draw

public static final int draw
See Also:
Constant Field Values

ellipsoid

static final int ellipsoid
See Also:
Constant Field Values

exit

static final int exit
See Also:
Constant Field Values

font

static final int font
See Also:
Constant Field Values

frame

static final int frame
See Also:
Constant Field Values

frank

static final int frank
See Also:
Constant Field Values

geosurface

static final int geosurface
See Also:
Constant Field Values

gotocmd

static final int gotocmd
See Also:
Constant Field Values

halo

static final int halo
See Also:
Constant Field Values

hbond

static final int hbond
See Also:
Constant Field Values

history

static final int history
See Also:
Constant Field Values

initialize

static final int initialize
See Also:
Constant Field Values

invertSelected

static final int invertSelected
See Also:
Constant Field Values

isosurface

static final int isosurface
See Also:
Constant Field Values

lcaocartoon

static final int lcaocartoon
See Also:
Constant Field Values

loop

static final int loop
See Also:
Constant Field Values

meshRibbon

static final int meshRibbon
See Also:
Constant Field Values

minimize

static final int minimize
See Also:
Constant Field Values

mo

static final int mo
See Also:
Constant Field Values

monitor

static final int monitor
See Also:
Constant Field Values

move

static final int move
See Also:
Constant Field Values

moveto

static final int moveto
See Also:
Constant Field Values

navigate

static final int navigate
See Also:
Constant Field Values

pmesh

static final int pmesh
See Also:
Constant Field Values

polyhedra

static final int polyhedra
See Also:
Constant Field Values

quit

static final int quit
See Also:
Constant Field Values

ramachandran

static final int ramachandran
See Also:
Constant Field Values

refresh

static final int refresh
See Also:
Constant Field Values

reset

static final int reset
See Also:
Constant Field Values

restore

static final int restore
See Also:
Constant Field Values

ribbon

static final int ribbon
See Also:
Constant Field Values

rocket

static final int rocket
See Also:
Constant Field Values

rotate

static final int rotate
See Also:
Constant Field Values

rotateSelected

static final int rotateSelected
See Also:
Constant Field Values

save

static final int save
See Also:
Constant Field Values

selectionHalo

static final int selectionHalo
See Also:
Constant Field Values

show

static final int show
See Also:
Constant Field Values

slab

static final int slab
See Also:
Constant Field Values

spacefill

static final int spacefill
See Also:
Constant Field Values

spin

static final int spin
See Also:
Constant Field Values

ssbond

static final int ssbond
See Also:
Constant Field Values

star

static final int star
See Also:
Constant Field Values

stereo

static final int stereo
See Also:
Constant Field Values

strands

static final int strands
See Also:
Constant Field Values

sync

static final int sync
See Also:
Constant Field Values

trace

static final int trace
See Also:
Constant Field Values

translate

static final int translate
See Also:
Constant Field Values

translateSelected

static final int translateSelected
See Also:
Constant Field Values

unitcell

public static final int unitcell
See Also:
Constant Field Values

vector

static final int vector
See Also:
Constant Field Values

vibration

static final int vibration
See Also:
Constant Field Values

wireframe

public static final int wireframe
See Also:
Constant Field Values

zoom

static final int zoom
See Also:
Constant Field Values

zoomTo

static final int zoomTo
See Also:
Constant Field Values

expressionBegin

static final int expressionBegin
See Also:
Constant Field Values

expressionEnd

static final int expressionEnd
See Also:
Constant Field Values

all

static final int all
See Also:
Constant Field Values

altloc

static final int altloc
See Also:
Constant Field Values

branch

public static final int branch
See Also:
Constant Field Values

chain

public static final int chain
See Also:
Constant Field Values

colon

static final int colon
See Also:
Constant Field Values

coord

static final int coord
See Also:
Constant Field Values

dollarsign

static final int dollarsign
See Also:
Constant Field Values

dot

static final int dot
See Also:
Constant Field Values

group

public static final int group
See Also:
Constant Field Values

insertion

static final int insertion
See Also:
Constant Field Values

isaromatic

public static final int isaromatic
See Also:
Constant Field Values

leftbrace

static final int leftbrace
See Also:
Constant Field Values

none

static final int none
See Also:
Constant Field Values

off

public static final int off
See Also:
Constant Field Values

on

public static final int on
See Also:
Constant Field Values

rightbrace

static final int rightbrace
See Also:
Constant Field Values

semicolon

static final int semicolon
See Also:
Constant Field Values

sequence

public static final int sequence
See Also:
Constant Field Values

spec_alternate

public static final int spec_alternate
See Also:
Constant Field Values

spec_atom

public static final int spec_atom
See Also:
Constant Field Values

spec_chain

public static final int spec_chain
See Also:
Constant Field Values

spec_model

public static final int spec_model
See Also:
Constant Field Values

spec_model2

static final int spec_model2
See Also:
Constant Field Values

spec_name_pattern

public static final int spec_name_pattern
See Also:
Constant Field Values

spec_resid

public static final int spec_resid
See Also:
Constant Field Values

spec_seqcode

public static final int spec_seqcode
See Also:
Constant Field Values

spec_seqcode_range

public static final int spec_seqcode_range
See Also:
Constant Field Values

amino

static final int amino
See Also:
Constant Field Values

dna

public static final int dna
See Also:
Constant Field Values

hetero

public static final int hetero
See Also:
Constant Field Values

hydrogen

public static final int hydrogen
See Also:
Constant Field Values

nucleic

public static final int nucleic
See Also:
Constant Field Values

protein

public static final int protein
See Also:
Constant Field Values

purine

public static final int purine
See Also:
Constant Field Values

pyrimidine

public static final int pyrimidine
See Also:
Constant Field Values

rna

public static final int rna
See Also:
Constant Field Values

selected

public static final int selected
See Also:
Constant Field Values

solvent

static final int solvent
See Also:
Constant Field Values

sidechain

public static final int sidechain
See Also:
Constant Field Values

surface

static final int surface
See Also:
Constant Field Values

thismodel

static final int thismodel
See Also:
Constant Field Values

carbohydrate

public static final int carbohydrate
See Also:
Constant Field Values

clickable

static final int clickable
See Also:
Constant Field Values

displayed

static final int displayed
See Also:
Constant Field Values

hidden

static final int hidden
See Also:
Constant Field Values

specialposition

public static final int specialposition
See Also:
Constant Field Values

symmetry

public static final int symmetry
See Also:
Constant Field Values

visible

static final int visible
See Also:
Constant Field Values

comparator

static final int comparator
See Also:
Constant Field Values

leftparen

static final int leftparen
See Also:
Constant Field Values

rightparen

static final int rightparen
See Also:
Constant Field Values

comma

static final int comma
See Also:
Constant Field Values

leftsquare

static final int leftsquare
See Also:
Constant Field Values

rightsquare

static final int rightsquare
See Also:
Constant Field Values

opOr

static final int opOr
See Also:
Constant Field Values

opXor

static final int opXor
See Also:
Constant Field Values

opToggle

static final int opToggle
See Also:
Constant Field Values

opAnd

static final int opAnd
See Also:
Constant Field Values

opNot

static final int opNot
See Also:
Constant Field Values

opGT

static final int opGT
See Also:
Constant Field Values

opGE

static final int opGE
See Also:
Constant Field Values

opLE

static final int opLE
See Also:
Constant Field Values

opLT

static final int opLT
See Also:
Constant Field Values

opEQ

public static final int opEQ
See Also:
Constant Field Values

opNE

static final int opNE
See Also:
Constant Field Values

minus

static final int minus
See Also:
Constant Field Values

plus

static final int plus
See Also:
Constant Field Values

divide

static final int divide
See Also:
Constant Field Values

times

static final int times
See Also:
Constant Field Values

percent

public static final int percent
See Also:
Constant Field Values

leftdivide

static final int leftdivide
See Also:
Constant Field Values

unaryMinus

static final int unaryMinus
See Also:
Constant Field Values

propselector

static final int propselector
See Also:
Constant Field Values

minmaxmask

static final int minmaxmask
See Also:
Constant Field Values

min

static final int min
See Also:
Constant Field Values

max

static final int max
See Also:
Constant Field Values

comparefloatx100

static final int comparefloatx100
See Also:
Constant Field Values

settable

static final int settable
See Also:
Constant Field Values

atoms

public static final int atoms
See Also:
Constant Field Values

bonds

public static final int bonds
See Also:
Constant Field Values

color

public static final int color
See Also:
Constant Field Values

identify

static final int identify
See Also:
Constant Field Values

length

static final int length
See Also:
Constant Field Values

lines

static final int lines
See Also:
Constant Field Values

size

static final int size
See Also:
Constant Field Values

type

static final int type
See Also:
Constant Field Values

xyz

public static final int xyz
See Also:
Constant Field Values

fracXyz

public static final int fracXyz
See Also:
Constant Field Values

vibXyz

public static final int vibXyz
See Also:
Constant Field Values

property

static final int property
See Also:
Constant Field Values

boundbox

public static final int boundbox
See Also:
Constant Field Values

adpmax

public static final int adpmax
See Also:
Constant Field Values

adpmin

public static final int adpmin
See Also:
Constant Field Values

atomno

public static final int atomno
See Also:
Constant Field Values

atomID

static final int atomID
See Also:
Constant Field Values

bondcount

static final int bondcount
See Also:
Constant Field Values

atomIndex

static final int atomIndex
See Also:
Constant Field Values

cell

public static final int cell
See Also:
Constant Field Values

element

public static final int element
See Also:
Constant Field Values

elemno

public static final int elemno
See Also:
Constant Field Values

file

static final int file
See Also:
Constant Field Values

formalCharge

public static final int formalCharge
See Also:
Constant Field Values

groupID

static final int groupID
See Also:
Constant Field Values

model

public static final int model
See Also:
Constant Field Values

molecule

public static final int molecule
See Also:
Constant Field Values

occupancy

public static final int occupancy
See Also:
Constant Field Values

polymerLength

static final int polymerLength
See Also:
Constant Field Values

radius

static final int radius
See Also:
Constant Field Values

resno

static final int resno
See Also:
Constant Field Values

site

public static final int site
See Also:
Constant Field Values

structure

public static final int structure
See Also:
Constant Field Values

symop

static final int symop
See Also:
Constant Field Values

vanderwaals

public static final int vanderwaals
See Also:
Constant Field Values

valence

public static final int valence
See Also:
Constant Field Values

atomX

public static final int atomX
See Also:
Constant Field Values

atomY

public static final int atomY
See Also:
Constant Field Values

atomZ

public static final int atomZ
See Also:
Constant Field Values

fracX

public static final int fracX
See Also:
Constant Field Values

fracY

public static final int fracY
See Also:
Constant Field Values

fracZ

public static final int fracZ
See Also:
Constant Field Values

partialCharge

public static final int partialCharge
See Also:
Constant Field Values

phi

static final int phi
See Also:
Constant Field Values

psi

static final int psi
See Also:
Constant Field Values

straightness

public static final int straightness
See Also:
Constant Field Values

surfacedistance

static final int surfacedistance
See Also:
Constant Field Values

temperature

public static final int temperature
See Also:
Constant Field Values

vibX

public static final int vibX
See Also:
Constant Field Values

vibY

public static final int vibY
See Also:
Constant Field Values

vibZ

public static final int vibZ
See Also:
Constant Field Values

function

static final int function
See Also:
Constant Field Values

array

static final int array
See Also:
Constant Field Values

getproperty

static final int getproperty
See Also:
Constant Field Values

write

static final int write
See Also:
Constant Field Values

load

static final int load
See Also:
Constant Field Values

substructure

static final int substructure
See Also:
Constant Field Values

javascript

static final int javascript
See Also:
Constant Field Values

sin

static final int sin
See Also:
Constant Field Values

cos

static final int cos
See Also:
Constant Field Values

sqrt

static final int sqrt
See Also:
Constant Field Values

split

static final int split
See Also:
Constant Field Values

join

static final int join
See Also:
Constant Field Values

trim

static final int trim
See Also:
Constant Field Values

find

static final int find
See Also:
Constant Field Values

add

static final int add
See Also:
Constant Field Values

sub

static final int sub
See Also:
Constant Field Values

mul

static final int mul
See Also:
Constant Field Values

div

static final int div
See Also:
Constant Field Values

label

static final int label
See Also:
Constant Field Values

random

static final int random
See Also:
Constant Field Values

cross

public static final int cross
See Also:
Constant Field Values

script

static final int script
See Also:
Constant Field Values

distance

static final int distance
See Also:
Constant Field Values

replace

static final int replace
See Also:
Constant Field Values

select

static final int select
See Also:
Constant Field Values

angle

static final int angle
See Also:
Constant Field Values

data

static final int data
See Also:
Constant Field Values

plane

static final int plane
See Also:
Constant Field Values

point

static final int point
See Also:
Constant Field Values

quaternion

static final int quaternion
See Also:
Constant Field Values

axisangle

static final int axisangle
See Also:
Constant Field Values

within

static final int within
See Also:
Constant Field Values

connected

public static final int connected
See Also:
Constant Field Values

pt0

static final javax.vecmath.Point3f pt0

ambient

public static final int ambient
See Also:
Constant Field Values

bondmode

static final int bondmode
See Also:
Constant Field Values

fontsize

static final int fontsize
See Also:
Constant Field Values

picking

static final int picking
See Also:
Constant Field Values

specular

static final int specular
See Also:
Constant Field Values

specpercent

static final int specpercent
See Also:
Constant Field Values

specpower

static final int specpower
See Also:
Constant Field Values

specexponent

static final int specexponent
See Also:
Constant Field Values

transparent

static final int transparent
See Also:
Constant Field Values

defaultColors

static final int defaultColors
See Also:
Constant Field Values

scale3d

static final int scale3d
See Also:
Constant Field Values

diffuse

static final int diffuse
See Also:
Constant Field Values

pickingStyle

static final int pickingStyle
See Also:
Constant Field Values

absolute

static final int absolute
See Also:
Constant Field Values

average

static final int average
See Also:
Constant Field Values

axis

static final int axis
See Also:
Constant Field Values

babel

static final int babel
See Also:
Constant Field Values

back

static final int back
See Also:
Constant Field Values

backlit

public static final int backlit
See Also:
Constant Field Values

bitset

public static final int bitset
See Also:
Constant Field Values

bondset

static final int bondset
See Also:
Constant Field Values

bottom

static final int bottom
See Also:
Constant Field Values

clear

static final int clear
See Also:
Constant Field Values

clipboard

static final int clipboard
See Also:
Constant Field Values

constraint

static final int constraint
See Also:
Constant Field Values

direction

static final int direction
See Also:
Constant Field Values

displacement

static final int displacement
See Also:
Constant Field Values

dotted

static final int dotted
See Also:
Constant Field Values

fill

public static final int fill
See Also:
Constant Field Values

fixedtemp

static final int fixedtemp
See Also:
Constant Field Values

front

public static final int front
See Also:
Constant Field Values

frontlit

public static final int frontlit
See Also:
Constant Field Values

frontonly

public static final int frontonly
See Also:
Constant Field Values

fullylit

public static final int fullylit
See Also:
Constant Field Values

image

static final int image
See Also:
Constant Field Values

info

public static final int info
See Also:
Constant Field Values

ionic

static final int ionic
See Also:
Constant Field Values

jmol

static final int jmol
See Also:
Constant Field Values

last

static final int last
See Also:
Constant Field Values

left

static final int left
See Also:
Constant Field Values

mep

static final int mep
See Also:
Constant Field Values

mesh

public static final int mesh
See Also:
Constant Field Values

mode

static final int mode
See Also:
Constant Field Values

monomer

static final int monomer
See Also:
Constant Field Values

next

static final int next
See Also:
Constant Field Values

nodots

public static final int nodots
See Also:
Constant Field Values

nofill

public static final int nofill
See Also:
Constant Field Values

nomesh

public static final int nomesh
See Also:
Constant Field Values

normal

static final int normal
See Also:
Constant Field Values

notfrontonly

public static final int notfrontonly
See Also:
Constant Field Values

notriangles

public static final int notriangles
See Also:
Constant Field Values

only

static final int only
See Also:
Constant Field Values

opaque

static final int opaque
See Also:
Constant Field Values

orientation

static final int orientation
See Also:
Constant Field Values

pdbheader

static final int pdbheader
See Also:
Constant Field Values

play

static final int play
See Also:
Constant Field Values

playrev

static final int playrev
See Also:
Constant Field Values

pointgroup

static final int pointgroup
See Also:
Constant Field Values

polymer

static final int polymer
See Also:
Constant Field Values

prev

static final int prev
See Also:
Constant Field Values

range

static final int range
See Also:
Constant Field Values

rasmol

static final int rasmol
See Also:
Constant Field Values

residue

public static final int residue
See Also:
Constant Field Values

resume

static final int resume
See Also:
Constant Field Values

rewind

static final int rewind
See Also:
Constant Field Values

right

static final int right
See Also:
Constant Field Values

rotation

static final int rotation
See Also:
Constant Field Values

rubberband

static final int rubberband
See Also:
Constant Field Values

sasurface

static final int sasurface
See Also:
Constant Field Values

scale

static final int scale
See Also:
Constant Field Values

shape

static final int shape
See Also:
Constant Field Values

shapely

static final int shapely
See Also:
Constant Field Values

solid

static final int solid
See Also:
Constant Field Values

spacegroup

static final int spacegroup
See Also:
Constant Field Values

state

static final int state
See Also:
Constant Field Values

top

static final int top
See Also:
Constant Field Values

torsion

static final int torsion
See Also:
Constant Field Values

transform

static final int transform
See Also:
Constant Field Values

translation

static final int translation
See Also:
Constant Field Values

translucent

public static final int translucent
See Also:
Constant Field Values

triangles

public static final int triangles
See Also:
Constant Field Values

url

static final int url
See Also:
Constant Field Values

user

static final int user
See Also:
Constant Field Values

qw

static final int qw
See Also:
Constant Field Values

tokenOn

static final Token tokenOn

tokenOff

static final Token tokenOff

tokenAll

static final Token tokenAll

tokenAnd

public static final Token tokenAnd

tokenOr

public static final Token tokenOr

tokenComma

public static final Token tokenComma

tokenPlus

static final Token tokenPlus

tokenMinus

static final Token tokenMinus

tokenTimes

static final Token tokenTimes

tokenDivide

static final Token tokenDivide

tokenLeftParen

public static final Token tokenLeftParen

tokenRightParen

public static final Token tokenRightParen

tokenArraySelector

static final Token tokenArraySelector

tokenExpressionBegin

public static final Token tokenExpressionBegin

tokenExpressionEnd

public static final Token tokenExpressionEnd

tokenCoordinateBegin

static final Token tokenCoordinateBegin

tokenCoordinateEnd

static final Token tokenCoordinateEnd

tokenSet

static final Token tokenSet

tokenSetArray

static final Token tokenSetArray

tokenSetProperty

static final Token tokenSetProperty

tokenSetVar

static final Token tokenSetVar

arrayPairs

private static final java.lang.Object[] arrayPairs

map

private static java.util.Hashtable map
Constructor Detail

Token

public Token(int tok,
             int intValue,
             java.lang.Object value)

Token

public Token(int tok)

Token

public Token(int tok,
             int intValue)

Token

public Token(int tok,
             java.lang.Object value)
Method Detail

intToken

public static final Token intToken(int intValue)

getPrecedence

static int getPrecedence(int tok)

getMaxMathParams

static int getMaxMathParams(int tokCommand)

oValue

static java.lang.Object oValue(Token x)

nValue

static java.lang.Object nValue(Token x)

bValue

static boolean bValue(Token x)

iValue

static int iValue(Token x)

fValue

static float fValue(Token x)

sValue

static java.lang.String sValue(Token x)

sizeOf

static int sizeOf(Token x)

typeOf

static java.lang.String typeOf(Token x)

concatList

static java.lang.String[] concatList(Token x1,
                                     Token x2)

bsSelect

static java.util.BitSet bsSelect(Token token)

bsSelect

static java.util.BitSet bsSelect(Token token,
                                 int n)

selectItem

static Token selectItem(Token tokenIn)

selectItem

static Token selectItem(Token tokenIn,
                        int i2)

tValue

static Token tValue(java.lang.String str)

unescapePointOrBitsetAsToken

public static java.lang.Object unescapePointOrBitsetAsToken(java.lang.String s)

addToken

public static void addToken(java.lang.String ident,
                            Token token)

getTokenFromName

public static Token getTokenFromName(java.lang.String name)

nameOf

public static java.lang.String nameOf(int tok)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getCommandSet

public static java.lang.String getCommandSet(java.lang.String strBegin)
retrieves an unsorted list of viable commands that could be completed by this initial set of characters. If fewer than two characters are given, then only the "preferred" command is given (measure, not monitor, for example), and in all cases if both a singular and a plural might be returned, only the singular is returned.

Parameters:
strBegin - initial characters of the command, or null
Returns:
UNSORTED semicolon-separated string of viable commands

getTokensLike

static java.lang.String[] getTokensLike(java.lang.String type)

getSettableTokFromString

public static int getSettableTokFromString(java.lang.String s)