Klasse UEditBox
java.lang.Object
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.EditBox
info.u_team.u_team_core.gui.elements.UEditBox
- Alle implementierten Schnittstellen:
BackgroundColorProvider,PerspectiveRenderable,TextSettingsProvider,net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.components.Renderable,net.minecraft.client.gui.components.TabOrderedElement,net.minecraft.client.gui.layouts.LayoutElement,net.minecraft.client.gui.narration.NarratableEntry,net.minecraft.client.gui.narration.NarrationSupplier
- Bekannte direkte Unterklassen:
ScalableEditBox
public class UEditBox
extends net.minecraft.client.gui.components.EditBox
implements PerspectiveRenderable, BackgroundColorProvider, TextSettingsProvider
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen net.minecraft.client.gui.narration.NarratableEntry
net.minecraft.client.gui.narration.NarratableEntry.NarrationPriorityVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen info.u_team.u_team_core.api.gui.TextSettingsProvider
TextSettingsProvider.TextRenderType -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected RGBAprotected RGBAprotected static final RGBAprotected RGBAprotected static final RGBAprotected static final RGBAprotected RGBAprotected static final RGBAprotected RGBAprotected static final RGBAprotected static final RGBAprotected RGBAprotected RGBAprotected RGBAprotected static final RGBAVon Klasse geerbte Felder net.minecraft.client.gui.components.EditBox
BACKWARDS, bordered, canLoseFocus, cursorPos, DEFAULT_TEXT_COLOR, displayPos, focusedTime, font, formatter, FORWARDS, highlightPos, hint, isEditable, maxLength, SPRITES, suggestion, valueVon Klasse geerbte Felder net.minecraft.client.gui.components.AbstractWidget
active, alpha, height, isHovered, visible, width, x, yVon Schnittstelle geerbte Felder net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetCurrentBackgroundColor(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) getCurrentBackgroundFrameColor(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) getCurrentCursorColor(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) getCurrentHintTextColor(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) getCurrentSuggestionTextColor(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) getCurrentTextColor(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) voidrenderBefore(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) voidrenderBehind(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) voidrenderWidget(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) voidsetBackgroundColor(RGBA backgroundColor) voidsetBackgroundFrameColor(RGBA backgroundFrameColor) voidsetCursorColor(RGBA cursorColor) voidsetDisabledTextColor(RGBA disabledTextColor) voidsetHintTextColor(RGBA hintTextColor) voidsetPreviousText(UEditBox textField) voidsetSuggestionTextColor(RGBA suggestionTextColor) voidsetTextColor(int color) voidsetTextColor(RGBA textColor) voidsetTextColorUneditable(int color) voidsetUnfocusedBackgroundFrameColor(RGBA unfocusedBackgroundFrameColor) Von Klasse geerbte Methoden net.minecraft.client.gui.components.EditBox
canConsumeInput, charTyped, createNarrationMessage, deleteChars, deleteCharsToPos, deleteWords, getCursorPosition, getHighlighted, getInnerWidth, getScreenX, getValue, getWordPosition, insertText, isBordered, isVisible, keyPressed, moveCursor, moveCursorTo, moveCursorToEnd, moveCursorToStart, onClick, playDownSound, renderHighlight, setBordered, setCanLoseFocus, setCursorPosition, setEditable, setFilter, setFocused, setFormatter, setHighlightPos, setHint, setMaxLength, setResponder, setSuggestion, setValue, setVisible, updateWidgetNarrationVon Klasse geerbte Methoden net.minecraft.client.gui.components.AbstractWidget
clicked, defaultButtonNarrationText, getBottom, getHeight, getMessage, getRectangle, getRight, getTabOrderGroup, getTooltip, getWidth, getX, getY, isActive, isFocused, isHovered, isHoveredOrFocused, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrationPriority, nextFocusPath, onDrag, onRelease, render, renderScrollingString, renderScrollingString, renderScrollingString, setAlpha, setHeight, setMessage, setRectangle, setSize, setTabOrderGroup, setTooltip, setTooltipDelay, setWidth, setX, setY, updateNarration, visitWidgets, wrapDefaultNarrationMessageVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden net.minecraft.client.gui.components.events.GuiEventListener
getCurrentFocusPath, keyReleased, mouseMoved, mouseScrolledVon Schnittstelle geerbte Methoden net.minecraft.client.gui.layouts.LayoutElement
setPositionVon Schnittstelle geerbte Methoden info.u_team.u_team_core.api.gui.PerspectiveRenderable
renderVon Schnittstelle geerbte Methoden info.u_team.u_team_core.api.gui.TextSettingsProvider
getCurrentTextFont, getCurrentTextRenderType
-
Felddetails
-
BLACK
-
WHITE
-
LIGHT_GRAY
-
LIGHTER_GRAY
-
GRAY
-
DARKER_GRAY
-
DARK_GRAY
-
backgroundFrameColor
-
unfocusedBackgroundFrameColor
-
backgroundColor
-
textColor
-
disabledTextColor
-
hintTextColor
-
suggestionTextColor
-
cursorColor
-
-
Konstruktordetails
-
UEditBox
public UEditBox(net.minecraft.client.gui.Font font, int x, int y, int width, int height, UEditBox previousEditBox, net.minecraft.network.chat.Component title)
-
-
Methodendetails
-
getBackgroundFrameColor
-
setBackgroundFrameColor
-
getUnfocusedBackgroundFrameColor
-
setUnfocusedBackgroundFrameColor
-
getBackgroundColor
-
setBackgroundColor
-
getTextColor
-
setTextColor
-
getDisabledTextColor
-
setDisabledTextColor
-
getHintTextColor
-
setHintTextColor
-
getSuggestionTextColor
-
setSuggestionTextColor
-
getCursorColor
-
setCursorColor
-
setTextColor
public void setTextColor(int color) - Setzt außer Kraft:
setTextColorin Klassenet.minecraft.client.gui.components.EditBox
-
setTextColorUneditable
public void setTextColorUneditable(int color) - Setzt außer Kraft:
setTextColorUneditablein Klassenet.minecraft.client.gui.components.EditBox
-
setPreviousText
-
renderWidget
public void renderWidget(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) - Setzt außer Kraft:
renderWidgetin Klassenet.minecraft.client.gui.components.EditBox
-
renderBehind
public void renderBehind(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) - Angegeben von:
renderBehindin SchnittstellePerspectiveRenderable
-
renderBefore
public void renderBefore(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) - Angegeben von:
renderBeforein SchnittstellePerspectiveRenderable
-
getCurrentBackgroundColor
public RGBA getCurrentBackgroundColor(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) - Angegeben von:
getCurrentBackgroundColorin SchnittstelleBackgroundColorProvider
-
getCurrentBackgroundFrameColor
public RGBA getCurrentBackgroundFrameColor(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) -
getCurrentTextColor
public RGBA getCurrentTextColor(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) - Angegeben von:
getCurrentTextColorin SchnittstelleTextSettingsProvider
-
getCurrentHintTextColor
public RGBA getCurrentHintTextColor(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) -
getCurrentSuggestionTextColor
public RGBA getCurrentSuggestionTextColor(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) -
getCurrentCursorColor
public RGBA getCurrentCursorColor(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
-