Interface org.aswing.ComboBoxEditor

Description

Method Index

addActionListener(), getEditorComponent(), getValue(), isEditable(), selectAll(), setEditable(), setValue()

Inherited from IEventDispatcher

Method Detail

getEditorComponent

public function getEditorComponent():Component

Return the component that should be added to the tree hierarchy for this editor.

The editor component should can accept normal component event listeners such as Component.ON_RELEASE, Component.ON_PRESS ...

setEditable

public function setEditable(b:Boolean):Void

Sets whether the editor is editable now.

isEditable

public function isEditable():Boolean

Returns whether the editor is editable now.

addActionListener

public function addActionListener(func:Function, obj:Object):Object

Add a listener to listen the editor event when the edited item changes.

addChangeListener(func:Function)
addChangeListener(func:Function, obj:Object)

Return

the listener added.

See Also

setValue

public function setValue(value:Object):Void

Set the item that should be edited. Cancel any editing if necessary.

getValue

public function getValue():Object

Return the edited item.

selectAll

public function selectAll():Void

Ask the editor to start editing and to select everything in the editor.