|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tkuhn.swing.actions.DefaultMenuComponentFactory
public class DefaultMenuComponentFactory
Implementation of ActionComponentFactory
that creates components
that are MenuItems
suitable for menus.
Constructor Summary | |
---|---|
DefaultMenuComponentFactory()
Creates a new instance of DefaultJToolBarComponentFactory |
Method Summary | |
---|---|
javax.swing.JComponent |
createActionComponent(javax.swing.Action action)
Create a new JComponent that will serve as a display for the
Action . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultMenuComponentFactory()
Method Detail |
---|
public javax.swing.JComponent createActionComponent(javax.swing.Action action)
JComponent
that will serve as a display for the
Action
.
createActionComponent
in interface ActionComponentFactory
action
- the action you need a component for
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |