Class RichTextView.RichTextComponent
java.lang.Object
org.rusherhack.client.api.ui.window.content.WindowContent
org.rusherhack.client.api.ui.window.content.component.TextComponent
org.rusherhack.client.api.ui.window.content.component.ParagraphComponent
org.rusherhack.client.api.ui.window.view.RichTextView.RichTextComponent
- All Implemented Interfaces:
org.rusherhack.core.interfaces.IClickable,org.rusherhack.core.interfaces.IHoverable,org.rusherhack.core.interfaces.IScrollable,org.rusherhack.core.interfaces.ITickable,org.rusherhack.core.interfaces.ITypeable
- Enclosing class:
- RichTextView
-
Field Summary
Fields inherited from class org.rusherhack.client.api.ui.window.content.component.ParagraphComponent
color, heightCache, lineSpacing, parentFields inherited from class org.rusherhack.client.api.ui.window.content.component.TextComponent
textFields inherited from class org.rusherhack.client.api.ui.window.content.WindowContent
contextMenu, x, y -
Constructor Summary
ConstructorsConstructorDescriptionRichTextComponent(Window window, String str) RichTextComponent(Window window, net.minecraft.network.chat.Component component) -
Method Summary
Modifier and TypeMethodDescription@Nullable List<ContextAction>voidrenderContent(double mouseX, double mouseY, WindowView parent) Methods inherited from class org.rusherhack.client.api.ui.window.content.component.ParagraphComponent
getHeight, getWidth, setColor, setLineSpacing, updateHeightMethods inherited from class org.rusherhack.client.api.ui.window.content.component.TextComponent
charTyped, getText, keyTyped, mouseClicked, mouseScrolled, setTextMethods inherited from class org.rusherhack.client.api.ui.window.content.WindowContent
getFontRenderer, getRenderer, getWindow, getX, getY, isHovered, setContextMenu, setX, setY, unfocusMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.rusherhack.core.interfaces.IClickable
mouseReleasedMethods inherited from interface org.rusherhack.core.interfaces.ITickable
tick
-
Constructor Details
-
RichTextComponent
-
RichTextComponent
-
-
Method Details
-
renderContent
- Overrides:
renderContentin classParagraphComponent
-
getContextMenu
- Overrides:
getContextMenuin classWindowContent
-