/// import { Controller } from './controller/Controller'; import { PageOption } from './controller/PageOption'; import { GObject } from './GObject'; import { IColorableTitle } from './interface/IColorableTitle'; import { XmlNode } from './utils/XMLParser'; import { GComponent } from './GComponent'; import { ButtonMode } from './config/Definitions'; export declare class GButton extends GComponent implements IColorableTitle { protected $titleObject: GObject; protected $iconObject: GObject; protected $relatedController: Controller; private $mode; private $selected; private $title; private $selectedTitle; private $icon; private $selectedIcon; private $pageOption; private $buttonController; private $changeStateOnClick; private $linkedPopup; private $downEffect; private $downEffectValue; private $sound; private $soundVolumeScale; private $down; private $over; static UP: string; static DOWN: string; static OVER: string; static SELECTED_OVER: string; static DISABLED: string; static SELECTED_DISABLED: string; constructor(); protected setDisplayObject(value: createjs.DisplayObject): void; get icon(): string; set icon(value: string); get selectedIcon(): string; set selectedIcon(value: string); get title(): string; set title(value: string); get text(): string; set text(value: string); get selectedTitle(): string; set selectedTitle(value: string); get titleColor(): string; set titleColor(value: string); get fontSize(): number; set fontSize(value: number); get sound(): string; set sound(val: string); get soundVolumeScale(): number; set soundVolumeScale(value: number); set selected(val: boolean); get selected(): boolean; get mode(): ButtonMode; set mode(value: ButtonMode); get relatedController(): Controller; set relatedController(val: Controller); get pageOption(): PageOption; get changeStateOnClick(): boolean; set changeStateOnClick(value: boolean); get linkedPopup(): GObject; set linkedPopup(value: GObject); addStateListener(listener: Function, thisObj?: any): void; removeStateListener(listener: Function): void; fireClick(downEffect?: boolean): void; protected setState(val: string): void; handleControllerChanged(c: Controller): void; protected handleGrayedChanged(): void; protected constructFromXML(xml: XmlNode): void; setupAfterAdd(xml: XmlNode): void; private $rollover; private $rollout; private $mousedown; private $mouseup; private $click; dispose(): void; }