org.jmol.applet
Class Console
java.lang.Object
org.jmol.applet.Console
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.awt.event.WindowListener, java.util.EventListener
class Console
- extends java.lang.Object
- implements java.awt.event.ActionListener, java.awt.event.WindowListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
input
private final javax.swing.JTextArea input
output
private final javax.swing.JTextPane output
outputDocument
private final javax.swing.text.Document outputDocument
jf
private javax.swing.JFrame jf
runButton
private javax.swing.JButton runButton
clearOutButton
private javax.swing.JButton clearOutButton
clearInButton
private javax.swing.JButton clearInButton
historyButton
private javax.swing.JButton historyButton
stateButton
private javax.swing.JButton stateButton
loadButton
private javax.swing.JButton loadButton
attributesCommand
private final javax.swing.text.SimpleAttributeSet attributesCommand
viewer
private final JmolViewer viewer
guimap
private GuiMap guimap
jvm12
private final Jvm12 jvm12
menubar
private javax.swing.JMenuBar menubar
Console
Console(java.awt.Component componentParent,
JmolViewer viewer,
Jvm12 jvm12)
getViewer
JmolViewer getViewer()
getMyMenuBar
public java.lang.Object getMyMenuBar()
dispose
void dispose()
createMenubar
protected javax.swing.JMenuBar createMenubar()
addHelpMenuBar
protected void addHelpMenuBar(javax.swing.JMenuBar menuBar)
addHelpItems
private void addHelpItems(javax.swing.JMenu m0,
java.lang.String key,
java.lang.String attr)
createMenuItem
protected javax.swing.JMenuItem createMenuItem(java.lang.String cmd)
setupInput
private void setupInput()
setupOutput
private void setupOutput()
setVisible
void setVisible(boolean visible)
output
void output(java.lang.String message)
output
private void output(java.lang.String message,
javax.swing.text.AttributeSet att)
getText
java.lang.String getText()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
execute
void execute(java.lang.String strCommand)
windowActivated
public void windowActivated(java.awt.event.WindowEvent we)
- Specified by:
windowActivated
in interface java.awt.event.WindowListener
windowClosed
public void windowClosed(java.awt.event.WindowEvent we)
- Specified by:
windowClosed
in interface java.awt.event.WindowListener
windowClosing
public void windowClosing(java.awt.event.WindowEvent we)
- Specified by:
windowClosing
in interface java.awt.event.WindowListener
windowDeactivated
public void windowDeactivated(java.awt.event.WindowEvent we)
- Specified by:
windowDeactivated
in interface java.awt.event.WindowListener
windowDeiconified
public void windowDeiconified(java.awt.event.WindowEvent we)
- Specified by:
windowDeiconified
in interface java.awt.event.WindowListener
windowIconified
public void windowIconified(java.awt.event.WindowEvent we)
- Specified by:
windowIconified
in interface java.awt.event.WindowListener
windowOpened
public void windowOpened(java.awt.event.WindowEvent we)
- Specified by:
windowOpened
in interface java.awt.event.WindowListener