class openfl.gui.Control extends Sprite

Available on all platforms

Class Fields

static var ANCHOR_BOTTOM:Int

static var ANCHOR_LEFT:Int

static var ANCHOR_NONE:Int

static var ANCHOR_RIGHT:Int

static var ANCHOR_TOP:Int

static var DOCK_BOTTOM:Int

static var DOCK_FILL:Int

static var DOCK_LEFT:Int

static var DOCK_NONE:Int

static var DOCK_RIGHT:Int

static var DOCK_TOP:Int

Instance Fields

var anchor:Int

Represents the anchor point that this control will stay relative to when its parent control (or stage) is resized.

var contextMenuStrip:ContextMenuStrip

The context menu that appears when this control is right-clicked within its bounds.

var dock:Int

Docks the control to top, bottom, left, right or filled. The control is restricted to being resized based on its filter. If the control is filled, then the parent controls its resize.

var toolTip:ToolTip

The tooltip format to display when the mouse hovers over this control for a short period.

var toolTipValue:Dynamic

The data values of the tooltip to show when the mouse hovers over this control.

function new():Void

The Control is the base class for all GUI components.

function onStyleChanged(style:Style):Void