@robotlegsjs/createjs
Version:
CreateJS View Integration with RobotlegsJS
53 lines (52 loc) • 1.26 kB
TypeScript
import { IClass, IContext, ITypeMatcher } from "@robotlegsjs/core";
import { IViewHandler } from "../../viewManager/api/IViewHandler";
import { IMediatorMap } from "../api/IMediatorMap";
import { IMediatorMapper } from "../dsl/IMediatorMapper";
import { IMediatorUnmapper } from "../dsl/IMediatorUnmapper";
/**
* @private
*/
export declare class MediatorMap implements IMediatorMap, IViewHandler {
private _mappers;
private _logger;
private _factory;
private _viewHandler;
private _NULL_UNMAPPER;
/**
* @private
*/
constructor(context: IContext);
/**
* @inheritDoc
*/
mapMatcher(matcher: ITypeMatcher): IMediatorMapper;
/**
* @inheritDoc
*/
map(type: IClass<any>): IMediatorMapper;
/**
* @inheritDoc
*/
unmapMatcher(matcher: ITypeMatcher): IMediatorUnmapper;
/**
* @inheritDoc
*/
unmap(type: IClass<any>): IMediatorUnmapper;
/**
* @inheritDoc
*/
handleView(view: createjs.DisplayObject, type: IClass<any>): void;
/**
* @inheritDoc
*/
mediate(item: any): void;
/**
* @inheritDoc
*/
unmediate(item: any): void;
/**
* @inheritDoc
*/
unmediateAll(): void;
private _createMapper;
}