Package net.minecraft.client.gui.layouts
Interface LayoutElement
- All Known Subinterfaces:
Layout
- All Known Implementing Classes:
AbstractButton,AbstractContainerWidget,AbstractLayout,AbstractOptionSliderButton,AbstractScrollArea,AbstractSelectionList,AbstractSelectionList.Entry,AbstractSliderButton,AbstractStringWidget,AbstractTextAreaWidget,AbstractWidget,AbstractWidget.WithInactiveMessage,BeaconScreen.BeaconCancelButton,BeaconScreen.BeaconConfirmButton,BeaconScreen.BeaconPowerButton,BeaconScreen.BeaconScreenButton,BeaconScreen.BeaconSpriteScreenButton,BeaconScreen.BeaconUpgradePowerButton,Button,Button.Plain,ChatSelectionScreen.ChatSelectionList,ChatSelectionScreen.ChatSelectionList.DividerEntry,ChatSelectionScreen.ChatSelectionList.Entry,ChatSelectionScreen.ChatSelectionList.MessageEntry,ChatSelectionScreen.ChatSelectionList.MessageHeadingEntry,ChatSelectionScreen.ChatSelectionList.PaddingEntry,Checkbox,ConfigurationScreen.ConfigurationListScreen.ListLabelWidget,ConfirmExperimentalFeaturesScreen.DetailsScreen.PackList,ConfirmExperimentalFeaturesScreen.DetailsScreen.PackListEntry,ContainerObjectSelectionList,ContainerObjectSelectionList.Entry,CreateBuffetWorldScreen.BiomeList,CreateBuffetWorldScreen.BiomeList.Entry,CreateFlatWorldScreen.DetailsList,CreateFlatWorldScreen.DetailsList.Entry,CreateFlatWorldScreen.DetailsList.HeaderEntry,CreateFlatWorldScreen.DetailsList.LayerEntry,CycleButton,DebugOptionsScreen.AbstractOptionEntry,DebugOptionsScreen.CategoryEntry,DebugOptionsScreen.OptionEntry,DebugOptionsScreen.OptionList,EditBox,EditGameRulesScreen.BooleanRuleEntry,EditGameRulesScreen.CategoryRuleEntry,EditGameRulesScreen.GameRuleEntry,EditGameRulesScreen.IntegerRuleEntry,EditGameRulesScreen.RuleEntry,EditGameRulesScreen.RuleList,EqualSpacingLayout,ExtendedButton,ExtendedSlider,FittingMultiLineTextWidget,FocusableTextWidget,FrameLayout,GameModeSwitcherScreen.GameModeSlot,GridLayout,HeaderAndFooterLayout,ImageButton,ImageWidget,ImageWidget.Sprite,ImageWidget.Texture,InputControlHandlers.NumberRangeHandler.SliderImpl,ItemDisplayWidget,KeyBindsList,KeyBindsList.CategoryEntry,KeyBindsList.Entry,KeyBindsList.KeyEntry,LanguageSelectScreen.LanguageSelectionList,LanguageSelectScreen.LanguageSelectionList.Entry,LinearLayout,LoadingDotsWidget,LoadingErrorScreen.LoadingEntryList,LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry,LockIconButton,MerchantScreen.TradeOfferButton,ModListWidget,ModListWidget.ModEntry,ModsButton,MultiLineEditBox,MultiLineTextWidget,ObjectSelectionList,ObjectSelectionList.Entry,OptionInstance.OptionInstanceSliderButton,OptionsList,OptionsList.AbstractEntry,OptionsList.Entry,OptionsList.HeaderEntry,OverlayRecipeComponent.OverlayCraftingRecipeButton,OverlayRecipeComponent.OverlayRecipeButton,OverlayRecipeComponent.OverlaySmeltingRecipeButton,PageButton,PlainTextButton,PlayerEntry,PlayerSkinWidget,PresetFlatWorldScreen.PresetsList,PresetFlatWorldScreen.PresetsList.Entry,RealmsBackupInfoScreen.BackupInfoList,RealmsBackupInfoScreen.BackupInfoListEntry,RealmsBackupScreen.BackupObjectSelectionList,RealmsBackupScreen.Entry,RealmsMainScreen.AvailableSnapshotEntry,RealmsMainScreen.CrossButton,RealmsMainScreen.Entry,RealmsMainScreen.NotificationButton,RealmsMainScreen.NotificationMessageEntry,RealmsMainScreen.ParentEntry,RealmsMainScreen.RealmSelectionList,RealmsMainScreen.ServerEntry,RealmsPendingInvitesScreen.Entry,RealmsPendingInvitesScreen.PendingInvitationSelectionList,RealmsPlayersTab.Entry,RealmsPlayersTab.HeaderEntry,RealmsPlayersTab.InvitedObjectSelectionList,RealmsPlayersTab.PlayerEntry,RealmsPreferredRegionSelectionScreen.RegionSelectionList,RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry,RealmsResetWorldScreen.FrameButton,RealmsSelectWorldTemplateScreen.Entry,RealmsSelectWorldTemplateScreen.WorldTemplateList,RealmsSlotOptionsScreen.SettingsSlider,RealmsWorldSlotButton,RecipeBookTabButton,RecipeButton,ReportReasonSelectionScreen.ReasonSelectionList,ReportReasonSelectionScreen.ReasonSelectionList.Entry,ScrollableLayout,ScrollableLayout.Container,ServerSelectionList,ServerSelectionList.Entry,ServerSelectionList.LANHeader,ServerSelectionList.NetworkServerEntry,ServerSelectionList.OnlineServerEntry,SocialInteractionsPlayerList,SpacerElement,SpriteIconButton,SpriteIconButton.CenteredIcon,SpriteIconButton.TextAndIcon,StatsScreen.GeneralStatisticsList,StatsScreen.GeneralStatisticsList.Entry,StatsScreen.ItemStatisticsList,StatsScreen.ItemStatisticsList.Entry,StatsScreen.ItemStatisticsList.HeaderEntry,StatsScreen.ItemStatisticsList.HeaderEntry.StatSortButton,StatsScreen.ItemStatisticsList.ItemRow,StatsScreen.ItemStatisticsList.ItemRow.ItemRowWidget,StatsScreen.MobsStatisticsList,StatsScreen.MobsStatisticsList.MobRow,StringWidget,TabButton,TelemetryEventWidget,TransferableSelectionList,TransferableSelectionList.Entry,TransferableSelectionList.HeaderEntry,TransferableSelectionList.PackEntry,UnicodeGlyphButton,WorldSelectionList,WorldSelectionList.Entry,WorldSelectionList.LoadingHeader,WorldSelectionList.NoWorldsEntry,WorldSelectionList.WorldListEntry
public interface LayoutElement
-
Method Summary
Modifier and TypeMethodDescriptionintdefault ScreenRectangleintgetWidth()intgetX()intgetY()default voidsetPosition(int pX, int pY) voidsetX(int pX) voidsetY(int pY) voidvisitWidgets(Consumer<AbstractWidget> pConsumer)
-
Method Details
-
setX
void setX(int pX) -
setY
void setY(int pY) -
getX
int getX() -
getY
int getY() -
getWidth
int getWidth() -
getHeight
int getHeight() -
getRectangle
-
setPosition
default void setPosition(int pX, int pY) -
visitWidgets
-