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

be.doeraene.webcomponents.ui5.configkeys.ButtonDesign.scala Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package be.doeraene.webcomponents.ui5.configkeys

import com.raquo.laminar.codecs.Codec

sealed trait ButtonDesign {
  def value: String = toString
}

object ButtonDesign extends EnumerationString[ButtonDesign] {

  case object Default extends ButtonDesign
  case object Emphasized extends ButtonDesign
  case object Positive extends ButtonDesign
  case object Negative extends ButtonDesign
  case object Transparent extends ButtonDesign
  case object Attention extends ButtonDesign

  val allValues: List[ButtonDesign] = List(
    Default,
    Emphasized,
    Positive,
    Negative,
    Transparent,
    Attention
  )

  def valueOf(value: ButtonDesign): String = value.value

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy