public static class TreeTableNodeValueEditorDef.ConvertTextFieldEditor<T> extends TreeTableNodeValueEditor.TextFieldEditor
| Modifier and Type | Field and Description |
|---|---|
protected T |
defValue |
protected xyz.cofe.collection.Func1<T,String> |
parser |
protected xyz.cofe.collection.Func1<String,T> |
serializer |
textFieldcellEditable, component, listeners, shouldSelectCell| Constructor and Description |
|---|
ConvertTextFieldEditor(xyz.cofe.collection.Func1<T,String> parser,
xyz.cofe.collection.Func1<String,T> serializer,
T defValue) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCellEditorValue() |
T |
getDefValue() |
xyz.cofe.collection.Func1<T,String> |
getParser() |
xyz.cofe.collection.Func1<String,T> |
getSerializer() |
void |
setDefValue(T defValue) |
void |
setParser(xyz.cofe.collection.Func1<T,String> parser) |
void |
setSerializer(xyz.cofe.collection.Func1<String,T> serializer) |
void |
startEditing(Object value,
Object context) |
addCellEditorListener, cancelCellEditing, clearAllListeners, fireEditingCanceled, fireEditingStopped, getComponent, getEditIcon, getNullIcon, getNullSelectedIcon, getNullUnSelectedIcon, isCellEditable, isShouldSelectCell, removeCellEditorListener, setCellEditable, setComponent, setShouldSelectCell, stopCellEditingprotected T defValue
public Object getCellEditorValue()
getCellEditorValue in interface TreeTableNodeValueEditor.EditorgetCellEditorValue in class TreeTableNodeValueEditor.TextFieldEditorpublic void startEditing(Object value, Object context)
startEditing in interface TreeTableNodeValueEditor.EditorstartEditing in class TreeTableNodeValueEditor.TextFieldEditorpublic T getDefValue()
public void setDefValue(T defValue)
Copyright © 2019. All rights reserved.