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.NarrationPriority

    Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen info.u_team.u_team_core.api.gui.TextSettingsProvider

    TextSettingsProvider.TextRenderType
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    protected RGBA
     
    protected RGBA
     
    protected static final RGBA
     
    protected RGBA
     
    protected static final RGBA
     
    protected static final RGBA
     
    protected RGBA
     
    protected static final RGBA
     
    protected RGBA
     
    protected static final RGBA
     
    protected static final RGBA
     
    protected RGBA
     
    protected RGBA
     
    protected RGBA
     
    protected static final RGBA
     

    Von 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, value

    Von Klasse geerbte Felder net.minecraft.client.gui.components.AbstractWidget

    active, alpha, height, isHovered, visible, width, x, y

    Von Schnittstelle geerbte Felder net.minecraft.client.gui.components.events.GuiEventListener

    DOUBLE_CLICK_THRESHOLD_MS
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    UEditBox(net.minecraft.client.gui.Font font, int x, int y, int width, int height, UEditBox previousEditBox, net.minecraft.network.chat.Component title)
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
     
     
    getCurrentBackgroundColor(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)
     
     
     
     
     
     
     
    void
    renderBefore(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
     
    void
    renderBehind(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
     
    void
    renderWidget(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
     
    void
    setBackgroundColor(RGBA backgroundColor)
     
    void
    setBackgroundFrameColor(RGBA backgroundFrameColor)
     
    void
    setCursorColor(RGBA cursorColor)
     
    void
    setDisabledTextColor(RGBA disabledTextColor)
     
    void
    setHintTextColor(RGBA hintTextColor)
     
    void
     
    void
    setSuggestionTextColor(RGBA suggestionTextColor)
     
    void
    setTextColor(int color)
     
    void
    setTextColor(RGBA textColor)
     
    void
     
    void
    setUnfocusedBackgroundFrameColor(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, updateWidgetNarration

    Von 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, wrapDefaultNarrationMessage

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Von Schnittstelle geerbte Methoden net.minecraft.client.gui.components.events.GuiEventListener

    getCurrentFocusPath, keyReleased, mouseMoved, mouseScrolled

    Von Schnittstelle geerbte Methoden net.minecraft.client.gui.layouts.LayoutElement

    setPosition

    Von Schnittstelle geerbte Methoden info.u_team.u_team_core.api.gui.PerspectiveRenderable

    render

    Von Schnittstelle geerbte Methoden info.u_team.u_team_core.api.gui.TextSettingsProvider

    getCurrentTextFont, getCurrentTextRenderType
  • Felddetails

    • BLACK

      protected static final RGBA BLACK
    • WHITE

      protected static final RGBA WHITE
    • LIGHT_GRAY

      protected static final RGBA LIGHT_GRAY
    • LIGHTER_GRAY

      protected static final RGBA LIGHTER_GRAY
    • GRAY

      protected static final RGBA GRAY
    • DARKER_GRAY

      protected static final RGBA DARKER_GRAY
    • DARK_GRAY

      protected static final RGBA DARK_GRAY
    • backgroundFrameColor

      protected RGBA backgroundFrameColor
    • unfocusedBackgroundFrameColor

      protected RGBA unfocusedBackgroundFrameColor
    • backgroundColor

      protected RGBA backgroundColor
    • textColor

      protected RGBA textColor
    • disabledTextColor

      protected RGBA disabledTextColor
    • hintTextColor

      protected RGBA hintTextColor
    • suggestionTextColor

      protected RGBA suggestionTextColor
    • cursorColor

      protected RGBA 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

      public RGBA getBackgroundFrameColor()
    • setBackgroundFrameColor

      public void setBackgroundFrameColor(RGBA backgroundFrameColor)
    • getUnfocusedBackgroundFrameColor

      public RGBA getUnfocusedBackgroundFrameColor()
    • setUnfocusedBackgroundFrameColor

      public void setUnfocusedBackgroundFrameColor(RGBA unfocusedBackgroundFrameColor)
    • getBackgroundColor

      public RGBA getBackgroundColor()
    • setBackgroundColor

      public void setBackgroundColor(RGBA backgroundColor)
    • getTextColor

      public RGBA getTextColor()
    • setTextColor

      public void setTextColor(RGBA textColor)
    • getDisabledTextColor

      public RGBA getDisabledTextColor()
    • setDisabledTextColor

      public void setDisabledTextColor(RGBA disabledTextColor)
    • getHintTextColor

      public RGBA getHintTextColor()
    • setHintTextColor

      public void setHintTextColor(RGBA hintTextColor)
    • getSuggestionTextColor

      public RGBA getSuggestionTextColor()
    • setSuggestionTextColor

      public void setSuggestionTextColor(RGBA suggestionTextColor)
    • getCursorColor

      public RGBA getCursorColor()
    • setCursorColor

      public void setCursorColor(RGBA cursorColor)
    • setTextColor

      public void setTextColor(int color)
      Setzt außer Kraft:
      setTextColor in Klasse net.minecraft.client.gui.components.EditBox
    • setTextColorUneditable

      public void setTextColorUneditable(int color)
      Setzt außer Kraft:
      setTextColorUneditable in Klasse net.minecraft.client.gui.components.EditBox
    • setPreviousText

      public void setPreviousText(UEditBox textField)
    • renderWidget

      public void renderWidget(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
      Setzt außer Kraft:
      renderWidget in Klasse net.minecraft.client.gui.components.EditBox
    • renderBehind

      public void renderBehind(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
      Angegeben von:
      renderBehind in Schnittstelle PerspectiveRenderable
    • renderBefore

      public void renderBefore(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
      Angegeben von:
      renderBefore in Schnittstelle PerspectiveRenderable
    • getCurrentBackgroundColor

      public RGBA getCurrentBackgroundColor(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
      Angegeben von:
      getCurrentBackgroundColor in Schnittstelle BackgroundColorProvider
    • 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:
      getCurrentTextColor in Schnittstelle TextSettingsProvider
    • 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)