Package org.jmol.console
Class AppletConsole
java.lang.Object
org.jmol.console.GenericConsole
org.jmol.console.JmolConsole
org.jmol.console.AppletConsole
- All Implemented Interfaces:
ActionListener
,WindowListener
,EventListener
,JmolAppConsoleInterface
,JmolCallbackListener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class
private class
-
Field Summary
Fields inherited from class org.jmol.console.JmolConsole
externalContainer, scriptEditor, vwrFrame
Fields 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 TypeMethodDescriptionvoid
private void
add
(Container c2, JmolAbstractButton b) private void
addHelpItems
(JMenu m0, String key, String attr) private void
addHelpMenuBar
(JMenuBar menuBar) private JMenuBar
private JMenuItem
createMenuItem
(String cmd) protected void
protected JmolAbstractButton
protected void
layoutWindow
(String enabledButtons) void
setVisible
(boolean visible) void
Methods inherited from class org.jmol.console.JmolConsole
addWindowListener, dispose, getPane, getScriptEditor, isMenuItem, newJMenu, newJMenuItem, nextFileName, setButton, setTitle, updateFontSize, updateLabels, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
Methods inherited from class org.jmol.console.GenericConsole
addButton, clearContent, completeCommand, destroyConsole, displayConsole, doAction, getLabel, getLabelWithoutMnemonic, getMnemonic, getText, map, notifyCallback, notifyEnabled, processKey, recallCommand, sendConsoleEcho, sendConsoleMessage, setAbstractButtonLabels, setCallbackFunction, setLabels, setupLabels, setupLabels0, setViewer, trimGUI, zap
-
Constructor Details
-
AppletConsole
public AppletConsole()
-
-
Method Details
-
start
-
getLabel1
- Overrides:
getLabel1
in classGenericConsole
-
layoutWindow
- Specified by:
layoutWindow
in classGenericConsole
-
add
-
createMenubar
-
addHelpMenuBar
-
addHelpItems
-
createMenuItem
-
setVisible
public void setVisible(boolean visible) - Specified by:
setVisible
in interfaceJmolAppConsoleInterface
- Overrides:
setVisible
in classJmolConsole
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
- Overrides:
actionPerformed
in classJmolConsole
-
execute
- Overrides:
execute
in classGenericConsole
-