org.jmol.viewer
Class StateManager.GlobalSettings
java.lang.Object
org.jmol.viewer.StateManager.GlobalSettings
- Enclosing class:
- StateManager
class StateManager.GlobalSettings
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
htNonbooleanParameterValues
Hashtable htNonbooleanParameterValues
htBooleanParameterFlags
Hashtable htBooleanParameterFlags
htPropertyFlagsRemoved
Hashtable htPropertyFlagsRemoved
htUserVariables
Hashtable htUserVariables
ambientPercent
int ambientPercent
diffusePercent
int diffusePercent
specular
boolean specular
specularExponent
int specularExponent
phongExponent
int phongExponent
specularPercent
int specularPercent
specularPower
int specularPower
zShadePower
int zShadePower
slabByMolecule
boolean slabByMolecule
slabByAtom
boolean slabByAtom
allowEmbeddedScripts
boolean allowEmbeddedScripts
appendNew
boolean appendNew
appletProxy
String appletProxy
applySymmetryToBonds
boolean applySymmetryToBonds
atomTypes
String atomTypes
autoBond
boolean autoBond
axesOrientationRasmol
boolean axesOrientationRasmol
bondRadiusMilliAngstroms
short bondRadiusMilliAngstroms
bondTolerance
float bondTolerance
defaultDirectory
String defaultDirectory
defaultStructureDSSP
boolean defaultStructureDSSP
ptDefaultLattice
final Point3f ptDefaultLattice
defaultLoadScript
String defaultLoadScript
defaultLoadFilter
String defaultLoadFilter
forceAutoBond
boolean forceAutoBond
fractionalRelative
boolean fractionalRelative
inlineNewlineChar
char inlineNewlineChar
loadFormat
String loadFormat
smilesUrlFormat
String smilesUrlFormat
edsUrlFormat
String edsUrlFormat
edsUrlCutoff
String edsUrlCutoff
edsUrlOptions
String edsUrlOptions
minBondDistance
float minBondDistance
pdbGetHeader
boolean pdbGetHeader
pdbSequential
boolean pdbSequential
percentVdwAtom
int percentVdwAtom
smallMoleculeMaxAtoms
int smallMoleculeMaxAtoms
smartAromatic
boolean smartAromatic
zeroBasedXyzRasmol
boolean zeroBasedXyzRasmol
allowRotateSelected
boolean allowRotateSelected
perspectiveDepth
boolean perspectiveDepth
visualRange
float visualRange
solventOn
boolean solventOn
defaultAngleLabel
String defaultAngleLabel
defaultDistanceLabel
String defaultDistanceLabel
defaultTorsionLabel
String defaultTorsionLabel
justifyMeasurements
boolean justifyMeasurements
measureAllModels
boolean measureAllModels
minimizationSteps
int minimizationSteps
minimizationRefresh
boolean minimizationRefresh
minimizationSilent
boolean minimizationSilent
minimizationCriterion
float minimizationCriterion
antialiasDisplay
boolean antialiasDisplay
antialiasImages
boolean antialiasImages
imageState
boolean imageState
antialiasTranslucent
boolean antialiasTranslucent
displayCellParameters
boolean displayCellParameters
dotsSelectedOnly
boolean dotsSelectedOnly
dotSurface
boolean dotSurface
dotDensity
int dotDensity
dotScale
int dotScale
dynamicMeasurements
boolean dynamicMeasurements
greyscaleRendering
boolean greyscaleRendering
isosurfacePropertySmoothing
boolean isosurfacePropertySmoothing
repaintWaitMs
int repaintWaitMs
showHiddenSelectionHalos
boolean showHiddenSelectionHalos
showKeyStrokes
boolean showKeyStrokes
showMeasurements
boolean showMeasurements
zoomLarge
boolean zoomLarge
backgroundImageFileName
String backgroundImageFileName
bondModeOr
boolean bondModeOr
hbondsBackbone
boolean hbondsBackbone
hbondsAngleMinimum
float hbondsAngleMinimum
hbondsDistanceMaximum
float hbondsDistanceMaximum
hbondsRasmol
boolean hbondsRasmol
hbondsSolid
boolean hbondsSolid
modeMultipleBond
byte modeMultipleBond
showHydrogens
boolean showHydrogens
showMultipleBonds
boolean showMultipleBonds
ssbondsBackbone
boolean ssbondsBackbone
multipleBondSpacing
float multipleBondSpacing
multipleBondRadiusFactor
float multipleBondRadiusFactor
cartoonBaseEdges
boolean cartoonBaseEdges
cartoonRockets
boolean cartoonRockets
chainCaseSensitive
boolean chainCaseSensitive
hermiteLevel
int hermiteLevel
highResolutionFlag
boolean highResolutionFlag
rangeSelected
boolean rangeSelected
rasmolHydrogenSetting
boolean rasmolHydrogenSetting
rasmolHeteroSetting
boolean rasmolHeteroSetting
ribbonAspectRatio
int ribbonAspectRatio
ribbonBorder
boolean ribbonBorder
rocketBarrels
boolean rocketBarrels
sheetSmoothing
float sheetSmoothing
traceAlpha
boolean traceAlpha
allowGestures
boolean allowGestures
allowModelkit
boolean allowModelkit
allowMultiTouch
boolean allowMultiTouch
allowKeyStrokes
boolean allowKeyStrokes
animationFps
int animationFps
autoFps
boolean autoFps
axesMode
int axesMode
axesScale
float axesScale
cameraDepth
float cameraDepth
dataSeparator
String dataSeparator
debugScript
boolean debugScript
defaultDrawArrowScale
float defaultDrawArrowScale
defaultTranslucent
float defaultTranslucent
delayMaximumMs
int delayMaximumMs
dipoleScale
float dipoleScale
disablePopupMenu
boolean disablePopupMenu
dragSelected
boolean dragSelected
drawHover
boolean drawHover
drawPicking
boolean drawPicking
dsspCalcHydrogen
boolean dsspCalcHydrogen
bondPicking
boolean bondPicking
atomPicking
boolean atomPicking
helpPath
String helpPath
fontScaling
boolean fontScaling
fontCaching
boolean fontCaching
helixStep
int helixStep
hideNameInPopup
boolean hideNameInPopup
hoverDelayMs
int hoverDelayMs
loadAtomDataTolerance
float loadAtomDataTolerance
logCommands
boolean logCommands
logGestures
boolean logGestures
measurementLabels
boolean measurementLabels
messageStyleChime
boolean messageStyleChime
monitorEnergy
boolean monitorEnergy
multiProcessor
boolean multiProcessor
pickingSpinRate
int pickingSpinRate
pickLabel
String pickLabel
pointGroupDistanceTolerance
float pointGroupDistanceTolerance
pointGroupLinearTolerance
float pointGroupLinearTolerance
preserveState
boolean preserveState
propertyColorScheme
String propertyColorScheme
quaternionFrame
String quaternionFrame
saveProteinStructureState
boolean saveProteinStructureState
solventProbeRadius
float solventProbeRadius
scriptDelay
int scriptDelay
selectAllModels
boolean selectAllModels
statusReporting
boolean statusReporting
strandCountForStrands
int strandCountForStrands
strandCountForMeshRibbon
int strandCountForMeshRibbon
strutSpacing
int strutSpacing
strutLengthMaximum
float strutLengthMaximum
strutDefaultRadius
float strutDefaultRadius
strutsMultiple
boolean strutsMultiple
useArcBall
boolean useArcBall
useMinimizationThread
boolean useMinimizationThread
useNumberLocalization
boolean useNumberLocalization
useScriptQueue
boolean useScriptQueue
waitForMoveTo
boolean waitForMoveTo
vectorScale
float vectorScale
vibrationPeriod
float vibrationPeriod
vibrationScale
float vibrationScale
wireframeRotation
boolean wireframeRotation
hideNavigationPoint
boolean hideNavigationPoint
navigationMode
boolean navigationMode
navigateSurface
boolean navigateSurface
navigationPeriodic
boolean navigationPeriodic
navigationSpeed
float navigationSpeed
showNavigationPointAlways
boolean showNavigationPointAlways
stereoState
String stereoState
modelKitMode
boolean modelKitMode
objColors
int[] objColors
objStateOn
boolean[] objStateOn
objMad
int[] objMad
ellipsoidAxes
boolean ellipsoidAxes
ellipsoidDots
boolean ellipsoidDots
ellipsoidArcs
boolean ellipsoidArcs
ellipsoidFill
boolean ellipsoidFill
ellipsoidBall
boolean ellipsoidBall
ellipsoidDotCount
int ellipsoidDotCount
ellipsoidAxisDiameter
float ellipsoidAxisDiameter
testFlag1
boolean testFlag1
testFlag2
boolean testFlag2
testFlag3
boolean testFlag3
testFlag4
boolean testFlag4
measureDistanceUnits
private String measureDistanceUnits
legacyAutoBonding
public boolean legacyAutoBonding
StateManager.GlobalSettings
StateManager.GlobalSettings(StateManager.GlobalSettings gsOld)
clear
void clear()
registerAllValues
void registerAllValues(StateManager.GlobalSettings g)
getLoadState
String getLoadState()
- these settings are determined when the file is loaded and are
kept even though they might later change. So we list them here
and ALSO let them be defined in the settings. 10.9.98 missed this.
- Returns:
- script command
setDefaultLattice
void setDefaultLattice(Point3f ptLattice)
getDefaultLattice
Point3f getDefaultLattice()
getWindowState
String getWindowState(StringBuffer sfunc)
getSpecularState
String getSpecularState()
setMeasureDistanceUnits
void setMeasureDistanceUnits(String units)
getMeasureDistanceUnits
String getMeasureDistanceUnits()
isJmolVariable
boolean isJmolVariable(String key)
resetParameterStringValue
private void resetParameterStringValue(String name,
StateManager.GlobalSettings g)
setParameterValue
void setParameterValue(String name,
boolean value)
setParameterValue
void setParameterValue(String name,
int value)
setParameterValue
void setParameterValue(String name,
float value)
setParameterValue
void setParameterValue(String name,
String value)
removeJmolParameter
void removeJmolParameter(String key)
setUserVariable
ScriptVariable setUserVariable(String key,
ScriptVariable var)
unsetUserVariable
void unsetUserVariable(String key)
removeUserVariable
void removeUserVariable(String key)
getUserVariable
ScriptVariable getUserVariable(String name)
getParameterEscaped
String getParameterEscaped(String name,
int nMax)
getParameter
Object getParameter(String name)
- strictly a getter -- returns "" if not found
- Parameters:
name
-
- Returns:
- a Integer, Float, String, BitSet, or Variable
getOrSetNewVariable
ScriptVariable getOrSetNewVariable(String name,
boolean doSet)
- Parameters:
name
- doSet
-
- Returns:
- a new variable if possible, but null if "_xxx"
getParameter
Object getParameter(String name,
boolean asVariable)
getAllSettings
String getAllSettings(String prefix)
getState
String getState(StringBuffer sfunc)
doReportProperty
private boolean doReportProperty(String name)
getVariableList
String getVariableList()