Class WMeteorTextBox
java.lang.Object
meteordevelopment.meteorclient.gui.widgets.WWidget
meteordevelopment.meteorclient.gui.widgets.input.WTextBox
meteordevelopment.meteorclient.gui.themes.meteor.widgets.input.WMeteorTextBox
- All Implemented Interfaces:
MeteorWidget,BaseWidget
-
Nested Class Summary
Nested classes/interfaces inherited from class meteordevelopment.meteorclient.gui.widgets.input.WTextBox
WTextBox.ICompletionItem, WTextBox.Renderer -
Field Summary
Fields inherited from class meteordevelopment.meteorclient.gui.widgets.input.WTextBox
action, actionOnUnfocused, cursor, filter, focused, placeholder, renderer, selecting, selectionEnd, selectionStart, text, textStart, textWidths -
Constructor Summary
ConstructorsConstructorDescriptionWMeteorTextBox(String text, String placeholder, CharFilter filter, Class<? extends WTextBox.Renderer> renderer) -
Method Summary
Modifier and TypeMethodDescriptionprotected WContainerprotected <T extends WWidget & WTextBox.ICompletionItem>
TcreateCompletionsValueWidth(String completion, boolean selected) protected voidprotected voidonRender(GuiRenderer renderer, double mouseX, double mouseY, double delta) Methods inherited from class meteordevelopment.meteorclient.gui.widgets.input.WTextBox
calculateWidgetPositions, get, getCursorTextWidth, getOverflowWidthForRender, getTextWidth, isFocused, maxTextWidth, move, onCalculateSize, onCharTyped, onKeyPressed, onKeyRepeated, onMouseClicked, onMouseMoved, onMouseReleased, render, set, setCursorMax, setFocusedMethods inherited from class meteordevelopment.meteorclient.gui.widgets.WWidget
calculateSize, getRoot, getTheme, charTyped, init, invalidate, isOver, keyPressed, keyRepeated, mouseClicked, mouseMoved, mouseReleased, mouseScrolled, onCalculateWidgetPositions, onMouseScrolled, padMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface meteordevelopment.meteorclient.gui.utils.BaseWidget
getThemeMethods inherited from interface meteordevelopment.meteorclient.gui.themes.meteor.MeteorWidget
renderBackground, theme
-
Constructor Details
-
WMeteorTextBox
public WMeteorTextBox(String text, String placeholder, CharFilter filter, Class<? extends WTextBox.Renderer> renderer)
-
-
Method Details
-
createCompletionsRootWidget
- Specified by:
createCompletionsRootWidgetin classWTextBox
-
createCompletionsValueWidth
protected <T extends WWidget & WTextBox.ICompletionItem> T createCompletionsValueWidth(String completion, boolean selected) - Specified by:
createCompletionsValueWidthin classWTextBox
-
onCursorChanged
protected void onCursorChanged()- Overrides:
onCursorChangedin classWTextBox
-
onRender
-