import {Cursor} from "../drawing/Cursor"; export interface IDisposable { dispose(); } export interface IServiceProvider { addService(type: any, service: any); getService(type: any): any; } export interface ISupportInitialize { initialize(item:any): void; } export interface IAdonerWindowControl { doDragDrop(data:any):void; setAppropriateCursor(cursor:Cursor):void; addEventListener(name:string, callback:Function):void; removeEventListener(name:string, callback:Function):void; getLayer(name: string): any; doKeyMove(evt:any,pt:any); } export interface IComponent { [key: string] : any; } export interface IContainer { /** * 返回容器中所有的子组件. */ getComponents(): IComponent[]; }