页面对象选中回调函数

{
onPageObjectSelectionKeyDown: (clientData: LPVOIDType, doc: DocType, curSelectData: LPVOIDType, keyinfoData: string) => {
console.log('onPageObjectSelectionKeyDown', clientData, doc, curSelectData, keyinfoData);
}
}
interface PageObjectSelectionCallbacksType {
    onEditToolLButtonDown?: (clientData: LPVOIDType) => void;
    onPageObjectLButtonDblClk?: (clientData: LPVOIDType) => void;
    onPageObjectSelectionChanged?: (clientData: LPVOIDType) => void;
    onPageObjectSelectionKeyDown?: (
        clientData: LPVOIDType,
        doc: DocType,
        curSelectData: LPVOIDType,
        keyinfoData: string,
    ) => boolean;
    onPageObjectSelectionKeyUp?: (
        clientData: LPVOIDType,
        doc: DocType,
        curSelectData: LPVOIDType,
        keyinfoData: string,
    ) => boolean;
}

Properties

onEditToolLButtonDown?: (clientData: LPVOIDType) => void

编辑工具左键按下事件回调

Type declaration

    • (clientData: LPVOIDType): void
    • Parameters

      • clientData: LPVOIDType

        传递给回调函数的客户端数据。

      Returns void

onPageObjectLButtonDblClk?: (clientData: LPVOIDType) => void

页面对象左键双击事件回调

Type declaration

    • (clientData: LPVOIDType): void
    • Parameters

      • clientData: LPVOIDType

        传递给回调函数的客户端数据。

      Returns void

onPageObjectSelectionChanged?: (clientData: LPVOIDType) => void

页面对象选择变更事件回调

Type declaration

    • (clientData: LPVOIDType): void
    • Parameters

      • clientData: LPVOIDType

        传递给回调函数的客户端数据。

      Returns void

onPageObjectSelectionKeyDown?: (
    clientData: LPVOIDType,
    doc: DocType,
    curSelectData: LPVOIDType,
    keyinfoData: string,
) => boolean

页面对象选择键盘按下事件回调

Type declaration

    • (
          clientData: LPVOIDType,
          doc: DocType,
          curSelectData: LPVOIDType,
          keyinfoData: string,
      ): boolean
    • Parameters

      • clientData: LPVOIDType

        传递给回调函数的客户端数据。

      • doc: DocType

        文档对象。

      • curSelectData: LPVOIDType

        当前选中数据。

      • keyinfoData: string

        键盘按键信息数据。

      Returns boolean

      • 如果事件已被处理则返回 true,否则返回 false。
onPageObjectSelectionKeyUp?: (
    clientData: LPVOIDType,
    doc: DocType,
    curSelectData: LPVOIDType,
    keyinfoData: string,
) => boolean

页面对象选择键盘按键抬起事件回调

Type declaration

    • (
          clientData: LPVOIDType,
          doc: DocType,
          curSelectData: LPVOIDType,
          keyinfoData: string,
      ): boolean
    • Parameters

      • clientData: LPVOIDType

        传递给回调函数的客户端数据。

      • doc: DocType

        文档对象。

      • curSelectData: LPVOIDType

        当前选中数据。

      • keyinfoData: string

        按键信息数据。

      Returns boolean

      • 如果事件已被处理则返回 true,否则返回 false。