Interface SingleChildWidget
- All Superinterfaces:
Widget
- All Known Subinterfaces:
PositionedWidget
,SizedWidget
- All Known Implementing Classes:
AspectRatioWidget
,BorderWidget
,ButtonWidget
,IdWidget
,KeyedWidget
,LayerWidget
,PositionedWidget.Absolute
,PositionedWidget.Aligned
,PositionedWidget.Relative
,SizedWidget.Absolute
,SizedWidget.AbsoluteHeight
,SizedWidget.AbsoluteWidth
,SizedWidget.Expand
,SizedWidget.Tight
,SizedWidget.TightHeight
,SizedWidget.TightWidth
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
static class
-
Field Summary
Fields inherited from interface dev.pfaff.altargui.Widget
EMPTY_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionchild()
default @NotNull WidgetInstance
<? extends SingleChildWidget> Instantiates an instance of the widget.Methods inherited from interface dev.pfaff.altargui.Widget
atAbsolutePosition, atAlignment, atCenter, atRelativePosition, expand, expandHeight, expandWidth, tightenHeight, tightenSize, tightenWidth, withAbsoluteHeight, withAbsoluteSize, withAbsoluteWidth, withAspectRatio, withBackground, withBackgroundColor, withBackgroundTexture, withBorder, withHorizontalMargin, withHorizontalMargin, withId, withKey, withMargin, withMargin, withMarginBottom, withMarginEnd, withMarginStart, withMarginTop, withSymmetricMargin, withTooltip, withVerticalMargin, withVerticalMargin, wrap
-
Method Details
-
child
Widget child() -
instantiate
@NotNull default @NotNull WidgetInstance<? extends SingleChildWidget> instantiate(WidgetInstantiationArgs args) Description copied from interface:Widget
Instantiates an instance of the widget.- Specified by:
instantiate
in interfaceWidget
-