org.globus.cog.gui.grapheditor.util.swing
Class ComponentAction
java.lang.Object
org.globus.cog.gui.grapheditor.util.swing.ComponentAction
- All Implemented Interfaces:
- ActionListener, EventListener
- public class ComponentAction
- extends Object
- implements ActionListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentAction
public ComponentAction(String name,
Icon icon)
ComponentAction
public ComponentAction(String name)
addActionListener
public void addActionListener(ActionListener l)
removeActionListener
public void removeActionListener(ActionListener l)
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed in interface ActionListener
createComponent
public Component createComponent()
getName
public String getName()
setName
public void setName(String string)