org.softsmithy.lib.swing.action
Class StandardActionFactory
java.lang.Object
org.softsmithy.lib.util.TypesafeEnum
org.softsmithy.lib.swing.action.StandardActionFactory
- All Implemented Interfaces:
- Localizable
- Direct Known Subclasses:
- DevelopmentActionFactory, GeneralActionFactory, MediaActionFactory, NavigationActionFactory, TableActionFactory, TextActionFactory
public abstract class StandardActionFactory
- extends TypesafeEnum
http://java.sun.com/developer/techDocs/hi/repository/index.html
http://java.sun.com/products/jlf/ed2/guidelines.html
http://java.sun.com/products/jlf/ed2/book/Appendix.A.html
http://java.sun.com/products/jlf/ed2/book/Appendix.A2.html
http://java.sun.com/products/jlf/ed2/book/Appendix.C.html
- Author:
- puce
StandardActionFactory
protected StandardActionFactory(String name)
- Creates a new instance of StandardActionFactory
createXAction
public XAction createXAction(Object target,
Locale locale)
throws NoSuchMethodException
- Creates an XAction for this standard action.
- Parameters:
target
- this object is expected to implement the method public void <action name/ toString()>(ActionEvent e)
locale
- the locale
- Returns:
- a configured XAction
- Throws:
NoSuchMethodException
configureXAction
public void configureXAction(XAction action,
Locale locale)
- Configures an XAction for this standard action.
- Parameters:
action
- the XAction to be configuredlocale
- the locale
Copyright © 2002-2011 SoftSmithy. All Rights Reserved.