Interface SingleChildWidget
- All Superinterfaces:
Widget
- All Known Subinterfaces:
AttributesWidget
,PositionedWidget
,PositionedWidget.Offset
,SizedWidget
- All Known Implementing Classes:
AspectRatioWidget
,BorderWidget
,ButtonWidget
,ClipWidget
,CustomTransformBuilder
,IdWidget
,KeyedWidget
,LayerWidget
,MultiChildAttributesWidget
,PaddedWidget
,PositionedWidget.Absolute
,PositionedWidget.Aligned
,PositionedWidget.Relative
,ScrollWidget
,SizedWidget.Absolute
,SizedWidget.AbsoluteHeight
,SizedWidget.AbsoluteWidth
,SizedWidget.Expand
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
static final class
-
Field Summary
Fields inherited from interface dev.pfaff.altargui.Widget
EMPTY_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionchild()
default @NotNull SingleChildWidget.AbstractState
<? extends SingleChildWidget> Instantiates an instance of the widget.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
-
child
Widget child() -
instantiate
@NotNull default @NotNull SingleChildWidget.AbstractState<? extends SingleChildWidget> instantiate(WidgetInstantiationArgs args) Description copied from interface:Widget
Instantiates an instance of the widget.- Specified by:
instantiate
in interfaceWidget
-