: Class ResultsMenuBar
org.emboss.jemboss.gui
Class ResultsMenuBar
java.lang.Object
|
+--org.emboss.jemboss.gui.ResultsMenuBar
public class ResultsMenuBar extends java.lang.Object
Sets up a results menu bar with save and close
Field Summary
(package private) java.awt.Cursor
cbusy
(package private) java.awt.Cursor
cdone
Constructor Summary
ResultsMenuBar (javax.swing.JFrame frame)
Sets up a results menu bar with save and close
ResultsMenuBar (javax.swing.JFrame frame,
FileEditorDisplay fed)
Adds action listener to save contents of a JTextPane.
ResultsMenuBar (javax.swing.JFrame frame,
javax.swing.JTabbedPane rtb,
java.util.Hashtable hash)
Adds action listener to save contents of contents of a
tabbed pane.
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cbusy
final java.awt.Cursor cbusy
cdone
final java.awt.Cursor cdone
ResultsMenuBar
public ResultsMenuBar (javax.swing.JFrame frame)
Sets up a results menu bar with save and close
Parameters: JFrame
- frame containing the results
ResultsMenuBar
public ResultsMenuBar (javax.swing.JFrame frame,
FileEditorDisplay fed)
Adds action listener to save contents of a JTextPane. This
allows editing of the area to be saved.
Parameters: JFrame
- frame containing the resultsJTextPane
- text area to add listener to
ResultsMenuBar
public ResultsMenuBar (javax.swing.JFrame frame,
javax.swing.JTabbedPane rtb,
java.util.Hashtable hash)
Adds action listener to save contents of contents of a
tabbed pane. Allows saving to files of text and png files.
Parameters: JFrame
- frame containing the resultsJTabbedPane
- tab pane containing resultsHashtable
- containing results
getJMenuBar
public javax.swing.JMenuBar getJMenuBar ()