org.openscience.jmol.app
public class Jmol extends JPanel
| Nested Class Summary | |
|---|---|
| class | Jmol.AboutAction |
| static class | Jmol.ActionChangedListener |
| protected class | Jmol.AppCloser
To shutdown when run as an application. |
| class | Jmol.AtomSetChooserAction |
| class | Jmol.CloseAction |
| static class | Jmol.ConsoleAction |
| class | Jmol.CopyImageAction
An Action to copy the current image into the clipboard. |
| class | Jmol.CopyScriptAction |
| class | Jmol.ExecuteScriptAction |
| class | Jmol.ExitAction
Really lame implementation of an exit command |
| class | Jmol.ExportAction |
| class | Jmol.MyStatusListener |
| class | Jmol.NewAction |
| class | Jmol.NewwinAction |
| class | Jmol.OpenAction |
| class | Jmol.OpenUrlAction |
| class | Jmol.PasteClipboardAction |
| class | Jmol.PovrayAction |
| class | Jmol.PrintAction |
| class | Jmol.RecentFilesAction |
| class | Jmol.ScriptWindowAction |
| class | Jmol.ToWebAction |
| class | Jmol.UguideAction |
| class | Jmol.ViewMeasurementTableAction |
| class | Jmol.WhatsNewAction |
| class | Jmol.WriteAction |
| Constructor Summary | |
|---|---|
| Jmol(Splash splash, JFrame frame, Jmol parent, int startupWidth, int startupHeight, String commandOptions) | |
| Jmol(Splash splash, JFrame frame, Jmol parent, int startupWidth, int startupHeight, String commandOptions, Point loc) | |
| Method Summary | |
|---|---|
| protected void | addHelpMenuBar(JMenuBar menuBar) |
| protected void | addMacrosMenuBar(JMenuBar menuBar) |
| protected void | addNormalMenuBar(JMenuBar menuBar) |
| String | createImageStatus(String fileName, String type, Object text_or_bytes, int quality) |
| protected JMenu | createMenu(String key)
Create a menu for the app. |
| protected JMenuBar | createMenubar()
Create the menubar for the app. |
| protected JMenuItem | createMenuItem(String cmd)
This is the hook through which all menu items are
created. |
| protected Component | createStatusBar() |
| protected Component | createTool(String key)
Hook through which every toolbar item is created. |
| Component | createToolbar()
Create the toolbar. |
| protected AbstractButton | createToolbarButton(String key)
Create a button to go inside of the toolbar. |
| void | dispose(JFrame f) |
| void | doClose() |
| protected Action | getAction(String cmd)
Fetch the action that was created for the given
command. |
| Action[] | getActions() |
| protected Frame | getFrame() |
| static HistoryFile | getHistoryFile() |
| static Jmol | getJmol(JFrame frame, int startupWidth, int startupHeight, String commandOptions) |
| protected JMenuItem | getMenuItem(String cmd)
Fetch the menu item that was created for the given
command. |
| String | getOpenFileNameFromDialog(String fileName) |
| static File | getUserDirectory()
Returns a new File referenced by the property 'user.dir', or null
if the property is not defined.
|
| static void | main(String[] args) |
| void | print()
added print command, so that it can be used by RasmolScriptHandler
|
| static void | report(String str) |
| void | say(String message) |
| static void | setRotateButton() |
| protected void | setupNewFrame(String state) |
| protected String[] | tokenize(String input)
Take the given string and chop it up into a series
of strings on whitespace boundries. |
Parameters: key
Returns: Menu created
Returns: Menubar
Parameters: cmd
Returns: Menu item created
See Also: Jmol
Parameters: key
Returns: Toolbar item
Returns: The toolbar
Parameters: key The key in the resource file to serve as the basis of lookups.
Returns: Button
Parameters: cmd Name of the action.
Returns: The action
Returns: A list of Actions that is understood by the upper level application
Returns: The hosting frame, for the file-chooser dialog.
Parameters: cmd Name of the action.
Returns: item created for the given command or null if one wasn't created.
Returns: a File to the user directory
Parameters: input String to chop
Returns: Strings chopped on whitespace boundries