Package mars.venus.actions.file
Class FileNewAction
java.lang.Object
javax.swing.AbstractAction
mars.venus.actions.VenusAction
mars.venus.actions.file.FileNewAction
- All Implemented Interfaces:
- ActionListener,- Serializable,- Cloneable,- EventListener,- Action
Action for the File -> New menu item.
- See Also:
- 
Field SummaryFields inherited from class mars.venus.actions.VenusActiongui, shortcutFields inherited from class javax.swing.AbstractActionchangeSupport, enabledFields inherited from interface javax.swing.ActionACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent event) Code to create a new document.Methods inherited from class mars.venus.actions.VenusActiongetGUI, getName, getShortcut, registerShortcut, updateMethods inherited from class javax.swing.AbstractActionaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
- 
Constructor Details- 
FileNewAction
 
- 
- 
Method Details- 
actionPerformedCode to create a new document. It clears the source code window.- Specified by:
- actionPerformedin interface- ActionListener
- Specified by:
- actionPerformedin class- VenusAction
- Parameters:
- event- component triggering this call
 
 
-