scripps.vvm.schemes
Class AtomColor_ByAtomType

java.lang.Object
  |
  +--harmonic.mz.data.ModelNode
        |
        +--scripps.vvm.schemes.Scheme
              |
              +--scripps.vvm.schemes.AtomColorScheme
                    |
                    +--scripps.vvm.schemes.AtomColor_ByAtomType
All Implemented Interfaces:
java.awt.event.ActionListener, harmonic.mz.data.DataNode, harmonic.mz.gui.Documentable, java.util.EventListener, harmonic.mz.data.Interpolater, harmonic.meshGeom.math.MarkableObject, harmonic.mz.event.NodeListener

public class AtomColor_ByAtomType
extends AtomColorScheme

Gives an atom color as a function atom type.


Field Summary
 harmonic.mz.data.fields.ColorField carbon
           
 harmonic.mz.data.fields.ScalarField colorScale
           
 harmonic.mz.data.fields.ColorField def
           
 harmonic.mz.data.fields.ColorField hydrogen
           
 java.util.Hashtable matPerName
           
 harmonic.mz.data.fields.ColorField nitrogen
           
 harmonic.mz.data.fields.ColorField oxygen
           
 harmonic.mz.data.fields.ColorField sulfer
           
 
Fields inherited from class harmonic.mz.data.ModelNode
_fileRoot_, _thread_, ATTRIB_CONTROL_WIDGET, ATTRIB_LISTABLE, ATTRIB_PRESENTABLE, ATTRIB_PRIVATE, ATTRIB_REMOVEABLE, ATTRIB_RENAMEABLE, ATTRIB_SHOW_CONTEXT_MENU, ATTRIB_TYPE_FILTER, ATTRIB_USERGROUP, ATTRIB_VALUE_GROUP, ATTRIB_VE_LISTENER, bCustomCS, bDebug, bValid, name
 
Constructor Summary
AtomColor_ByAtomType()
           
 
Method Summary
 harmonic.mz.data.fields.ColorField addType(java.lang.String name, java.lang.String key, harmonic.meshGeom.math.Clr3f clr)
           
 java.lang.Object getValue(java.lang.Object _atom, java.lang.Object data)
           
 
Methods inherited from class scripps.vvm.schemes.Scheme
nodeChanged
 
Methods inherited from class harmonic.mz.data.ModelNode
actionPerformed, addAll, addAlphaed, addField, addField, addField, addFields, addNetworkInput, addNetworkOutput, addNode, addNodeListener, addNodeListener, addNodes, addNodes, addToCurrent, addToGlobals, addToNetworkEditor, addToTemps, addWithUndo, allFieldsAreFinal, applyDataTransfer, areFieldsValid, assignFromMetaFields, assignFromXMLAttributes, assignFromXMLString, assignToMetaFields, assignToXMLAttributes, assignToXMLString, at, bind, canSelect, castSelection, checkFileRead, checkNetworkInput, childCount, clean, clearAttrib, clearNotified, compare, copyFrom, createControlWidget, createCopy, createXMLElement, deepCopy, defeatNodeEvents, disableEvents, enableEvents, expectedValidationTime, fileRoot, finalize, findFieldElement, findNode, fromXMLNodes, getAttrib, getBound, getCatagory, getControlWidget, getCurrentNames, getDataTransfer, getDataTransferTypes, getDeleted, getDirectInputs, getDirectOutputs, getEffectors, getEntryListener, getErrorState, getFilterType, getFullName, getHandles, getInstanceURL, getInterpolater, getIsLeaf, getListable, getMark, getMetaFields, getName, getNodeChildren_V, getNodeChildren, getNodeID, getNodeParent, getObjectRep, getPresentable, getPrivate, getReferencePoolName, getRemoteOwner, getRemoveable, getRenameable, getSaveable, getSavedChildren, getSelect, getSeparateDirectInputs, getSeparateDirectOutputs, getSequenced, getSerialNo, getTags, getTentativeSelect, getTransformable, getTransformableParent, getTransient, getTreeName, getTypeImage, getTypeURL, getUnfoldedChildren, getUpdateTime, getUserGroup, getValidates, getValue, getXMLNodes, hasDependants, hasExternalRef, hashKey, hasValidationLock, hideControlWidget, indexOf, initControlWidget, insertNode, interpolate_Linear, interpolate_Quadratic, invalidate, isField, isFinal, isInSubtree, isInTree, isLinked, isNotified, isPurged, isSet, isTemporary, isValid, linkedTo, linksChildren, makeContextMenu, makeFixed, makePrototype, makeReferenced, makeUnreferenced, makeVisibleInGUI, markNotified, mayValidate, notifyListeners, postAssignFromXMLElement, preAssignToXMLElement, printChildren, printTags, printTree, printTree, purge, purgeFinal, pythonString, remove, removeAll, removeAll, removeHandles, removeNetworkInput, removeNetworkOutput, removeNode, removeNode, removeNode, removeNodeListener, replace, selfNodeChanged, set, setActualName, setAttrib, setBound, setCatagory, setChildrenExcept, setCoordSystem, setCurrentControlWidget, setCurrentNames, setDeleted, setEntryListener, setErrorState, setFromPrototype, setIsField, setIsLeaf, setIsSet, setListable, setMark, setMetaFields, setName, setNodeParent, setPresentable, setPrivate, setRemoteOwner, setRemoveable, setRenameable, setSaveable, setSelect, setSelect, setSequenced, setSerialNo, setTentativeSelect, setTentativeSelect, setToLink, setTransient, setTransientChildren, setUpdateTime, setUserGroup, setValidates, setValidationLock, setValue, setValueGroup, showControlWidget, showControlWidget, showControlWidget, showHandles, startRename, tag, toString, unlinkListeners, unmarkNotified, untag, updateBindable, valChanged, valChanged, validate, valueString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

carbon

public harmonic.mz.data.fields.ColorField carbon

nitrogen

public harmonic.mz.data.fields.ColorField nitrogen

oxygen

public harmonic.mz.data.fields.ColorField oxygen

hydrogen

public harmonic.mz.data.fields.ColorField hydrogen

sulfer

public harmonic.mz.data.fields.ColorField sulfer

def

public harmonic.mz.data.fields.ColorField def

colorScale

public harmonic.mz.data.fields.ScalarField colorScale

matPerName

public java.util.Hashtable matPerName
Constructor Detail

AtomColor_ByAtomType

public AtomColor_ByAtomType()
Method Detail

addType

public harmonic.mz.data.fields.ColorField addType(java.lang.String name,
                                                  java.lang.String key,
                                                  harmonic.meshGeom.math.Clr3f clr)

getValue

public java.lang.Object getValue(java.lang.Object _atom,
                                 java.lang.Object data)
Specified by:
getValue in class Scheme