org.terminal21.client.components

Members list

Type members

Classlikes

abstract class CachedCalculation[OUT](using executor: FiberExecutor) extends Calculation[OUT]

Attributes

Supertypes
trait Calculation[OUT]
class Object
trait Matchable
class Any
trait Calculation[OUT](using executor: FiberExecutor)

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class CachedCalculation[OUT]
trait StdUiCalculation[OUT]
trait ComponentLib

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object StdElementEncoding.type
case class Em(key: String, var text: String, var style: Map[String, Any]) extends StdElement

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StdElement
trait HasStyle
trait UiElement
class Object
trait Matchable
class Any
Show all
case class Header1(key: String, var text: String, var style: Map[String, Any]) extends StdElement

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StdElement
trait HasStyle
trait UiElement
class Object
trait Matchable
class Any
Show all
case class Input(key: String, `type`: String, defaultValue: String, var style: Map[String, Any], var value: String) extends StdElement, HasEventHandler

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StdElement
trait HasStyle
trait UiElement
class Object
trait Matchable
class Any
Show all
object Keys

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Keys.type
case class NewLine(key: String, var style: Map[String, Any]) extends StdElement

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StdElement
trait HasStyle
trait UiElement
class Object
trait Matchable
class Any
Show all
case class Paragraph(key: String, var text: String, var style: Map[String, Any], var children: Seq[UiElement]) extends StdElement, HasChildren[Paragraph]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StdElement
trait HasStyle
trait UiElement
class Object
trait Matchable
class Any
Show all
case class Span(key: String, var text: String, var style: Map[String, Any]) extends StdElement

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StdElement
trait HasStyle
trait UiElement
class Object
trait Matchable
class Any
Show all
sealed trait StdElement extends UiElement, HasStyle

Attributes

Supertypes
trait HasStyle
trait UiElement
class Object
trait Matchable
class Any
Known subtypes
class Em
class Header1
class Input
class NewLine
class Paragraph
class Span
Show all

Attributes

Supertypes
trait ComponentLib
class Object
trait Matchable
class Any
Self type
trait StdUiCalculation[OUT](name: String, dataUi: UiElement & HasStyle)(using session: ConnectedSession, executor: FiberExecutor) extends Calculation[OUT], UiComponent

Creates a standard UI for a calculation which may take time. While the calculation runs, the UI is grayed out, including the dataUi component. When the calculation completes, it allows for updating the dataUi component.

Creates a standard UI for a calculation which may take time. While the calculation runs, the UI is grayed out, including the dataUi component. When the calculation completes, it allows for updating the dataUi component.

Type parameters

OUT

the return value of the calculation.

Attributes

Supertypes
trait UiComponent
trait UiElement
trait Calculation[OUT]
class Object
trait Matchable
class Any
Show all

A UiComponent is a UI element that is composed of a seq of other ui elements

A UiComponent is a UI element that is composed of a seq of other ui elements

Attributes

Supertypes
trait UiElement
class Object
trait Matchable
class Any
Known subtypes
class QuickTable
trait StdUiCalculation[OUT]
trait UiElement

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class AddIcon
class ArrowUpIcon
class AtSignIcon
class Badge
class BellIcon
class Box
class Button
class ButtonGroup
class CalendarIcon
class Center
class ChatIcon
class CheckIcon
class Checkbox
class Circle
class CloseIcon
class CopyIcon
class DeleteIcon
class DownloadIcon
class EditIcon
class Editable
class EmailIcon
class FormControl
class FormLabel
class HStack
class Image
class InfoIcon
class Input
class InputGroup
class LinkIcon
class LockIcon
class Menu
class MenuButton
class MenuDivider
class MenuItem
class MenuList
class MinusIcon
class MoonIcon
class Option_
class PhoneIcon
class QuestionIcon
class Radio
class RadioGroup
class RepeatIcon
class Search2Icon
class SearchIcon
class Select
class SettingsIcon
class SimpleGrid
class SmallAddIcon
class SpinnerIcon
class Square
class StarIcon
class SunIcon
class Switch
class Table
class TableCaption
class Tbody
class Td
class Text
class Textarea
class Tfoot
class Th
class Thead
class TimeIcon
class Tr
class UnlockIcon
class UpDownIcon
class VStack
class ViewIcon
class ViewOffIcon
class WarningIcon
trait StdElement
class Em
class Header1
class Input
class NewLine
class Paragraph
class Span
trait UiComponent
class QuickTable
trait StdUiCalculation[OUT]
Show all
object UiElement

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
UiElement.type
class UiElementEncoding(libs: Seq[ComponentLib])

Attributes

Supertypes
class Object
trait Matchable
class Any

Extensions

Extensions

extension (s: Seq[UiElement])
def render()(using session: ConnectedSession): Unit