Interface UiAbstractWindow

All Superinterfaces:
AttributeReadAttached, AttributeReadEnabled, AttributeReadId, AttributeReadTitle, AttributeReadValid, AttributeReadVisible, AttributeWriteEnabled, AttributeWriteId, AttributeWriteReadOnly, AttributeWriteResizable, AttributeWriteTitle, AttributeWriteTooltip, AttributeWriteVisible, io.github.mmm.event.EventSource<UiEvent,UiEventListener>, UiComposite<UiRegularWidget>, UiMutableComposite<UiRegularWidget>, UiRemovableComposite<UiRegularWidget>, UiWidget
All Known Subinterfaces:
UiChildWindow, UiMainWindow, UiPopup, UiWindow

UiMutableComposite that represents a window.
Since:
1.0.0
  • Method Details

    • getParent

      UiAbstractWindow getParent()
      Specified by:
      getParent in interface UiWidget
    • findChild

      default UiAbstractWindow findChild(UiChildWindow window)
      Parameters:
      window - is the potential descendant of this window. May be null.
      Returns:
      the ancestor of the given UiChildWindow that has this window as parent. Will be null if no such window was found (the given UiChildWindow is null or not a descendant of this window).
    • getPosition

      AttributeReadPosition getPosition()
      Returns:
      access to read and write the position of this window.
    • getSize

      Returns:
      access to read and write the size of this window.
    • open

      default void open()
      Opens this window by setting visible to true.
    • close

      default void close()
      Opens this window by setting visible to false.