|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Object
qx.core.Target
qx.ui.table.celleditor.ComboBox
public class ComboBox
A cell editor factory creating combo boxes.
Constructor Summary | |
---|---|
ComboBox()
|
Method Summary | |
---|---|
Widget |
createCellEditor(java.lang.Object cellInfo)
Creates a cell editor. |
java.lang.Object |
getCellEditorValue(Widget cellEditor)
retrieves value from TextField (editable combobox) or selected ListItem (non-editable combobox) and validates value |
boolean |
getEditable()
Returns the (computed) value of the property editable . |
java.lang.Object |
getListData()
Returns the (computed) value of the property listData . |
java.lang.Object |
getValidationFunction()
Returns the (computed) value of the property validationFunction . |
void |
initEditable(boolean arg)
Calls the apply method and dispatches the change event of the property editable
with the default value defined by the class developer. |
void |
initListData(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property listData
with the default value defined by the class developer. |
void |
initValidationFunction(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property validationFunction
with the default value defined by the class developer. |
boolean |
isEditable()
Check whether the (computed) value of the boolean property editable equals true . |
void |
resetEditable()
Resets the user value of the property editable . |
void |
resetListData()
Resets the user value of the property listData . |
void |
resetValidationFunction()
Resets the user value of the property validationFunction . |
void |
setEditable(boolean arg)
Sets the user value of the property editable . |
void |
setListData(java.lang.Object arg)
Sets the user value of the property listData . |
void |
setValidationFunction(java.lang.Object arg)
Sets the user value of the property validationFunction . |
boolean |
toggleEditable()
Toggles the (computed) value of the boolean property editable . |
Methods inherited from class qx.core.Target |
---|
_dispatchEvent, addChangeSelectionListener, addChangeValueListener, addEventListener, addExecuteListener, addJavaEventListener, createDispatchChangeEvent, createDispatchDataEvent, createDispatchEvent, dispatchEvent, hasEventListeners, removeEventListener |
Methods inherited from class qx.core.Object |
---|
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode, toString_ |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComboBox()
Method Detail |
---|
public Widget createCellEditor(java.lang.Object cellInfo)
ICellEditorFactory
Creates a cell editor.
The cellInfo map contains the following properties:
createCellEditor
in interface ICellEditorFactory
public java.lang.Object getCellEditorValue(Widget cellEditor)
retrieves value from TextField (editable combobox) or selected ListItem (non-editable combobox) and validates value
getCellEditorValue
in interface ICellEditorFactory
public boolean getEditable()
Returns the (computed) value of the property editable
.
For further details take a look at the property definition: editable
.
public java.lang.Object getListData()
Returns the (computed) value of the property listData
.
For further details take a look at the property definition: listData
.
public java.lang.Object getValidationFunction()
Returns the (computed) value of the property validationFunction
.
For further details take a look at the property definition: validationFunction
.
public void initEditable(boolean arg)
Calls the apply method and dispatches the change event of the property editable
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: editable
.
public void initListData(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property listData
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: listData
.
public void initValidationFunction(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property validationFunction
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: validationFunction
.
public boolean isEditable()
Check whether the (computed) value of the boolean property editable
equals true
.
For further details take a look at the property definition: editable
.
public void resetEditable()
Resets the user value of the property editable
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: editable
.
public void resetListData()
Resets the user value of the property listData
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: listData
.
public void resetValidationFunction()
Resets the user value of the property validationFunction
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: validationFunction
.
public void setEditable(boolean arg)
Sets the user value of the property editable
.
For further details take a look at the property definition: editable
.
public void setListData(java.lang.Object arg)
Sets the user value of the property listData
.
For further details take a look at the property definition: listData
.
public void setValidationFunction(java.lang.Object arg)
Sets the user value of the property validationFunction
.
For further details take a look at the property definition: validationFunction
.
public boolean toggleEditable()
Toggles the (computed) value of the boolean property editable
.
For further details take a look at the property definition: editable
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |