interface org.aswing.ComboBoxEditor

The editor component used for JComboBox components. @author paling

Instance Fields

function addActionListener(listener:Dynamic ->Void?priority:Int, ?useWeakReference:Bool): Void

Adds a listener to listen the editor event when the edited item changes. @see org.aswing.event.AWEvent#ACT

listener

the listener

priority

the priority

useWeakReference

Determines whether the reference to the listener is strong or weak.

function getEditorComponent(): Component

Return the component that performance the editing asset.

returns

the editor component

function getValue(): Dynamic

Return the edited item.

function isEditable(): Bool

Returns whether the editor is editable now.

function removeActionListener(listener:Dynamic ->Void): Void

Removes a action listener. @see org.aswing.event.AWEvent#ACT

listener

the listener to be removed.

function selectAll(): Void

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

function setEditable(b:Bool): Void

Sets whether the editor is editable now.

function setValue(value:Dynamic): Void

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