Packageru.antkarlov.anthill.debug
Classpublic class AntSysButton
InheritanceAntSysButton Inheritance flash.display.Sprite

Language Version : ActionScript 3
Since : 19.08.2012
Runtime Versions : AIR 1.0, Flash Player 9.0.0

Простая кнопка использующаяся только в отладочных визуальных классах.



Public Properties
 PropertyDefined By
  kind : uint
Определяет внешний вид кнопки.
AntSysButton
  onClick : Function
AntSysButton
Protected Properties
 PropertyDefined By
  _bitmap : Bitmap
AntSysButton
  _classes : Array
AntSysButton
  ImgAdd : Class
AntSysButton
  ImgAnt : Class
AntSysButton
  ImgBug : Class
AntSysButton
  ImgClear : Class
AntSysButton
  ImgClose : Class
AntSysButton
  ImgConsole : Class
AntSysButton
  ImgCursor : Class
AntSysButton
  ImgDebugDrawOff : Class
AntSysButton
  ImgDebugDrawOn : Class
AntSysButton
  ImgDel : Class
AntSysButton
  ImgExit : Class
AntSysButton
  ImgLoad : Class
AntSysButton
  ImgMonitor : Class
AntSysButton
  ImgMoveDown : Class
AntSysButton
  ImgMoveLeft : Class
AntSysButton
  ImgMoveLeftDown : Class
AntSysButton
  ImgMoveLeftUp : Class
AntSysButton
  ImgMoveRight : Class
AntSysButton
  ImgMoveRightDown : Class
AntSysButton
  ImgMoveRightUp : Class
AntSysButton
  ImgMoveUp : Class
AntSysButton
  ImgMusicOff : Class
AntSysButton
  ImgMusicOn : Class
AntSysButton
  ImgOptions : Class
AntSysButton
  ImgPause : Class
AntSysButton
  ImgPerfomance : Class
AntSysButton
  ImgPlay : Class
AntSysButton
  ImgPrint : Class
AntSysButton
  ImgSave : Class
AntSysButton
  ImgSoundOff : Class
AntSysButton
  ImgSoundOn : Class
AntSysButton
  ImgWarning : Class
AntSysButton
  _isOver : Boolean
AntSysButton
  _kind : uint
AntSysButton
  _normal : BitmapData
AntSysButton
  _over : BitmapData
AntSysButton
Public Methods
 MethodDefined By
  
AntSysButton(aKind:uint = 0)
AntSysButton
  
destroy():void
Удаление кнопки и освобождение памяти.
AntSysButton
Protected Methods
 MethodDefined By
  
Устанавливает обработчики событий для работы кнопки.
AntSysButton
  
mouseClickHandler(event:MouseEvent):void
Обработчик события клика по кнопке.
AntSysButton
  
mouseOutHandler(event:MouseEvent):void
Обработчик события выхода курсора мыши за переделы кнопки.
AntSysButton
  
mouseOverHandler(event:MouseEvent):void
Обработчик события наведения курсора мыши на кнопку.
AntSysButton
  
Удаляет обработчики событий для работы кнопки.
AntSysButton
  
Обновляет визуальное состояние кнопки.
AntSysButton
Public Constants
 ConstantDefined By
  ADD : uint = 10
[static]
AntSysButton
  ANT : uint = 30
[static]
AntSysButton
  BUG : uint = 31
[static]
AntSysButton
  CLEAR : uint = 12
[static]
AntSysButton
  CLOSE : uint = 0
[static]
AntSysButton
  CONSOLE : uint = 1
[static]
AntSysButton
  CURSOR : uint = 14
[static]
AntSysButton
  DEBUGDRAW_OFF : uint = 9
[static]
AntSysButton
  DEBUGDRAW_ON : uint = 8
[static]
AntSysButton
  DEL : uint = 11
[static]
AntSysButton
  EXIT : uint = 13
[static]
AntSysButton
  LOAD : uint = 28
[static]
AntSysButton
  MONITOR : uint = 3
[static]
AntSysButton
  MOVE_DOWN : uint = 19
[static]
AntSysButton
  MOVE_MOVE_LEFT : uint = 21
[static]
AntSysButton
  MOVE_MOVE_LEFT_DOWN : uint = 20
[static]
AntSysButton
  MOVE_MOVE_LEFT_UP : uint = 22
[static]
AntSysButton
  MOVE_RIGHT : uint = 17
[static]
AntSysButton
  MOVE_RIGHT_DOWN : uint = 18
[static]
AntSysButton
  MOVE_UP : uint = 15
[static]
AntSysButton
  MOVE_UP_RIGHT : uint = 16
[static]
AntSysButton
  MUSIC_OFF : uint = 7
[static]
AntSysButton
  MUSIC_ON : uint = 6
[static]
AntSysButton
  OPTIONS : uint = 23
[static]
AntSysButton
  PAUSE : uint = 24
[static]
AntSysButton
  PERFOMANCE : uint = 2
[static]
AntSysButton
  PLAY : uint = 25
[static]
AntSysButton
  PRINT : uint = 26
[static]
AntSysButton
  SAVE : uint = 27
[static]
AntSysButton
  SOUND_OFF : uint = 5
[static]
AntSysButton
  SOUND_ON : uint = 4
[static]
AntSysButton
  WARNING : uint = 29
[static]
AntSysButton
Property Detail
_bitmapproperty
protected var _bitmap:Bitmap

_classesproperty 
protected var _classes:Array

_isOverproperty 
protected var _isOver:Boolean

_kindproperty 
protected var _kind:uint

_normalproperty 
protected var _normal:BitmapData

_overproperty 
protected var _over:BitmapData

ImgAddproperty 
protected var ImgAdd:Class

ImgAntproperty 
protected var ImgAnt:Class

ImgBugproperty 
protected var ImgBug:Class

ImgClearproperty 
protected var ImgClear:Class

ImgCloseproperty 
protected var ImgClose:Class

ImgConsoleproperty 
protected var ImgConsole:Class

ImgCursorproperty 
protected var ImgCursor:Class

ImgDebugDrawOffproperty 
protected var ImgDebugDrawOff:Class

ImgDebugDrawOnproperty 
protected var ImgDebugDrawOn:Class

ImgDelproperty 
protected var ImgDel:Class

ImgExitproperty 
protected var ImgExit:Class

ImgLoadproperty 
protected var ImgLoad:Class

ImgMonitorproperty 
protected var ImgMonitor:Class

ImgMoveDownproperty 
protected var ImgMoveDown:Class

ImgMoveLeftproperty 
protected var ImgMoveLeft:Class

ImgMoveLeftDownproperty 
protected var ImgMoveLeftDown:Class

ImgMoveLeftUpproperty 
protected var ImgMoveLeftUp:Class

ImgMoveRightproperty 
protected var ImgMoveRight:Class

ImgMoveRightDownproperty 
protected var ImgMoveRightDown:Class

ImgMoveRightUpproperty 
protected var ImgMoveRightUp:Class

ImgMoveUpproperty 
protected var ImgMoveUp:Class

ImgMusicOffproperty 
protected var ImgMusicOff:Class

ImgMusicOnproperty 
protected var ImgMusicOn:Class

ImgOptionsproperty 
protected var ImgOptions:Class

ImgPauseproperty 
protected var ImgPause:Class

ImgPerfomanceproperty 
protected var ImgPerfomance:Class

ImgPlayproperty 
protected var ImgPlay:Class

ImgPrintproperty 
protected var ImgPrint:Class

ImgSaveproperty 
protected var ImgSave:Class

ImgSoundOffproperty 
protected var ImgSoundOff:Class

ImgSoundOnproperty 
protected var ImgSoundOn:Class

ImgWarningproperty 
protected var ImgWarning:Class

kindproperty 
kind:uint

Определяет внешний вид кнопки.


Implementation
    public function get kind():uint
    public function set kind(value:uint):void
onClickproperty 
public var onClick:Function

Constructor Detail
AntSysButton()Constructor
public function AntSysButton(aKind:uint = 0)

Parameters
aKind:uint (default = 0)
Method Detail
addHandlers()method
protected function addHandlers():void

Устанавливает обработчики событий для работы кнопки.

destroy()method 
public function destroy():void

Удаление кнопки и освобождение памяти.

mouseClickHandler()method 
protected function mouseClickHandler(event:MouseEvent):void

Обработчик события клика по кнопке.

Parameters

event:MouseEvent

mouseOutHandler()method 
protected function mouseOutHandler(event:MouseEvent):void

Обработчик события выхода курсора мыши за переделы кнопки.

Parameters

event:MouseEvent

mouseOverHandler()method 
protected function mouseOverHandler(event:MouseEvent):void

Обработчик события наведения курсора мыши на кнопку.

Parameters

event:MouseEvent

removeHandlers()method 
protected function removeHandlers():void

Удаляет обработчики событий для работы кнопки.

updateVisualState()method 
protected function updateVisualState():void

Обновляет визуальное состояние кнопки.

Constant Detail
ADDConstant
public static const ADD:uint = 10

ANTConstant 
public static const ANT:uint = 30

BUGConstant 
public static const BUG:uint = 31

CLEARConstant 
public static const CLEAR:uint = 12

CLOSEConstant 
public static const CLOSE:uint = 0

CONSOLEConstant 
public static const CONSOLE:uint = 1

CURSORConstant 
public static const CURSOR:uint = 14

DEBUGDRAW_OFFConstant 
public static const DEBUGDRAW_OFF:uint = 9

DEBUGDRAW_ONConstant 
public static const DEBUGDRAW_ON:uint = 8

DELConstant 
public static const DEL:uint = 11

EXITConstant 
public static const EXIT:uint = 13

LOADConstant 
public static const LOAD:uint = 28

MONITORConstant 
public static const MONITOR:uint = 3

MOVE_DOWNConstant 
public static const MOVE_DOWN:uint = 19

MOVE_MOVE_LEFTConstant 
public static const MOVE_MOVE_LEFT:uint = 21

MOVE_MOVE_LEFT_DOWNConstant 
public static const MOVE_MOVE_LEFT_DOWN:uint = 20

MOVE_MOVE_LEFT_UPConstant 
public static const MOVE_MOVE_LEFT_UP:uint = 22

MOVE_RIGHTConstant 
public static const MOVE_RIGHT:uint = 17

MOVE_RIGHT_DOWNConstant 
public static const MOVE_RIGHT_DOWN:uint = 18

MOVE_UPConstant 
public static const MOVE_UP:uint = 15

MOVE_UP_RIGHTConstant 
public static const MOVE_UP_RIGHT:uint = 16

MUSIC_OFFConstant 
public static const MUSIC_OFF:uint = 7

MUSIC_ONConstant 
public static const MUSIC_ON:uint = 6

OPTIONSConstant 
public static const OPTIONS:uint = 23

PAUSEConstant 
public static const PAUSE:uint = 24

PERFOMANCEConstant 
public static const PERFOMANCE:uint = 2

PLAYConstant 
public static const PLAY:uint = 25

PRINTConstant 
public static const PRINT:uint = 26

SAVEConstant 
public static const SAVE:uint = 27

SOUND_OFFConstant 
public static const SOUND_OFF:uint = 5

SOUND_ONConstant 
public static const SOUND_ON:uint = 4

WARNINGConstant 
public static const WARNING:uint = 29