public class JmolApplet extends AppletWrapper implements JmolAppletInterface
javax.swing.JApplet.AccessibleJApplet
java.applet.Applet.AccessibleApplet
Modifier and Type | Field and Description |
---|---|
private static java.lang.String[] |
preloadClasses |
wrappedApplet
accessibleContext, rootPane, rootPaneCheckingEnabled
Constructor and Description |
---|
JmolApplet() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getJSpecViewProperty(java.lang.String infoType) |
int |
getModelIndexFromId(java.lang.String id) |
java.lang.Object |
getProperty(java.lang.String infoType) |
java.lang.Object |
getProperty(java.lang.String infoType,
java.lang.String paramInfo) |
java.lang.String |
getPropertyAsJSON(java.lang.String infoType) |
java.lang.String |
getPropertyAsJSON(java.lang.String infoType,
java.lang.String paramInfo) |
java.lang.String |
getPropertyAsString(java.lang.String infoType) |
java.lang.String |
getPropertyAsString(java.lang.String infoType,
java.lang.String paramInfo) |
java.lang.String |
loadDOMNode(java.lang.Object DOMNode) |
java.lang.String |
loadInline(java.lang.String strModel)
Deprecated.
|
java.lang.String |
loadInline(java.lang.String[] strModels)
Deprecated.
|
java.lang.String |
loadInline(java.lang.String[] strModels,
java.lang.String script)
Deprecated.
|
java.lang.String |
loadInline(java.lang.String strModel,
java.lang.String script)
Deprecated.
|
java.lang.String |
loadInlineArray(java.lang.String[] strModels,
java.lang.String script,
boolean isAppend) |
java.lang.String |
loadInlineString(java.lang.String strModel,
java.lang.String script,
boolean isAppend) |
void |
notifyAudioEnded(java.lang.Object htParams) |
void |
register(java.lang.String id,
JmolSyncInterface jsi) |
void |
registerApplet(java.lang.String id,
java.lang.String fullName) |
void |
script(java.lang.String script) |
java.lang.String |
scriptCheck(java.lang.String script) |
java.lang.String |
scriptNoWait(java.lang.String script) |
java.lang.String |
scriptWait(java.lang.String script) |
java.lang.String |
scriptWait(java.lang.String script,
java.lang.String statusParams) |
java.lang.String |
scriptWaitOutput(java.lang.String script) |
java.lang.Object |
setStereoGraphics(boolean isStereo) |
void |
syncScript(java.lang.String script) |
destroy, getAppletInfo, getNextPreloadClassName, handleEvent, init, isSigned, paint, repaintClock, update
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler
getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, isValidateRoot, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
destroy, getAppletInfo, handleEvent
public java.lang.String getPropertyAsString(java.lang.String infoType)
getPropertyAsString
in interface JmolAppletInterface
public java.lang.String getPropertyAsString(java.lang.String infoType, java.lang.String paramInfo)
getPropertyAsString
in interface JmolAppletInterface
public java.lang.String getPropertyAsJSON(java.lang.String infoType)
getPropertyAsJSON
in interface JmolAppletInterface
public java.lang.String getPropertyAsJSON(java.lang.String infoType, java.lang.String paramInfo)
getPropertyAsJSON
in interface JmolAppletInterface
public java.util.Map<java.lang.String,java.lang.Object> getJSpecViewProperty(java.lang.String infoType)
getJSpecViewProperty
in interface JmolSyncInterface
public java.lang.Object getProperty(java.lang.String infoType, java.lang.String paramInfo)
getProperty
in interface JmolAppletInterface
public java.lang.Object getProperty(java.lang.String infoType)
getProperty
in interface JmolAppletInterface
public java.lang.String loadInlineArray(java.lang.String[] strModels, java.lang.String script, boolean isAppend)
loadInlineArray
in interface JmolAppletInterface
public java.lang.String loadInlineString(java.lang.String strModel, java.lang.String script, boolean isAppend)
loadInlineString
in interface JmolAppletInterface
@Deprecated public java.lang.String loadInline(java.lang.String strModel)
loadInline
in interface JmolAppletInterface
strModel
- @Deprecated public java.lang.String loadInline(java.lang.String strModel, java.lang.String script)
loadInline
in interface JmolAppletInterface
strModel
- script
- @Deprecated public java.lang.String loadInline(java.lang.String[] strModels)
loadInline
in interface JmolAppletInterface
strModels
- @Deprecated public java.lang.String loadInline(java.lang.String[] strModels, java.lang.String script)
loadInline
in interface JmolAppletInterface
strModels
- script
- public java.lang.String loadDOMNode(java.lang.Object DOMNode)
loadDOMNode
in interface JmolAppletInterface
public void script(java.lang.String script)
script
in interface JmolAppletInterface
public void syncScript(java.lang.String script)
syncScript
in interface JmolSyncInterface
public java.lang.Object setStereoGraphics(boolean isStereo)
setStereoGraphics
in interface JmolAppletInterface
public java.lang.String scriptNoWait(java.lang.String script)
scriptNoWait
in interface JmolAppletInterface
public java.lang.String scriptCheck(java.lang.String script)
scriptCheck
in interface JmolAppletInterface
public java.lang.String scriptWait(java.lang.String script)
scriptWait
in interface JmolAppletInterface
public java.lang.String scriptWait(java.lang.String script, java.lang.String statusParams)
scriptWait
in interface JmolAppletInterface
public java.lang.String scriptWaitOutput(java.lang.String script)
scriptWaitOutput
in interface JmolAppletInterface
public void registerApplet(java.lang.String id, java.lang.String fullName)
public void register(java.lang.String id, JmolSyncInterface jsi)
register
in interface JmolSyncInterface
public int getModelIndexFromId(java.lang.String id)
getModelIndexFromId
in interface JmolAppletInterface
id
- some_id,
filename#id, or
~fileNo.modelNo
added ".basemodel" indicates to get the first model in a
series from a JDX-MOL file.public void notifyAudioEnded(java.lang.Object htParams)
notifyAudioEnded
in interface JmolAppletInterface