net.infonode.gui.action
Class SimpleAction

java.lang.Object
  extended by net.infonode.gui.action.SimpleAction
All Implemented Interfaces:
IconProvider

public abstract class SimpleAction
extends java.lang.Object
implements IconProvider

An action with an icon and a title.

Since:
IDW 1.3.0
Version:
$Revision: 1.4 $
Author:
$Author: jesper $

Constructor Summary
protected SimpleAction()
           
 
Method Summary
abstract  java.lang.String getName()
           
abstract  boolean isEnabled()
           
abstract  void perform()
           
 javax.swing.Action toSwingAction()
          Converts this action into a Swing Action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.infonode.gui.icon.IconProvider
getIcon
 

Constructor Detail

SimpleAction

protected SimpleAction()
Method Detail

getName

public abstract java.lang.String getName()

perform

public abstract void perform()

isEnabled

public abstract boolean isEnabled()

toSwingAction

public javax.swing.Action toSwingAction()
Converts this action into a Swing Action.

Returns:
the Swing Action