/*
 * Sun Public License Notice
 * 
 * The contents of this file are subject to the Sun Public License Version
 * 1.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is available at http://www.sun.com/
 * 
 * The Original Code is the Jemmy library.
 * The Initial Developer of the Original Code is Alexandre Iline.
 * All Rights Reserved.
 * 
 * Contributor(s): Alexandre Iline.
 * 
 * $Id: DownKey.java,v 1.1 2002/04/17 11:46:17 jemmy Exp $ $Revision: 1.1 $ $Date: 2002/04/17 11:46:17 $
 * 
 */

package org.netbeans.jemmy.drivers.text;

class DownKey extends GoAndBackKey {
    private int direction;
    private UpKey backKey;
    public DownKey(int keyCode, int mods) {
	super(keyCode, mods);
    }
    public void setUpKey(UpKey key) {
	backKey = key;
    }
    public int getDirection() {
	return(1);
    }
    public GoAndBackKey getBackKey() {
	return(backKey);
    }
}
