org.sphix.ui.viewer

Members list

Type members

Classlikes

class AlignedGridProductViewer[P <: Product](labels: List[String], elemViewers: List[Viewer[Any]], aligns: List[Option[Align[Any]]]) extends Viewer[P]

Attributes

Supertypes
class Viewer[P]
trait P => Node
class Object
trait Matchable
class Any
case class Data(label: String, value: Option[String], align: Align[Any])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class HyperlinkViewer[A](action: A => Unit)(using render: Render[A]) extends Viewer[A]

Attributes

Supertypes
class Viewer[A]
trait A => Node
class Object
trait Matchable
class Any
class ListViewer[A](inner: Viewer[A]) extends Viewer[Iterable[A]]

Attributes

Supertypes
class Viewer[Iterable[A]]
trait (Iterable[A]) => Node
class Object
trait Matchable
class Any
class TableProductViewer[P <: Product](labels: List[String], renders: List[Render[Any]], aligns: List[Align[Any]]) extends Viewer[P]

Attributes

Supertypes
class Viewer[P]
trait P => Node
class Object
trait Matchable
class Any
class TableViewer[P <: Product](labels: List[String], cellFactories: List[TableCellFactory[P, Any]], labelTransformer: LabelTransformer) extends Viewer[Iterable[P]]

Attributes

Supertypes
class Viewer[Iterable[P]]
trait (Iterable[P]) => Node
class Object
trait Matchable
class Any
class TextListViewer[A](using render: Render[A]) extends Viewer[Iterable[A]]

Attributes

Supertypes
class Viewer[Iterable[A]]
trait (Iterable[A]) => Node
class Object
trait Matchable
class Any
abstract class Viewer[A] extends A => Node

Attributes

Companion
object
Supertypes
trait A => Node
class Object
trait Matchable
class Any
Known subtypes
class HyperlinkViewer[A]
class ListViewer[A]
class TableViewer[P]
class TextListViewer[A]
Show all
object Viewer

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Viewer.type
class ViewerDialog[A](value: A, title0: Option[String])(using viewer: Viewer[A]) extends Dialog[Nothing]

Attributes

Supertypes
class Dialog[Nothing]
trait EventTarget
class Object
trait Matchable
class Any

Value members

Concrete methods

inline def alignedGridProductViewer[P <: Product](using labelTransformer: LabelTransformer)(using m: ProductOf[P]): Viewer[P]
inline def gridProductViewer[P <: Product](using labelTransformer: LabelTransformer)(using m: ProductOf[P]): Viewer[P]
inline def table[P <: Product](using m: ProductOf[P])(using labelTransformer: LabelTransformer): Viewer[Iterable[P]]
inline def tableProduct[P <: Product](using labelTransformer: LabelTransformer)(using m: ProductOf[P]): Viewer[P]

Extensions

Extensions

extension (alignment: Alignment)
def toHPos: HPos
def toPos: Pos