View

tui.view.View
See theView companion trait
object View

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
View.type

Members list

Type members

Classlikes

case class Border(view: View) extends View

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait View
class Object
trait Matchable
class Any
Show all
case class FixedFrame(view: View, width: Option[Int], height: Option[Int], alignment: Alignment) extends View

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait View
class Object
trait Matchable
class Any
Show all
case class FlexibleFrame(view: View, minWidth: Option[Int], maxWidth: Option[Int], minHeight: Option[Int], maxHeight: Option[Int], alignment: Alignment) extends View

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait View
class Object
trait Matchable
class Any
Show all
case class Horizontal(views: Chunk[View], spacing: Int, alignment: VerticalAlignment) extends View

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait View
class Object
trait Matchable
class Any
Show all
case class Overlay(view: View, overlay: View, alignment: Alignment) extends View

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait View
class Object
trait Matchable
class Any
Show all
Self type
case class Padding(view: View, topP: Int, bottomP: Int, leftP: Int, rightP: Int) extends View

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait View
class Object
trait Matchable
class Any
Show all
case class Text(string: String, color: Option[Color], style: Option[Style]) extends View

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait View
class Object
trait Matchable
class Any
Show all
case class Vertical(views: Chunk[View], spacing: Int, alignment: HorizontalAlignment) extends View

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait View
class Object
trait Matchable
class Any
Show all
case class WithSize(f: Size => View) extends View

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait View
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def horizontal(views: View*): View
def horizontal(spacing: Int, alignment: VerticalAlignment)(views: View*): View
def text(string: String): View
def text(string: String, color: Color): View
def vertical(views: View*): View
def withSize(f: Size => View): View

Implicits

Implicits

implicit def string2View(string: String): View