Files
lime/externs/air/flash/display/InteractiveObject.hx
2023-05-09 09:28:20 -07:00

52 lines
2.6 KiB
Haxe

package flash.display;
extern class InteractiveObject extends DisplayObject
{
#if (haxe_ver < 4.3)
var accessibilityImplementation:flash.accessibility.AccessibilityImplementation;
// var contextMenu : #if air flash.display.NativeMenu #else flash.ui.ContextMenu #end;
var contextMenu:NativeMenu;
var doubleClickEnabled:Bool;
var focusRect:Dynamic;
var mouseEnabled:Bool;
@:require(flash11) var needsSoftKeyboard:Bool;
@:require(flash11) var softKeyboardInputAreaOfInterest:flash.geom.Rectangle;
var tabEnabled:Bool;
var tabIndex:Int;
#else
@:flash.property var accessibilityImplementation(get, set):flash.accessibility.AccessibilityImplementation;
// @:flash.property var contextMenu : #if air flash.display.NativeMenu #else flash.ui.ContextMenu #end;
@:flash.property var contextMenu(get, set):NativeMenu;
@:flash.property var doubleClickEnabled(get, set):Bool;
@:flash.property var focusRect(get, set):Dynamic;
@:flash.property var mouseEnabled(get, set):Bool;
@:flash.property @:require(flash11) var needsSoftKeyboard(get, set):Bool;
@:flash.property @:require(flash11) var softKeyboardInputAreaOfInterest(get, set):flash.geom.Rectangle;
@:flash.property var tabEnabled(get, set):Bool;
@:flash.property var tabIndex(get, set):Int;
#end
function new():Void;
@:require(flash11) function requestSoftKeyboard():Bool;
#if (haxe_ver >= 4.3)
private function get_accessibilityImplementation():flash.accessibility.AccessibilityImplementation;
private function get_contextMenu():#if air flash.display.NativeMenu #else flash.ui.ContextMenu #end;
private function get_doubleClickEnabled():Bool;
private function get_focusRect():Dynamic;
private function get_mouseEnabled():Bool;
private function get_needsSoftKeyboard():Bool;
private function get_softKeyboardInputAreaOfInterest():flash.geom.Rectangle;
private function get_tabEnabled():Bool;
private function get_tabIndex():Int;
private function set_accessibilityImplementation(value:flash.accessibility.AccessibilityImplementation):flash.accessibility.AccessibilityImplementation;
private function set_contextMenu(value:#if air flash.display.NativeMenu #else flash.ui.ContextMenu #end):#if air flash.display.NativeMenu #else flash.ui.ContextMenu #end;
private function set_doubleClickEnabled(value:Bool):Bool;
private function set_focusRect(value:Dynamic):Dynamic;
private function set_mouseEnabled(value:Bool):Bool;
private function set_needsSoftKeyboard(value:Bool):Bool;
private function set_softKeyboardInputAreaOfInterest(value:flash.geom.Rectangle):flash.geom.Rectangle;
private function set_tabEnabled(value:Bool):Bool;
private function set_tabIndex(value:Int):Int;
#end
}