ASDT使用技巧一[自动生成GET与SET]

      AS3 2005-8-19 15:16:00
例如类中有私有属性

private var type:Stirng

在ASDT中按Ctrl+Shift+g

可以自动生成

    /**
     *@return type
     */
    public function getType():String {
        return type;
    }

    /**
     *@param type
     */
    public function setType(type:String):Void {
        this.type = type;
    }

标签集:TAGS:
回复Comments() 点击Count()
喜欢就顶一下

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}