Interface AttributesWidget
- All Superinterfaces:
SingleChildWidget
,Widget
- All Known Implementing Classes:
MultiChildAttributesWidget
A marker interface for a widget whose sole purpose is to wrap another widget with some attributes that may be used
by another widget in the tree. Currently, it is intended for access only by immediate parents, although there is no
technical limitation to other uses.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.pfaff.altargui.widgets.SingleChildWidget
SingleChildWidget.AutoLayoutState<W extends SingleChildWidget>, SingleChildWidget.CustomLayoutState<W extends SingleChildWidget>
-
Field Summary
Fields inherited from interface dev.pfaff.altargui.Widget
EMPTY_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionInstantiates an instance of the widget.Methods inherited from interface dev.pfaff.altargui.widgets.SingleChildWidget
child
Methods inherited from interface dev.pfaff.altargui.Widget
atAbsolutePosition, atAlignment, atCenter, atRelativePosition, expand, expandHeight, expandWidth, withAbsoluteHeight, withAbsoluteSize, withAbsoluteWidth, withAspectRatio, withAspectRatio, withAspectRatio, withBackground, withBackgroundColor, withBackgroundTexture, withBorder, withHorizontalMargin, withHorizontalMargin, withId, withKey, withMargin, withMargin, withMarginBottom, withMarginEnd, withMarginStart, withMarginTop, withMultiChildAttributes, withSymmetricMargin, withTooltip, withVerticalMargin, withVerticalMargin, wrap
-
Method Details
-
instantiate
@NotNull SingleChildWidget.AutoLayoutState<? extends AttributesWidget> instantiate(WidgetInstantiationArgs args) Description copied from interface:Widget
Instantiates an instance of the widget.- Specified by:
instantiate
in interfaceSingleChildWidget
- Specified by:
instantiate
in interfaceWidget
-