Package hiiragi283.core.api.gui.widget
Interface HTWidgetHolder
-
- All Implemented Interfaces:
-
kotlin.collections.Iterable
public interface HTWidgetHolder implements Iterable<HTWidget>
HTWidgetを保持するインターフェースです。
- Since:
0.8.0
Hiiragi Tsubasa
-
-
Method Summary
Modifier and Type Method Description abstract <WIDGET extends HTWidget> WIDGETaddWidget(WIDGET widget)指定したwidgetを追加します。 <WIDGET extends HTWidget> UnitplusAssign(WIDGET widget)指定したwidgetを追加します。 UnitplusAssign(Pair<HTSyncableSlot, HTSyncType> pair)abstract Unittrack(HTSyncableSlot slot, HTSyncType type)指定したslotを追加します。 abstract IntegergetRows()abstract UnitsetRows(Integer value)-
-
Method Detail
-
plusAssign
<WIDGET extends HTWidget> Unit plusAssign(WIDGET widget)
指定したwidgetを追加します。
-
plusAssign
Unit plusAssign(Pair<HTSyncableSlot, HTSyncType> pair)
-
track
abstract Unit track(HTSyncableSlot slot, HTSyncType type)
指定したslotを追加します。
- Parameters:
type- 同期の方向
-
-
-
-