Interface LayoutElement

All Known Subinterfaces:
Layout
All Known Implementing Classes:
AbstractButton, AbstractContainerWidget, AbstractLayout, AbstractOptionSliderButton, AbstractScrollWidget, AbstractSelectionList, AbstractSliderButton, AbstractStringWidget, AbstractTestScreen.GroupableList, AbstractWidget, BeaconScreen.BeaconCancelButton, BeaconScreen.BeaconConfirmButton, BeaconScreen.BeaconPowerButton, BeaconScreen.BeaconScreenButton, BeaconScreen.BeaconSpriteScreenButton, BeaconScreen.BeaconUpgradePowerButton, Button, ChatSelectionScreen.ChatSelectionList, Checkbox, ConfirmExperimentalFeaturesScreen.DetailsScreen.PackList, ContainerObjectSelectionList, CreateBuffetWorldScreen.BiomeList, CreateFlatWorldScreen.DetailsList, CycleButton, EditBox, EditGameRulesScreen.RuleList, EqualSpacingLayout, ExtendedButton, ExtendedSlider, FittingMultiLineTextWidget, FocusableTextWidget, FrameLayout, GameModeSwitcherScreen.GameModeSlot, GridLayout, HeaderAndFooterLayout, ImageButton, ImageWidget, ImageWidget.Sprite, ImageWidget.Texture, KeyBindsList, LanguageSelectScreen.LanguageSelectionList, LinearLayout, LoadingDotsWidget, LoadingErrorScreen.LoadingEntryList, LockIconButton, MerchantScreen.TradeOfferButton, ModListWidget, ModsButton, MultiLineEditBox, MultiLineTextWidget, ObjectSelectionList, OptionInstance.OptionInstanceSliderButton, OptionsList, OverlayRecipeComponent.OverlayRecipeButton, OverlayRecipeComponent.OverlaySmeltingRecipeButton, PageButton, PlainTextButton, PlayerSkinWidget, PresetFlatWorldScreen.PresetsList, RealmsBackupInfoScreen.BackupInfoList, RealmsBackupScreen.BackupObjectSelectionList, RealmsMainScreen.CrossButton, RealmsMainScreen.NotificationButton, RealmsMainScreen.RealmSelectionList, RealmsObjectSelectionList, RealmsPendingInvitesScreen.PendingInvitationSelectionList, RealmsPlayerScreen.InvitedObjectSelectionList, RealmsResetWorldScreen.FrameButton, RealmsSelectFileToUploadScreen.WorldSelectionList, RealmsSelectWorldTemplateScreen.WorldTemplateList, RealmsSlotOptionsScreen.SettingsSlider, RealmsWorldSlotButton, RecipeBookTabButton, RecipeButton, ReportReasonSelectionScreen.ReasonSelectionList, ServerLinksScreen.LinkList, ServerSelectionList, SocialInteractionsPlayerList, SpacerElement, SpriteIconButton, SpriteIconButton.CenteredIcon, SpriteIconButton.TextAndIcon, StateSwitchingButton, StatsScreen.GeneralStatisticsList, StatsScreen.ItemStatisticsList, StatsScreen.MobsStatisticsList, StringWidget, TabButton, TelemetryEventWidget, TransferableSelectionList, UnicodeGlyphButton, WorldSelectionList

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_)