diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-07 19:53:20 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-07 19:53:20 +0000 |
commit | b7a2a009d7bd36a1b01e714f1c5e264f2811f2b6 (patch) | |
tree | 4db4327609d6dbffbab4445e3451de19ca3bbf4b /java/apps/NexusII/classes/awtCommand/CButton.java | |
parent | be5c228c7a69ab3a219c762222d81ccca94560dd (diff) | |
download | ATCD-main_to_poa_merge_5.tar.gz |
This commit was manufactured by cvs2svn to create tagmain_to_poa_merge_5
'main_to_poa_merge_5'.
Diffstat (limited to 'java/apps/NexusII/classes/awtCommand/CButton.java')
-rw-r--r-- | java/apps/NexusII/classes/awtCommand/CButton.java | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/java/apps/NexusII/classes/awtCommand/CButton.java b/java/apps/NexusII/classes/awtCommand/CButton.java deleted file mode 100644 index ff0f3385bad..00000000000 --- a/java/apps/NexusII/classes/awtCommand/CButton.java +++ /dev/null @@ -1,41 +0,0 @@ - -package awtCommand; - -import java.lang.*; -import java.awt.*; - -public class CButton extends java.awt.Button { - protected Command actionCommand = null; - - /** - * Constructs a CButton. - */ - public CButton() { - super(); - } - - /** - * Constructs a CButton with the given name. - */ - public CButton(String name) { - super(name); - } - - /** - * Sets the actionCommand object. - */ - public void setActionCommand(Command action) { - actionCommand = action; - } - - /** - * Called when the button is selected.. - * This results in a call to the actionCommand object - * with <code>what</code> set to the button's label. - */ - public boolean action(Event evt, Object what) { - if (actionCommand != null) - actionCommand.execute(this, evt, what); - return false; - } -} |