01: package net.suberic.util;
02:
03: import javax.swing.AbstractAction;
04: import javax.swing.Action;
05:
06: public abstract class DynamicAbstractAction extends AbstractAction {
07:
08: public DynamicAbstractAction() {
09: super ();
10: }
11:
12: public DynamicAbstractAction(String cmd) {
13: super (cmd);
14: }
15:
16: public Action cloneDynamicAction()
17: throws CloneNotSupportedException {
18: this .putValue("foo", "bar");
19: return (Action) this.clone();
20: }
21:
22: }
|