Module io.github.mmm.ui.api.window
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
public interface UiAbstractWindow extends UiMutableComposite<UiRegularWidget>, AttributeWriteTitle, AttributeWriteResizable
UiMutableCompositethat represents a window.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidclose()Opens this window by settingvisibletofalse.default UiAbstractWindowfindChild(UiChildWindow window)UiAbstractWindowgetParent()AttributeReadPositiongetPosition()AttributeReadSizegetSize()default voidopen()Opens this window by settingvisibletotrue.-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadAttached
isAttached
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadId
getId
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadTitle
getTitle
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteId
setId
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteResizable
isResizable, setResizable
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteTitle
setTitle
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteTooltip
getTooltip, setTooltip
-
Methods inherited from interface io.github.mmm.event.EventSource
addListener, addListener, addWeakListener, removeListener
-
Methods inherited from interface io.github.mmm.ui.api.widget.composite.UiComposite
getChild, getChild, getChildById, getChildCount, getChildIndex, getChildSibling, getChildSibling, getDescendant, getModificationTimestamp, getPropagation, isModified, isValid, reset, setFocused
-
Methods inherited from interface io.github.mmm.ui.api.widget.composite.UiMutableComposite
addChild, addChild
-
Methods inherited from interface io.github.mmm.ui.api.widget.composite.UiRemovableComposite
removeChild, removeChild
-
Methods inherited from interface io.github.mmm.ui.api.widget.UiWidget
cast, dispose, getReadOnlyFixed, getStyles, isDisposed, isEnabled, isEnabled, isFocused, isReadOnly, isVisible, isVisible, setEnabled, setEnabled, setReadOnly, setReadOnlyFixed, setVisible, setVisible, validate, validate, validate, validateDown, validateUp
-
-
-
-
Method Detail
-
getParent
UiAbstractWindow getParent()
-
findChild
default UiAbstractWindow findChild(UiChildWindow window)
- Parameters:
window- is the potential descendant of this window. May benull.- Returns:
- the ancestor of the given
UiChildWindowthat has this window as parent. Will benullif no such window was found (the givenUiChildWindowisnullor not a descendant of this window).
-
getPosition
AttributeReadPosition getPosition()
- Returns:
- access to read and write the position of this window.
-
getSize
AttributeReadSize getSize()
- Returns:
- access to read and write the size of this window.
-
open
default void open()
Opens this window by settingvisibletotrue.
-
close
default void close()
Opens this window by settingvisibletofalse.
-
-