Interface LayoutElement

All Known Subinterfaces:
Layout
All Known Implementing Classes:
AbstractButton, AbstractLayout, AbstractOptionSliderButton, AbstractScrollWidget, AbstractSliderButton, AbstractStringWidget, AbstractWidget, AccessibilityOnboardingTextWidget, BeaconScreen.BeaconCancelButton, BeaconScreen.BeaconConfirmButton, BeaconScreen.BeaconPowerButton, BeaconScreen.BeaconScreenButton, BeaconScreen.BeaconSpriteScreenButton, BeaconScreen.BeaconUpgradePowerButton, Button, Checkbox, CycleButton, EditBox, ExtendedButton, FittingMultiLineTextWidget, ForgeSlider, FrameLayout, GameModeSwitcherScreen.GameModeSlot, GridLayout, HeaderAndFooterLayout, ImageButton, ImageWidget, LinearLayout, LockIconButton, MerchantScreen.TradeOfferButton, MultiLineEditBox, MultiLineTextWidget, OptionInstance.OptionInstanceSliderButton, OverlayRecipeComponent.OverlayRecipeButton, OverlayRecipeComponent.OverlaySmeltingRecipeButton, PageButton, PlainTextButton, RealmsMainScreen.CloseButton, RealmsMainScreen.CrossButton, RealmsMainScreen.NewsButton, RealmsMainScreen.PendingInvitesButton, RealmsResetWorldScreen.FrameButton, RealmsSlotOptionsScreen.SettingsSlider, RealmsWorldSlotButton, RecipeBookTabButton, RecipeButton, SpacerElement, StateSwitchingButton, StringWidget, TabButton, TelemetryEventWidget, TextAndImageButton, 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_)