Package hiiragi283.core.api.gui.element
Class ModernUIExtensionsKt
-
- All Implemented Interfaces:
public final class ModernUIExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static UIElementalineCenter(UIElement $self)このUIを中央揃えにします。 final static UIElementaddChildren(UIElement $self, Iterable<UIElement> children)このUIにchildrenを追加します。 final static UIElementaddChildren(UIElement $self, Sequence<UIElement> children)このUIにchildrenを追加します。 final static UIElementaddCenterLabel(UIElement $self, Component text, Function1<Label, Unit> builderAction)このUIに中央揃えのタイトルを追加します。 final static UIElementaddInventory(UIElement $self, Function1<InventorySlots, Unit> builderAction)このUIにインベントリを追加します。 final static UIElementaddRowChild(UIElement $self, Function1<UIElement, Unit> builderAction)このUIに列を追加します。 -
-
Method Detail
-
alineCenter
final static UIElement alineCenter(UIElement $self)
このUIを中央揃えにします。
- Since:
0.7.0
-
addChildren
final static UIElement addChildren(UIElement $self, Iterable<UIElement> children)
このUIにchildrenを追加します。
- Since:
0.7.0
-
addChildren
final static UIElement addChildren(UIElement $self, Sequence<UIElement> children)
このUIにchildrenを追加します。
- Since:
0.7.0
-
addCenterLabel
final static UIElement addCenterLabel(UIElement $self, Component text, Function1<Label, Unit> builderAction)
このUIに中央揃えのタイトルを追加します。
- Since:
0.7.0
-
addInventory
final static UIElement addInventory(UIElement $self, Function1<InventorySlots, Unit> builderAction)
このUIにインベントリを追加します。
- Since:
0.7.0
-
addRowChild
final static UIElement addRowChild(UIElement $self, Function1<UIElement, Unit> builderAction)
このUIに列を追加します。
- Since:
0.7.0
-
-
-
-