BuiltInEditor

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]
trait Publisher
trait Reactor
class Object
trait Matchable
class Any

Value members

Concrete methods

def item: A
def item_=(a: A): Unit
def startEditing(): Unit

Inherited methods

def deafTo(ps: Publisher*): Unit

Installed reaction won't receive events from the given publisher anylonger.

Installed reaction won't receive events from the given publisher anylonger.

Inherited from
Reactor
def listenTo(ps: Publisher*): Unit

Listen to the given publisher as long as deafTo isn't called for them.

Listen to the given publisher as long as deafTo isn't called for them.

Inherited from
Reactor
def publish(e: Event): Unit

Notify all registered reactions.

Notify all registered reactions.

Inherited from
Publisher

Concrete fields

lazy override val comboBoxPeer: ComboBoxEditor

Inherited fields

protected val listeners: RefSet[Reaction]
Inherited from
Publisher

All reactions of this reactor.

All reactions of this reactor.

Inherited from
Reactor