1//////////////////////////////////////////////////////////////////////////////// 2// 3// ADOBE SYSTEMS INCORPORATED 4// Copyright 2008 Adobe Systems Incorporated 5// All Rights Reserved. 6// 7// NOTICE: Adobe permits you to use, modify, and distribute this file 8// in accordance with the terms of the license agreement accompanying it. 9// 10//////////////////////////////////////////////////////////////////////////////// 11 12package mx.events 13{ 14 15/** 16 * The FocusDirection class defines the constant values for the direction 17 * focus may be moved in. The value is used with the SWFBridgeRequest.MOVE_FOCUS_REQUEST 18 * request and with the FocusManager <code>moveFocus()</code> method. 19 * 20 * @see SWFBridgeRequest 21 * 22 * @langversion 3.0 23 * @playerversion Flash 9 24 * @playerversion AIR 1.1 25 * @productversion Flex 3 26 */ 27public final class FocusRequestDirection 28{ 29 include "../core/Version.as"; 30 31 //-------------------------------------------------------------------------- 32 // 33 // Class constants 34 // 35 //-------------------------------------------------------------------------- 36 37 /** 38 * Move the focus forward to the next control in the tab loop as if the 39 * TAB key were pressed. 40 * 41 * @langversion 3.0 42 * @playerversion Flash 9 43 * @playerversion AIR 1.1 44 * @productversion Flex 3 45 */ 46 public static const FORWARD:String = "forward"; 47 48 /** 49 * Move the focus backward to the previous control in the tab loop as if 50 * the SHIFT+TAB keys were pressed. 51 * 52 * @langversion 3.0 53 * @playerversion Flash 9 54 * @playerversion AIR 1.1 55 * @productversion Flex 3 56 */ 57 public static const BACKWARD:String = "backward"; 58 59 /** 60 * Move the focus to the top/first control in the tab loop as if the 61 * TAB key were pressed when no object had focus in the tab loop 62 * 63 * @langversion 3.0 64 * @playerversion Flash 9 65 * @playerversion AIR 1.1 66 * @productversion Flex 3 67 */ 68 public static const TOP:String = "top"; 69 70 /** 71 * Move the focus to the bottom/last control in the tab loop as if the 72 * SHIFT+TAB key were pressed when no object had focus in the tab loop 73 * 74 * @langversion 3.0 75 * @playerversion Flash 9 76 * @playerversion AIR 1.1 77 * @productversion Flex 3 78 */ 79 public static const BOTTOM:String = "bottom"; 80 81 82} 83 84} 85