final case class KeybindText(key: String, format: TextFormat = TextFormat.None, insertionText: Option[String] = None, clickAction: Option[ClickAction] = None, hoverText: Option[HoverText] = None, children: Seq[Text] = Seq()) extends Text with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- KeybindText
- Serializable
- Product
- Equals
- Text
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new KeybindText(key: String, format: TextFormat = TextFormat.None, insertionText: Option[String] = None, clickAction: Option[ClickAction] = None, hoverText: Option[HoverText] = None, children: Seq[Text] = Seq())
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def append(texts: Text*): Text
- Definition Classes
- Text
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val children: Seq[Text]
- Definition Classes
- KeybindText → Text
- def children_=(children: Seq[Text]): Text
- Definition Classes
- Text
- val clickAction: Option[ClickAction]
- Definition Classes
- KeybindText → Text
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compact: Text
Tries to create a new Text where the children have been merged and compacted.
- def copyBase(format: TextFormat = format, insertionText: Option[String] = insertionText, clickAction: Option[ClickAction] = clickAction, hoverText: Option[HoverText] = hoverText, children: Seq[Text] = children): Text
- Definition Classes
- KeybindText → Text
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val format: TextFormat
- Definition Classes
- KeybindText → Text
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hoverText(hover: HoverText): Text
- Definition Classes
- Text
- val hoverText: Option[HoverText]
- Definition Classes
- KeybindText → Text
- val insertionText: Option[String]
- Definition Classes
- KeybindText → Text
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val key: String
- def merge(other: Text): Option[Text]
Tries to merge two Texts together while preserving styling.
Tries to merge two Texts together while preserving styling. Both texts can't have children for this to work.
- other
The text to combine with.
- returns
Some if the combination was successful, None otherwise
- Definition Classes
- KeybindText → Text
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noClickAction: Text
- Definition Classes
- Text
- def noHoverText: Text
- Definition Classes
- Text
- def noInsertion: Text
- Definition Classes
- Text
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def onClick(action: ClickAction): Text
- Definition Classes
- Text
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def setInsertion(str: String): Text
- Definition Classes
- Text
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toCharCoded: String
- Definition Classes
- Text
- def toJson: String
- Definition Classes
- Text
- def toPlain: String
- Definition Classes
- Text
- def trim: Text
- Definition Classes
- Text
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()