wdpapi
Version:
51WORLD WdpApi is a set of programming interfaces developed by JavaScript that is responsible for negotiating between web pages and cloud rendering platforms. Supported by 51Cloud rendering platform, it enables the users to create any HTML5 UI element on
108 lines (107 loc) • 3.02 kB
TypeScript
import { ObjectAbstract } from '../../common/object-abstract';
import { ResultType } from '../../common/data-type';
import { EarthTilesType, EarthTilesEntityAtomType, IGenerate } from '../../common/interface/earth-tiles';
import { ObjectController } from '../../common/object-controller';
/**
* @public
* @class EarthTiles
* @extends ObjectController
* @implements ObjectAbstract
*/
declare class EarthTiles extends ObjectController implements ObjectAbstract {
className: string;
private apiClassName;
private TilesValidate;
private EarthTilesEntityAtom;
private AesTilesVisualAtom;
/**
* @constructor
* @param {EarthTilesType} opt (optional)
*/
constructor(opt?: EarthTilesType);
/**
* @public
* @function GetScheme
* @returns {{EarthTilesEntityAtom: EarthTilesEntityAtomType}}
*/
GetScheme(): {
EarthTilesEntityAtom: EarthTilesEntityAtomType;
};
/**
* @public
* @function GetData
* @returns {EarthTilesType}
*/
GetData(): EarthTilesType;
/**
* @public
* @function SetData
* @param {EarthTilesType} opt
* @returns {void}
*/
SetData(opt: EarthTilesType): void;
/**
* @public
* @function generateAtomData
* @param {EarthTilesType} opt
* @returns {IGenerate}
*/
generateAtomData(opt: EarthTilesType): IGenerate;
/**
* @public
* @async
* @function SetNodesOutline
* @param {{nodeIds?: Array<string>, bOutline?: boolean, styleName?: string}} opt
* @returns {Promise<ResultType>}
*/
SetNodesOutline(opt: {
nodeIds?: Array<string>;
bOutline?: boolean;
styleName?: string;
}): Promise<ResultType>;
/**
* @public
* @async
* @function SetNodesHighlight
* @param {{nodeIds?: Array<string>, bHighlight?: boolean, styleName?: string}} opt
* @returns {Promise<ResultType>}
*/
SetNodesHighlight(opt: {
nodeIds?: Array<string>;
bHighlight?: boolean;
styleName?: string;
}): Promise<ResultType>;
/**
* @public
* @async
* @function SetNodesVisibility
* @param {{nodeIds?: Array<string>, bVisible?: boolean}} opt
* @returns {Promise<ResultType>}
*/
SetNodesVisibility(opt: {
nodeIds?: Array<string>;
bVisible?: boolean;
}): Promise<ResultType>;
/**
* @public
* @function generateObjectData
* @param {Record<string, any>} atomData
* @param {Record<string, any>} atomObj (default value is this)
* @returns {void}
*/
generateObjectData(atomData: Record<string, any>, atomObj?: Record<string, any>): void;
/**
* @public
* @function GetValidateRules
* @returns {EarthTilesType}
*/
GetValidateRules(): EarthTilesType;
/**
* @public
* @function Validate
* @param {EarthTilesType} opt
* @returns {void}
*/
Validate(opt: EarthTilesType): void;
}
export default EarthTiles;