Package | sekati.ui |
Class | public class TextButton |
Inheritance | TextButton InteractiveSprite CoreSprite flash.display.Sprite |
InteractiveSprite
.
Property | Defined by | ||
---|---|---|---|
bg : Rect | TextButton | ||
enabled : Boolean
Enabled property defines whether interactive eventing is available or not.
| InteractiveSprite | ||
interactiveMode : Boolean
Specifies the mouse cursors modal state in the object as an interactive
target via:
buttonMode, mouseChildren & tabChildren . | CoreSprite | ||
scale : Number
The
scale value. | CoreSprite | ||
tf : TextField | TextButton |
Property | Defined by | ||
---|---|---|---|
_caption : String | TextButton | ||
_font : String | TextButton | ||
_size : uint | TextButton |
Method | Defined by | ||
---|---|---|---|
TextButton(caption:String, bgRect:Rect, font:String = "Verdana", size:uint = 9)
TextButton Constructor
| TextButton | ||
addChildren(... args):void
Add multiple child
DisplayObject 's. | CoreSprite | ||
destroy():void
Clean up after thy self.
| InteractiveSprite | ||
toString():String
Return reflective output.
| CoreSprite |
Method | Defined by | ||
---|---|---|---|
click(e:MouseEvent = null):void
Stub: click event handler.
| InteractiveSprite | ||
configListeners(isAdd:Boolean = false):void
Event listener management.
| InteractiveSprite | ||
configUI():void
Configure UI Elements.
| TextButton | ||
invalidate():void
Request a redraw, use for deferred rendering.
| CoreSprite | ||
offStage(e:Event = null):void
Remove the listeners when removed from the stage.
| InteractiveSprite | ||
onStage(e:Event = null):void
Add listeners when added to stage.
| InteractiveSprite | ||
out(e:MouseEvent = null):void
Stub: mouse out event handler.
| TextButton | ||
over(e:MouseEvent = null):void
Stub: mouse over event handler.
| TextButton | ||
press(e:MouseEvent = null):void
Stub: press event handler.
| InteractiveSprite | ||
release(e:MouseEvent = null):void
Stub: release event handler.
| InteractiveSprite | ||
releaseOutside(e:Event = null):void
Stub: release outside event handler.
| InteractiveSprite |
bg | property |
public var bg:Rect
_caption | property |
protected var _caption:String
_font | property |
protected var _font:String
_size | property |
protected var _size:uint
tf | property |
public var tf:TextField
TextButton | () | constructor |
public function TextButton(caption:String, bgRect:Rect, font:String = "Verdana", size:uint = 9)
TextButton Constructor
Parameterscaption:String — of the button text.
|
|
bgRect:Rect — shape to use as background.
|
|
font:String (default = "Verdana ") — of the button text.
|
|
size:uint (default = 9 ) — pf the button text.
|
configUI | () | method |
protected function configUI():void
Configure UI Elements.
out | () | method |
protected override function out(e:MouseEvent = null):void
Stub: mouse out event handler.
Parameterse:MouseEvent (default = null )
|
over | () | method |
protected override function over(e:MouseEvent = null):void
Stub: mouse over event handler.
Parameterse:MouseEvent (default = null )
|