de.tkuhn.swing.actions
Class DefaultToolBarComponentFactory

java.lang.Object
  extended by de.tkuhn.swing.actions.DefaultToolBarComponentFactory
All Implemented Interfaces:
ActionComponentFactory

public class DefaultToolBarComponentFactory
extends java.lang.Object
implements ActionComponentFactory

Implementation of ActionComponentFactory that creates components that are AbstractButtons suitable for tool bars.

Version:
0.9.3
Author:
Tilmann Kuhn

Constructor Summary
DefaultToolBarComponentFactory()
          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

DefaultToolBarComponentFactory

public DefaultToolBarComponentFactory()
Creates a new instance of DefaultJToolBarComponentFactory

Method Detail

createActionComponent

public javax.swing.JComponent createActionComponent(javax.swing.Action action)
Create a new JComponent that will serve as a display for the Action.

Specified by:
createActionComponent in interface ActionComponentFactory
Parameters:
action - the action you need a component for
Returns:
the JComponent that displays the action


Copyright © Tilmann Kuhn