Class edu.cornell.lassp.mck10.HysteresisApplet.ZoomButton
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.cornell.lassp.mck10.HysteresisApplet.ZoomButton

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Button
                   |
                   +----edu.cornell.lassp.mck10.HysteresisApplet.ZoomButton

public class ZoomButton
extends Button
The ZoomButton class can be used to create a button which either zooms in or out on a LoopView.

Source Code is available.

Version:
1.0
Author:
Matt Kuntz (e-mail: mck10@cornell.edu)

Variable Index

 o IN
 o OUT

Constructor Index

 o ZoomButton(boolean, LoopView)

Method Index

 o action(Event, Object)
Called if an action occurs in the Component.

Variables

 o IN
  public final static boolean IN
 o OUT
  public final static boolean OUT

Constructors

 o ZoomButton
  public ZoomButton(boolean direction,
                    LoopView view)

Methods

 o action
  public boolean action(Event evt,
                        Object which)
Called if an action occurs in the Component.
Overrides:
action in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index