Interface UiContainer

All Known Subinterfaces:
AlertHandle, CreateUserDialogHandle, DialogHandle, LanguageSelectionDialogHandle, PasswordDialogHandle, RunningProcessesDialogHandle, ScreenHandle

public interface UiContainer
Shared base for ScreenHandle and the DialogHandle family. Exposes the widget-tree dump and screenshot diagnostics that work uniformly in both in-process and subprocess mode.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns this container's component tree as a string, for debugging.
    void
    Save this container's underlying window as a PNG file.
  • Method Details

    • dumpAsString

      @NotNull String dumpAsString()
      Returns this container's component tree as a string, for debugging.
    • saveScreenshot

      void saveScreenshot(@NotNull File file)
      Save this container's underlying window as a PNG file. Captures the full window. Parent directories of the file are created on demand. Existing files are overwritten.