All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class crw.awt.v10.UpDown10

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----crw.awt.UpDown
                           |
                           +----crw.awt.v10.UpDown10

public class UpDown10
extends UpDown
The UpDown class, Java1.0 version.

Version:
1.0
Author:
C.R.Wie

Constructor Index

 o UpDown10()
 o UpDown10(Color, Color)
 o UpDown10(int, int, Color, Color)

Method Index

 o mouseDown(Event, int, int)
If pressed within the UpDown, then it calls the CustomAWT.start() of its listener.
 o mouseDrag(Event, int, int)
If the mouse drags out of the UpDown object, then it calls the CustomAWT.stop(), and sets the top/bottomPressed to false.
 o mouseUp(Event, int, int)
Calls CustomAWT.stop() of its listener.

Constructors

 o UpDown10
 public UpDown10()
 o UpDown10
 public UpDown10(Color cArrow,
                 Color cBack)
 o UpDown10
 public UpDown10(int width,
                 int height,
                 Color cArrow,
                 Color cBack)

Methods

 o mouseDown
 public boolean mouseDown(Event evt,
                          int x,
                          int y)
If pressed within the UpDown, then it calls the CustomAWT.start() of its listener.

Overrides:
mouseDown in class Component
 o mouseDrag
 public boolean mouseDrag(Event evt,
                          int x,
                          int y)
If the mouse drags out of the UpDown object, then it calls the CustomAWT.stop(), and sets the top/bottomPressed to false.

Overrides:
mouseDrag in class Component
 o mouseUp
 public boolean mouseUp(Event evt,
                        int x,
                        int y)
Calls CustomAWT.stop() of its listener.

Overrides:
mouseUp in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index