Package org.jmol.consolejs
Class AppletConsole
java.lang.Object
org.jmol.console.GenericConsole
org.jmol.consolejs.AppletConsole
- All Implemented Interfaces:
JmolAppConsoleInterface,JmolCallbackListener
An interface to Jmol.Console.
keyboard events are returned to
GenericConsole.processKey(kcode, kid, isControlDown);
button events are returned to
GenericConsole.doAction(source);
12/24/2012
- Author:
- Bob Hanson hansonr@stolaf.edu
-
Field Summary
FieldsFields inherited from class org.jmol.console.GenericConsole
clearInButton, clearOutButton, defaultMessage, editButton, historyButton, input, label1, labels, loadButton, menuMap, nTab, output, runButton, stateButton, vwr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()protected booleanisMenuItem(Object source) protected voidlayoutWindow(String enabledButtons) newJMenuItem(String key) protected StringnextFileName(String stub, int nTab) protected JmolAbstractButtonprotected voidsetTitle()voidsetVisible(boolean visible) voidMethods inherited from class org.jmol.console.GenericConsole
addButton, clearContent, completeCommand, destroyConsole, displayConsole, doAction, execute, getLabel, getLabel1, getLabelWithoutMnemonic, getText, map, notifyCallback, notifyEnabled, processKey, recallCommand, sendConsoleEcho, sendConsoleMessage, setAbstractButtonLabels, setCallbackFunction, setLabels, setupLabels, setupLabels0, setViewer, trimGUI, updateLabels, zap
-
Field Details
-
jsConsole
JSConsole jsConsole
-
-
Constructor Details
-
AppletConsole
public AppletConsole()
-
-
Method Details
-
start
-
layoutWindow
- Specified by:
layoutWindowin classGenericConsole
-
setTitle
protected void setTitle()- Specified by:
setTitlein classGenericConsole
-
setVisible
public void setVisible(boolean visible) - Specified by:
setVisiblein interfaceJmolAppConsoleInterface- Specified by:
setVisiblein classGenericConsole
-
setButton
- Specified by:
setButtonin classGenericConsole
-
dispose
public void dispose()- Specified by:
disposein interfaceJmolAppConsoleInterface- Specified by:
disposein classGenericConsole
-
isMenuItem
- Specified by:
isMenuItemin classGenericConsole
-
getScriptEditor
- Specified by:
getScriptEditorin interfaceJmolAppConsoleInterface- Specified by:
getScriptEditorin classGenericConsole
-
nextFileName
- Specified by:
nextFileNamein classGenericConsole
-
newJMenu
-
newJMenuItem
-