scala.swing.ComboBox

class BuiltInEditor

[source: scala/swing/ComboBox.scala]

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.
Value Summary
override lazy val comboBoxPeer : javax.swing.ComboBoxEditor
Values and Variables inherited from Publisher
listeners
Values and Variables inherited from Reactor
reactions
Method Summary
def component : Component
def item : A
def item_= (a : A) : Unit
def startEditing : Unit
Methods inherited from Publisher
subscribe, unsubscribe, publish
Methods inherited from Reactor
listenTo, deafTo
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
protected[swing] class DelegatedEditor (editor : javax.swing.ComboBoxEditor) extends javax.swing.ComboBoxEditor with AnyRef
Value Details
override lazy val comboBoxPeer : javax.swing.ComboBoxEditor
Overrides
Editor.comboBoxPeer

Method Details
def component : Component
Overrides
Editor.component

def item : A
Overrides
Editor.item

def item_=(a : A) : Unit
Overrides
Editor.item_=

def startEditing : Unit
Overrides
Editor.startEditing