Package org.jmol.console
Class JmolConsole
java.lang.Object
org.jmol.console.GenericConsole
org.jmol.console.JmolConsole
- All Implemented Interfaces:
ActionListener
,WindowListener
,EventListener
,JmolAppConsoleInterface
,JmolCallbackListener
- Direct Known Subclasses:
AppConsole
,AppletConsole
-
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 TypeMethodDescriptionvoid
protected void
void
dispose()
protected Container
getPane()
protected boolean
isMenuItem
(Object source) newJMenuItem
(String key) protected String
nextFileName
(String stub, int nTab) protected JmolAbstractButton
protected void
setTitle()
void
setVisible
(boolean isVisible) void
protected void
void
void
void
void
void
void
void
Methods inherited from class org.jmol.console.GenericConsole
addButton, clearContent, completeCommand, destroyConsole, displayConsole, doAction, execute, getLabel, getLabel1, getLabelWithoutMnemonic, getText, layoutWindow, map, notifyCallback, notifyEnabled, processKey, recallCommand, sendConsoleEcho, sendConsoleMessage, setAbstractButtonLabels, setCallbackFunction, setLabels, setupLabels, setupLabels0, setViewer, trimGUI, zap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jmol.api.JmolAppConsoleInterface
regainFocus, start
-
Field Details
-
vwrFrame
-
externalContainer
-
scriptEditor
-
-
Constructor Details
-
JmolConsole
public JmolConsole()
-
-
Method Details
-
dispose
public void dispose()- Specified by:
dispose
in interfaceJmolAppConsoleInterface
- Specified by:
dispose
in classGenericConsole
-
getPane
-
setTitle
protected void setTitle()- Specified by:
setTitle
in classGenericConsole
-
setVisible
public void setVisible(boolean isVisible) - Specified by:
setVisible
in interfaceJmolAppConsoleInterface
- Specified by:
setVisible
in classGenericConsole
-
setButton
- Specified by:
setButton
in classGenericConsole
-
updateLabels
protected void updateLabels()- Overrides:
updateLabels
in classGenericConsole
-
getScriptEditor
- Specified by:
getScriptEditor
in interfaceJmolAppConsoleInterface
- Specified by:
getScriptEditor
in classGenericConsole
-
nextFileName
- Specified by:
nextFileName
in classGenericConsole
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
isMenuItem
- Specified by:
isMenuItem
in classGenericConsole
-
addWindowListener
protected void addWindowListener() -
windowActivated
- Specified by:
windowActivated
in interfaceWindowListener
- Parameters:
we
-
-
windowClosed
- Specified by:
windowClosed
in interfaceWindowListener
-
windowClosing
- Specified by:
windowClosing
in interfaceWindowListener
-
windowDeactivated
- Specified by:
windowDeactivated
in interfaceWindowListener
- Parameters:
we
-
-
windowDeiconified
- Specified by:
windowDeiconified
in interfaceWindowListener
- Parameters:
we
-
-
windowIconified
- Specified by:
windowIconified
in interfaceWindowListener
- Parameters:
we
-
-
windowOpened
- Specified by:
windowOpened
in interfaceWindowListener
- Parameters:
we
-
-
newJMenu
- Specified by:
newJMenu
in interfaceJmolAppConsoleInterface
-
newJMenuItem
- Specified by:
newJMenuItem
in interfaceJmolAppConsoleInterface
-
updateFontSize
public void updateFontSize()
-