io.github.srs.view.components

Members list

Type members

Classlikes

final case class CheckBox(default: Boolean) extends InputType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait InputType
class Object
trait Matchable
class Any
Show all
final case class ComboBox(options: Seq[String]) extends InputType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait InputType
class Object
trait Matchable
class Any
Show all
final case class FieldSpec(key: String, label: String, inputType: InputType)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class FormPanel(title: String, fields: Seq[FieldSpec]) extends JPanel

FormPanel is a JPanel that displays a form with various input fields.

FormPanel is a JPanel that displays a form with various input fields.

Value parameters

fields

the specifications of the fields to be displayed in the form

title

the title of the form panel

Attributes

Supertypes
class JPanel
trait Accessible
class JComponent
class Container
class Component
trait Serializable
trait MenuContainer
trait ImageObserver
class Object
trait Matchable
class Any
Show all
sealed trait InputType

Represents the type of input fields in the form.

Represents the type of input fields in the form.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class CheckBox
class ComboBox
class TextField
final case class TextField(columns: Int, default: String) extends InputType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait InputType
class Object
trait Matchable
class Any
Show all
object UIUtils

Centralized UI styling to ensure consistency across components

Centralized UI styling to ensure consistency across components

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
UIUtils.type

Extensions

Extensions

extension (frame: JFrame)

Applies default and preferred size to the frame.

Applies default and preferred size to the frame.

Attributes

def centerFrame(): Unit

Centers the frame on the screen.

Centers the frame on the screen.

Attributes