|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.ui.ActionFactory
public final class ActionFactory
Provides a factory for creating standardized Swing actions for menus and tool bars.
Constructor Summary | |
---|---|
ActionFactory()
|
Method Summary | |
---|---|
static JMenu |
createEditMenu(Object target)
Create and return an edit menu. |
static JMenu |
createEditMenu(Object target,
boolean doFill)
Create and return an edit menu. |
static JMenu |
createFileMenu(Object target)
Create and return a file menu. |
static JMenu |
createFileMenu(Object target,
boolean doFill)
Create and return a file menu. |
static JMenu |
createHelpMenu(Object target)
Create and return a help menu. |
static JMenu |
createHelpMenu(Object target,
boolean doFill)
Create and return a help menu. |
static JMenu |
createOptionsMenu(Object target)
Create and return an options menu. |
static JMenu |
createViewMenu(Object target)
Create and return a view menu. |
static JMenu |
createViewMenu(Object target,
boolean doFill)
Create and return a view menu. |
static Action |
getAboutAction(Object target)
Return the about action. |
static Action |
getAudioAction(Object target)
Return the audio action. |
static Action |
getCloseAction(Object target)
Return the close action. |
static Action |
getConcedeAction(Object target)
Return the concede action. |
static Action |
getCopyAction(Object target)
Return the copy action. |
static Action |
getCutAction(Object target)
Return the cut action. |
static Action |
getDeleteAction(Object target)
Return the delete action. |
static Action |
getEditAction(Object target)
Return the edit action. |
static Action |
getExportAction(Object target)
Return the export action. |
static Action |
getFindAction(Object target)
Return the find action. |
static Action |
getFindAgainAction(Object target)
Return the find again action. |
static Action |
getHelpAction(Object target)
Return the help action. |
static Action |
getNewAction(Object target)
Return the new action. |
static Action |
getOnlineHelpAction(Object target)
Return the help action. |
static Action |
getOpenAction(Object target)
Return the open action. |
static Action |
getPageSetupAction(Object target)
Return the page setup action. |
static Action |
getPasteAction(Object target)
Return the paste action. |
static Action |
getPreferencesAction(Object target)
Return the preferences action. |
static Action |
getPrintAction(Object target)
Return the print action. |
static Action |
getQuitAction(Object target)
Return the quit action. |
static Action |
getRedoAction(Object target)
Return the redo action. |
static Action |
getSaveAction(Object target)
Return the save action. |
static Action |
getSaveAsAction(Object target)
Return the save as action. |
static Action |
getSelectAllAction(Object target)
Return the select all action. |
static Action |
getShowStatusBarAction(Object target)
Return the show status bar action. |
static JCheckBoxMenuItem |
getShowStatusBarUI(Object target)
Return the show status bar widget. |
static Action |
getShowToolBarAction(Object target)
Return the show tool bar action. |
static JCheckBoxMenuItem |
getShowToolBarUI(Object target)
Return the show tool bar widget. |
static Action |
getUndoAction(Object target)
Return the undo action. |
static Action |
getVisibleColumnsAction(Object target)
Return the visible columns action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionFactory()
Method Detail |
---|
public static JMenu createEditMenu(Object target)
target
- Menu action target.public static JMenu createEditMenu(Object target, boolean doFill)
target
- Menu action target.doFill
- Flag indicating whether to fill the menu with standard
actions.public static JMenu createFileMenu(Object target)
target
- Menu action target.public static JMenu createFileMenu(Object target, boolean doFill)
target
- Menu action target.doFill
- Flag indicating whether to fill the menu with standard
actions.public static JMenu createHelpMenu(Object target)
target
- Menu action target.public static JMenu createHelpMenu(Object target, boolean doFill)
target
- Menu action target.doFill
- Flag indicating whether to fill the menu with standard
actions.public static JMenu createOptionsMenu(Object target)
target
- Menu action target.public static JMenu createViewMenu(Object target)
target
- Menu action target.public static JMenu createViewMenu(Object target, boolean doFill)
target
- Menu action target.doFill
- Flag indicating whether to fill the menu with standard
actions.public static Action getAboutAction(Object target)
public static Action getAudioAction(Object target)
public static Action getCloseAction(Object target)
public static Action getConcedeAction(Object target)
public static Action getCopyAction(Object target)
public static Action getCutAction(Object target)
public static Action getDeleteAction(Object target)
public static Action getEditAction(Object target)
public static Action getExportAction(Object target)
public static Action getFindAction(Object target)
public static Action getFindAgainAction(Object target)
public static Action getHelpAction(Object target)
public static Action getNewAction(Object target)
public static Action getOnlineHelpAction(Object target)
public static Action getOpenAction(Object target)
public static Action getPageSetupAction(Object target)
public static Action getPasteAction(Object target)
public static Action getPreferencesAction(Object target)
public static Action getPrintAction(Object target)
public static Action getQuitAction(Object target)
quitActionPerformed( ActionEvent )
.
public static Action getRedoAction(Object target)
public static Action getSaveAction(Object target)
public static Action getSaveAsAction(Object target)
public static Action getSelectAllAction(Object target)
public static Action getShowStatusBarAction(Object target)
public static JCheckBoxMenuItem getShowStatusBarUI(Object target)
public static Action getShowToolBarAction(Object target)
public static JCheckBoxMenuItem getShowToolBarUI(Object target)
public static Action getUndoAction(Object target)
public static Action getVisibleColumnsAction(Object target)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |