ComboBox

object ComboBox
Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

class BuiltInEditor[A](comboBox: ComboBox[A])(string2A: String => A, a2String: A => String) extends Editor[A]

Use this editor, if you want to reuse the builtin editor supplied by the current Look and Feel. This is restricted to a text field as the editor widget. The conversion from and to a string is done by the supplied functions.

Use this editor, if you want to reuse the builtin editor supplied by the current Look and Feel. This is restricted to a text field as the editor widget. The conversion from and to a string is done by the supplied functions.

It's okay if string2A throws exceptions. They are caught by an input verifier.

trait Editor[A] extends Publisher

An editor for a combo box. Let's you edit the currently selected item. It is highly recommended to use the BuiltInEditor class. For anything else, one cannot guarantee that it integrates nicely with the current LookAndFeel.

An editor for a combo box. Let's you edit the currently selected item. It is highly recommended to use the BuiltInEditor class. For anything else, one cannot guarantee that it integrates nicely with the current LookAndFeel.

Publishes action events.

Value members

Concrete methods

def newConstantModel[A](items: Seq[A]): ComboBoxModel[A]

Implicits

Implicits

implicit def doubleEditor(c: ComboBox[Double]): Editor[Double]
implicit def floatEditor(c: ComboBox[Float]): Editor[Float]
implicit def intEditor(c: ComboBox[Int]): Editor[Int]
implicit def stringEditor(c: ComboBox[String]): Editor[String]