KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > suberic > util > DynamicAbstractAction


1 package net.suberic.util;
2 import javax.swing.AbstractAction JavaDoc;
3 import javax.swing.Action JavaDoc;
4
5 public abstract class DynamicAbstractAction extends AbstractAction JavaDoc {
6   
7   public DynamicAbstractAction() {
8     super();
9   }
10   
11   public DynamicAbstractAction(String JavaDoc cmd) {
12     super(cmd);
13   }
14   
15   public Action JavaDoc cloneDynamicAction() throws CloneNotSupportedException JavaDoc {
16     this.putValue("foo", "bar");
17     return (Action JavaDoc)this.clone();
18   }
19   
20 }
21
Popular Tags