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, parent
Fields inherited from class org.rusherhack.client.api.ui.window.content.component.TextComponent
text
Fields inherited from class org.rusherhack.client.api.ui.window.content.WindowContent
contextMenu, x, y
-
Constructor Summary
ConstructorDescriptionRichTextComponent
(Window window, String str) RichTextComponent
(Window window, net.minecraft.network.chat.Component component) -
Method Summary
Modifier and TypeMethodDescription@Nullable List<ContextAction>
void
renderContent
(double mouseX, double mouseY, WindowView parent) Methods inherited from class org.rusherhack.client.api.ui.window.content.component.ParagraphComponent
getHeight, getWidth, setColor, setLineSpacing, updateHeight
Methods inherited from class org.rusherhack.client.api.ui.window.content.component.TextComponent
charTyped, getText, keyTyped, mouseClicked, mouseScrolled, setText
Methods inherited from class org.rusherhack.client.api.ui.window.content.WindowContent
getFontRenderer, getRenderer, getWindow, getX, getY, isHovered, setContextMenu, setX, setY, unfocus
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.rusherhack.core.interfaces.IClickable
mouseReleased
Methods inherited from interface org.rusherhack.core.interfaces.ITickable
tick
-
Constructor Details
-
RichTextComponent
-
RichTextComponent
-
-
Method Details
-
renderContent
- Overrides:
renderContent
in classParagraphComponent
-
getContextMenu
- Overrides:
getContextMenu
in classWindowContent
-