kd.bos.script.jsengine.debug

## 接口 GuiCallback

-     public interface GuiCallback

  Interface for communication between the debugger and its GUI. This should be implemented by the GUI.

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `dispatchNextGuiEvent()` Processes the next GUI event.
    `void` | `enterInterrupt(DIM.StackFrame lastFrame, java.lang.String threadTitle, java.lang.String alertMessage)` Called when the interrupt loop has been entered.
    `boolean` | `isGuiEventThread()` Returns whether the current thread is the GUI's event thread.
    `void` | `onRegist(DIM.SourceInfo sourceInfo)` Called when the source text of some script has been changed.
    `void` | `onResumed()`

- - ### 方法详细资料

    - #### onRegist

          void onRegist(DIM.SourceInfo sourceInfo)

      Called when the source text of some script has been changed.

    - #### enterInterrupt

          void enterInterrupt(DIM.StackFrame lastFrame,
                              java.lang.String threadTitle,
                              java.lang.String alertMessage)

      Called when the interrupt loop has been entered.

    - #### onResumed

          void onResumed()

    - #### isGuiEventThread

          boolean isGuiEventThread()

      Returns whether the current thread is the GUI's event thread. This information is required to avoid blocking the event thread from the debugger.

    - #### dispatchNextGuiEvent

          void dispatchNextGuiEvent()
                             throws java.lang.InterruptedException

      Processes the next GUI event. This manual pumping of GUI events is necessary when the GUI event thread itself has been stopped.
      抛出:
        `java.lang.InterruptedException`