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

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

The newest version!
package be.doeraene.webcomponents.ui5.configkeys

sealed trait SemanticColour {
  def value: String = toString
}

object SemanticColour extends EnumerationString[SemanticColour] {

  case object Default extends SemanticColour
  case object Neutral extends SemanticColour
  case object Positive extends SemanticColour
  case object Critical extends SemanticColour
  case object Negative extends SemanticColour

  val allValues: List[SemanticColour] = List(
    Default,
    Neutral,
    Positive,
    Critical,
    Negative
  )

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy