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

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

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

sealed trait SegmentedButtonMode {
  def value: String = toString
}

object SegmentedButtonMode extends EnumerationString[SegmentedButtonMode] {
  case object Single   extends SegmentedButtonMode
  case object Multiple extends SegmentedButtonMode

  @deprecated("SingleSelect segmented button mode has been renamed to Single", since = "2.0.0")
  def SingleSelect = Single
  @deprecated("MultiSelect segmented button mode has been renamed to Multiple", since = "2.0.0")
  def MultiSelect = Multiple

  val allValues: List[SegmentedButtonMode] = deriveAllValues

  def valueOf(value: SegmentedButtonMode): String = value.value
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy