Package io.github.jonestimd.swing.action
Class LocalizedAction.Factory
- java.lang.Object
-
- io.github.jonestimd.swing.action.LocalizedAction.Factory
-
- Enclosing class:
- LocalizedAction
public static class LocalizedAction.Factory extends java.lang.Object
A factory class for creating multiple actions using the sameResourceBundle
and a common resource prefix.
-
-
Constructor Summary
Constructors Constructor Description Factory(java.util.ResourceBundle bundle, java.lang.String resourcePrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.Action
newAction(java.lang.String keySuffix, java.awt.event.ActionListener handler)
Create an action using anActionListener
.
-