summaryrefslogtreecommitdiff
path: root/java/gjt/StateButtonController.java
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-10-05 10:59:05 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-10-05 10:59:05 +0000
commit0f82e043ed49bac37ee0e71db33a5160fd991970 (patch)
treeed69db4ac4a22c35aafbfd18edc903e1dafbf15d /java/gjt/StateButtonController.java
parent20ff751b21b30fb4154bbcb5b4803d0d39240c32 (diff)
downloadATCD-TAO-1_2.tar.gz
This commit was manufactured by cvs2svn to create tag 'TAO-1_2'.TAO-1_2
Diffstat (limited to 'java/gjt/StateButtonController.java')
-rw-r--r--java/gjt/StateButtonController.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/java/gjt/StateButtonController.java b/java/gjt/StateButtonController.java
deleted file mode 100644
index d6fc83830a6..00000000000
--- a/java/gjt/StateButtonController.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package gjt;
-
-import java.awt.Event;
-
-/**
- * A controller for a StateButton, that cycles through a
- * series of images which reside in the StateButton class.
- * Each time a mouse up is detected in the StateButton, the
- * buttons image is set to the next image in the array.
- *
- * @version 1.0, Apr 1 1996
- * @author David Geary
- * @see StateButton
- * @see SpringyImageButtonController
- * @see gjt.test.StateButtonTest
- */
-class StateButtonController extends SpringyImageButtonController {
- public StateButtonController(StateButton button) {
- super(button);
- }
- public boolean mouseUp(Event event, int x, int y) {
- StateButton button = (StateButton)getButton();
- button.setImage(button.nextImage());
- activateButton(event);
- return super.mouseUp(event, x, y);
- }
-}