Text

org.terminal21.client.components.chakra.Text
case class Text(key: String, text: String, fontSize: Option[String], noOfLines: Option[Int], color: Option[String], as: Option[String], align: Option[String], casing: Option[String], decoration: Option[String], style: Map[String, Any], dataStore: TypedMap) extends ChakraElement

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait HasStyle
trait CEJson
class UiElement
trait AnyElement
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

type This = Text

Value members

Concrete methods

def withAlign(v: Option[String]): Text
def withAs(v: Option[String]): Text
def withCasing(v: Option[String]): Text
def withColor(v: Option[String]): Text
override def withDataStore(ds: TypedMap): This

Attributes

Definition Classes
def withDecoration(v: Option[String]): Text
def withFontSize(v: Option[String]): Text
def withKey(v: String): This
def withNoOfLines(v: Option[Int]): Text
override def withStyle(v: Map[String, Any]): This

Attributes

Definition Classes
HasStyle
def withText(v: String): Text

Inherited methods

def findKey(key: String): UiElement

Attributes

Inherited from:
UiElement
def flat: Seq[UiElement]

Attributes

Returns

this element along all it's children flattened

Inherited from:
UiElement
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def store[V](key: TypedMapKey[V], value: V): This

Attributes

Inherited from:
UiElement
def storedValue[V](key: TypedMapKey[V]): V

Attributes

Inherited from:
UiElement

Attributes

Inherited from:
UiElement
def toSimpleString: String

Attributes

Inherited from:
UiElement
def withStyle(vs: (String, Any)*): This

Attributes

Inherited from:
HasStyle