Drag[en]gine Script Module DragonScript
1.23
|
Editor for a combo box. More...
Public Member Functions | |
void | addActionListener (ActionListener listener) |
Add action listener. More... | |
Object | getEditorValue () |
Get editor value. More... | |
Widget | getWidget () |
Get widget to use for editing. More... | |
void | removeActionListener (ActionListener listener) |
Remove action listener. More... | |
void | setEditorValue (Object object) |
Set editor value to object or null to clear. More... | |
void | startEditing () |
Start editing. More... | |
Editor for a combo box.
void Dragengine.Gui.ComboBoxEditor.addActionListener | ( | ActionListener | listener | ) |
Add action listener.
Action listener is called whenever the edited object changes.
Implemented in Dragengine.Gui.DefaultComboBoxEditor.
Object Dragengine.Gui.ComboBoxEditor.getEditorValue | ( | ) |
Get editor value.
The returned object can be the one previously set by setEditorValue() if unchanged or a new object if changed.
Implemented in Dragengine.Gui.DefaultComboBoxEditor.
Widget Dragengine.Gui.ComboBoxEditor.getWidget | ( | ) |
Get widget to use for editing.
Implemented in Dragengine.Gui.DefaultComboBoxEditor.
void Dragengine.Gui.ComboBoxEditor.removeActionListener | ( | ActionListener | listener | ) |
Remove action listener.
Implemented in Dragengine.Gui.DefaultComboBoxEditor.
void Dragengine.Gui.ComboBoxEditor.setEditorValue | ( | Object | object | ) |
Set editor value to object or null to clear.
object is garanteed to not be modified by the editor.
Implemented in Dragengine.Gui.DefaultComboBoxEditor.
void Dragengine.Gui.ComboBoxEditor.startEditing | ( | ) |
Start editing.
Typically this selects the entire text or otherwise prepare editor for directly manipulating the set value. There is no stop editing call since the widget is hidden in this case.
Implemented in Dragengine.Gui.DefaultComboBoxEditor.