ComboBox

object ComboBox
Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

trait Editor[A] extends Publisher
An editor for a combo box. Lets 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
look-and-feel.
Publishes action events.
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.
It's okay if string2A throws exceptions. They are caught by an input verifier.
object Model
Companion
class
trait Model[A] extends Model[A]
Companion
object

Implicits

Implicits

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