FairyGUI.GObject.GObject C# (CSharp) Method

GObject() public method

public GObject ( ) : System.Collections.Generic
return System.Collections.Generic
        public GObject()
        {
            _width = 0;
            _height = 0;
            _alpha = 1;
            _visible = true;
            _touchable = true;
            _scaleX = 1;
            _scaleY = 1;
            _internalVisible = 1;
            id = "_n" + _gInstanceCounter++;
            name = string.Empty;

            CreateDisplayObject();

            relations = new Relations(this);
            _gears = new GearBase[8];

            onClick = new EventListener(this, "onClick");
            onRightClick = new EventListener(this, "onRightClick");
            onTouchBegin = new EventListener(this, "onTouchBegin");
            onTouchEnd = new EventListener(this, "onTouchEnd");
            onRollOver = new EventListener(this, "onRollOver");
            onRollOut = new EventListener(this, "onRollOut");
            onAddedToStage = new EventListener(this, "onAddedToStage");
            onRemovedFromStage = new EventListener(this, "onRemovedFromStage");
            onKeyDown = new EventListener(this, "onKeyDown");
            onClickLink = new EventListener(this, "onClickLink");

            onPositionChanged = new EventListener(this, "onPositionChanged");
            onSizeChanged = new EventListener(this, "onSizeChanged");
            onDragStart = new EventListener(this, "onDragStart");
            onDragMove = new EventListener(this, "onDragMove");
            onDragEnd = new EventListener(this, "onDragEnd");

            OnGearStop = new EventListener(this, "OnGearStop");
        }