object ComboBox

[source: scala/swing/ComboBox.scala]

object ComboBox
extends AnyRef
Method Summary
implicit def doubleEditor (c : ComboBox[Double]) : Editor[Double]
implicit def floatEditor (c : ComboBox[Float]) : Editor[Float]
implicit def intEditor (c : ComboBox[Int]) : Editor[Int]
def newConstantModel [A](items : Seq[A]) : javax.swing.ComboBoxModel
implicit def stringEditor (c : ComboBox[java.lang.String]) : Editor[java.lang.String]
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Class Summary
class BuiltInEditor [A](comboBox : ComboBox[A], string2A : (java.lang.String) => A, a2String : (A) => java.lang.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.
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. Publishes action events.
Method Details
implicit def stringEditor(c : ComboBox[java.lang.String]) : Editor[java.lang.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]

def newConstantModel[A](items : Seq[A]) : javax.swing.ComboBoxModel