All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.cheleb.scalamigen.config.PanelConfig.scala Maven / Gradle / Ivy

The newest version!
package dev.cheleb.scalamigen.config

final case class PanelConfig(
    label: Option[String],
    asTable: Boolean,
    fieldCss: String = "srf-field",
    labelCss: String = "srf-label",
    panelCss: String = "srf-panel"
) {
  def withLabel(label: String): PanelConfig = copy(label = Some(label))
  def withAsTable(asTable: Boolean): PanelConfig = copy(asTable = asTable)
  def withFieldCss(fieldCss: String): PanelConfig = copy(fieldCss = fieldCss)
  def withLabelCss(labelCss: String): PanelConfig = copy(labelCss = labelCss)
  def withPanelCss(panelCss: String): PanelConfig = copy(panelCss = panelCss)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy