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
105 lines (104 loc) • 3.02 kB
TypeScript
import { Basic } from '../common/basic';
import { ResultType } from '../common/data-type';
/**
 * @public
 * @class NodeController
 * @extends Basic
 */
declare class NodeController extends Basic {
    private apiClassName;
    private NodeValidate;
    /**
     * @constructor
     * @param {any} obj
     */
    constructor(obj: any);
    /**
     * @public
     * @async
     * @function SetNodesOutline
     * @param {{tiles?: any, nodeIds?: Array<string>, bOutline?: boolean, styleName?: string}} opt
     * @returns {Promise<ResultType>}
     */
    SetNodesOutline(opt: {
        entity?: any;
        nodeIds?: Array<string>;
        bOutline?: boolean;
        styleName?: string;
    }, type?: string): Promise<ResultType>;
    /**
     * @public
     * @async
     * @function SetNodesHighlight
     * @param {{tiles?: any, nodeIds?: Array<string>, bHighlight?: boolean, styleName?: string}} opt
     * @returns {Promise<ResultType>}
     */
    SetNodesHighlight(opt: {
        entity?: any;
        nodeIds?: Array<string>;
        bHighlight?: boolean;
        styleName?: string;
    }, type?: string): Promise<ResultType>;
    /**
     * @public
     * @async
     * @function RemoveVisibilityGroup
     * @param {{groupNames?: Array<string>, tiles?: any}} opt
     * @returns {Promise<ResultType>}
     */
    RemoveVisibilityGroup(opt: {
        groupNames?: Array<string>;
        entity?: any;
    }, type?: string): Promise<ResultType>;
    /**
     * @public
     * @async
     * @function UpdateVisibilityGroup
     * @param {{newGroupName?: string, groupName?: string, addNodes?: Array<string>, removeNodes?: Array<string>, bVisible?: boolean, tiles?: any }} opt
     * @returns {Promise<ResultType>}
     */
    UpdateVisibilityGroup(opt: {
        newGroupName?: string;
        groupName?: string;
        addNodes?: Array<string>;
        removeNodes?: Array<string>;
        bVisible?: boolean;
        entity?: any;
    }, type?: string): Promise<ResultType>;
    /**
     * @public
     * @async
     * @function GetVisibilityGroup
     * @param {any} tiles
     * @returns {Promise<ResultType>}
     */
    GetVisibilityGroup(opt: {
        entity?: any;
    }, type?: string): Promise<ResultType>;
    /**
     * @public
     * @async
     * @function AddVisibilityGroup
     * @param {{groupName?: string, nodeIds?: Array<string>, bVisible?: boolean, tiles: any}} opt
     * @returns {Promise<ResultType>}
     */
    AddVisibilityGroup(opt: {
        groupName?: string;
        nodeIds?: Array<string>;
        bVisible?: boolean;
        entity?: any;
    }, type?: string): Promise<ResultType>;
    /**
     * @public
     * @async
     * @function SetNodesVisibility
     * @param {{nodeIds?: Array<string>, bVisible?: boolean, tiles: any}} opt
     * @returns {Promise<ResultType>}
     */
    SetNodesVisibility(opt: {
        nodeIds?: Array<string>;
        bVisible?: boolean;
        entity?: any;
    }, type?: string): Promise<ResultType>;
}
export default NodeController;