de.tkuhn.swing.actions
Interface ActionComponentFactory
- All Known Implementing Classes:
- DefaultMenuComponentFactory, DefaultToolBarComponentFactory
public interface ActionComponentFactory
This factory can be used when you need a component that displays an action to
have an abstract creation mechanism.
- Version:
- 0.9.3
- Author:
- Tilmann Kuhn
- See Also:
Action
Method Summary |
javax.swing.JComponent |
createActionComponent(javax.swing.Action action)
Create a new JComponent that will serve as a display for the
Action . |
createActionComponent
javax.swing.JComponent createActionComponent(javax.swing.Action action)
- Create a new
JComponent
that will serve as a display for the
Action
.
- Parameters:
action
- the action you need a component for
- Returns:
- the JComponent that displays the action
Copyright © Tilmann Kuhn