Interface LayoutElement

All Known Subinterfaces:
Layout
All Known Implementing Classes:
AbstractButton, AbstractLayout, AbstractOptionSliderButton, AbstractScrollWidget, AbstractSliderButton, AbstractStringWidget, AbstractWidget, BeaconScreen.BeaconCancelButton, BeaconScreen.BeaconConfirmButton, BeaconScreen.BeaconPowerButton, BeaconScreen.BeaconScreenButton, BeaconScreen.BeaconSpriteScreenButton, BeaconScreen.BeaconUpgradePowerButton, Button, Checkbox, CycleButton, EditBox, EqualSpacingLayout, ExtendedButton, ExtendedSlider, FittingMultiLineTextWidget, FocusableTextWidget, FrameLayout, GameModeSwitcherScreen.GameModeSlot, GridLayout, HeaderAndFooterLayout, ImageButton, ImageWidget, ImageWidget.Sprite, ImageWidget.Texture, LinearLayout, LoadingDotsWidget, LockIconButton, MerchantScreen.TradeOfferButton, MultiLineEditBox, MultiLineTextWidget, OptionInstance.OptionInstanceSliderButton, OverlayRecipeComponent.OverlayRecipeButton, OverlayRecipeComponent.OverlaySmeltingRecipeButton, PageButton, PlainTextButton, PlayerSkinWidget, RealmsMainScreen.CrossButton, RealmsMainScreen.NotificationButton, RealmsResetWorldScreen.FrameButton, RealmsSlotOptionsScreen.SettingsSlider, RealmsWorldSlotButton, RecipeBookTabButton, RecipeButton, SpacerElement, SpriteIconButton, SpriteIconButton.CenteredIcon, SpriteIconButton.TextAndIcon, StateSwitchingButton, StringWidget, TabButton, TelemetryEventWidget, UnicodeGlyphButton

public interface LayoutElement
  • Method Details

    • setX

      void setX(int p_265236_)
    • setY

      void setY(int p_265404_)
    • getX

      int getX()
    • getY

      int getY()
    • getWidth

      int getWidth()
    • getHeight

      int getHeight()
    • getRectangle

      default ScreenRectangle getRectangle()
    • setPosition

      default void setPosition(int p_265617_, int p_265577_)
    • visitWidgets

      void visitWidgets(Consumer<AbstractWidget> p_265082_)