summaryrefslogtreecommitdiff
path: root/java/apps/NexusII/classes/awtCommand/CButton.java
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-08 17:12:53 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-08 17:12:53 +0000
commit0922352a55775ec9ba589d82955d231977da60ae (patch)
treeb2d2cc62c8017259e46d11dc4036e8499890228a /java/apps/NexusII/classes/awtCommand/CButton.java
parent0e0618ea227e7768bac5f5b3f2f1e72c4bfb3c85 (diff)
downloadATCD-0_8_1.tar.gz
This commit was manufactured by cvs2svn to create tag 'v0_8_1'.v0_8_1
Diffstat (limited to 'java/apps/NexusII/classes/awtCommand/CButton.java')
-rw-r--r--java/apps/NexusII/classes/awtCommand/CButton.java41
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;
- }
-}