public static class TreeTableNodeValueEditorDef.ConvertTextFieldEditor<T> extends TreeTableNodeValueEditor.TextFieldEditor
| Modifier and Type | Field and Description |
|---|---|
protected T |
defValue |
protected Func1<T,String> |
parser |
protected Func1<String,T> |
serializer |
textFieldcellEditable, component, listeners, shouldSelectCell| Constructor and Description |
|---|
ConvertTextFieldEditor(Func1<T,String> parser,
Func1<String,T> serializer,
T defValue) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCellEditorValue() |
T |
getDefValue() |
Func1<T,String> |
getParser() |
Func1<String,T> |
getSerializer() |
void |
setDefValue(T defValue) |
void |
setParser(Func1<T,String> parser) |
void |
setSerializer(Func1<String,T> serializer) |
void |
startEditing(Object value,
Object context) |
addCellEditorListener, cancelCellEditing, clearAllListeners, fireEditingCanceled, fireEditingStopped, getComponent, 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 © 2018. All rights reserved.