public class AcceleratorActionFactory
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
AcceleratorActionFactory()
Creates a new instance of AcceleratorActionFactory
|
Modifier and Type | Method and Description |
---|---|
static javax.swing.Action |
loadAcceleratorAction(AcceleratorDocument document)
Creates the action that, when activated, will provide an open dialog box that allows the user to select an accelerator file.
|
static javax.swing.Action |
loadDefaultAcceleratorAction(AcceleratorDocument document)
Creates the action that, when activated, will load the default accelerator.
|
static javax.swing.event.MenuListener |
sequenceHandler(AcceleratorDocument document)
The handler that dynamically builds the Sequence submenu whenever the menu is selected.
|
protected AcceleratorActionFactory()
public static javax.swing.event.MenuListener sequenceHandler(AcceleratorDocument document)
document
- The document for which the menu is builtpublic static javax.swing.Action loadDefaultAcceleratorAction(AcceleratorDocument document)
document
- The document into which the accelerator will be set.public static javax.swing.Action loadAcceleratorAction(AcceleratorDocument document)
document
- The document into which the accelerator will be set.