java.lang.Object
com.trapezium.chisel.gui.ChiselAWTAction
- All Implemented Interfaces:
- ActionImpl, java.awt.event.ActionListener, java.util.EventListener
- class ChiselAWTAction
- extends java.lang.Object
- implements ActionImpl
class ChiselJAction extends DefaultAction implements ActionImpl {
ActionListener owner;
public ChiselJAction(ActionListener owner, String name) {
super(name);
this.owner = owner;
}
public void actionPerformed(ActionEvent e) {
owner.actionPerformed(e);
}
public String getName() {
return getText(NAME);
}
public void setName(String name) {
setText(NAME, name);
}
}
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
owner
java.awt.event.ActionListener owner
name
java.lang.String name
ChiselAWTAction
public ChiselAWTAction(java.awt.event.ActionListener owner,
java.lang.String name)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Description copied from interface:
java.awt.event.ActionListener
- This method is invoked when an action occurs.
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
getName
public java.lang.String getName()
- Specified by:
getName in interface ActionImpl
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface ActionImpl