public abstract class EditControl<T extends javafx.scene.Node> extends java.lang.Object implements CellEditorElement, javafx.event.EventHandler<javafx.scene.input.KeyEvent>, javafx.beans.value.ChangeListener<java.lang.Boolean>
CellEditorElement.APPLYACTION| Modifier and Type | Field and Description |
|---|---|
protected Column |
column |
protected T |
control |
protected KeyListenerMap |
keyListener |
protected EditFieldMap |
listener |
protected IdMap |
map |
protected CellEditorElement |
owner |
protected java.lang.Object |
value |
| Constructor and Description |
|---|
EditControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(CellEditorElement.APPLYACTION action) |
void |
cancel() |
void |
changed(javafx.beans.value.ObservableValue<? extends java.lang.Boolean> observable,
java.lang.Boolean oldValue,
java.lang.Boolean newValue) |
boolean |
clearEditor() |
abstract T |
createControl(Column column) |
void |
dispose() |
T |
getControl() |
abstract FieldTyp |
getControllForTyp(java.lang.Object value) |
EditFieldMap |
getListener() |
abstract java.lang.Object |
getValue(boolean convert) |
void |
handle(javafx.scene.input.KeyEvent event) |
boolean |
isActive() |
boolean |
isFocus() |
boolean |
isVisible() |
boolean |
nextFocus() |
boolean |
onActive(boolean value) |
protected void |
registerListener() |
boolean |
setFocus(boolean value) |
void |
setVisible(boolean value) |
EditControl<T> |
withColumn(Column value) |
EditControl<T> |
withItem(java.lang.Object value) |
EditControl<T> |
withListener(EditFieldMap owner) |
EditControl<T> |
withListener(KeyListenerMap value) |
EditControl<T> |
withMap(IdMap map) |
EditControl<T> |
withOwner(CellEditorElement value) |
abstract CellEditorElement |
withValue(java.lang.Object value) |
protected T extends javafx.scene.Node control
protected EditFieldMap listener
protected CellEditorElement owner
protected Column column
protected IdMap map
protected java.lang.Object value
protected KeyListenerMap keyListener
public EditControl<T> withColumn(Column value)
withColumn in interface CellEditorElementpublic EditControl<T> withMap(IdMap map)
public EditControl<T> withItem(java.lang.Object value)
public EditControl<T> withOwner(CellEditorElement value)
public abstract FieldTyp getControllForTyp(java.lang.Object value)
public abstract java.lang.Object getValue(boolean convert)
getValue in interface CellEditorElementpublic T getControl()
protected void registerListener()
public EditControl<T> withListener(EditFieldMap owner)
public EditFieldMap getListener()
public void setVisible(boolean value)
public boolean isVisible()
public boolean setFocus(boolean value)
setFocus in interface CellEditorElementpublic boolean isActive()
public void dispose()
dispose in interface CellEditorElementpublic void cancel()
cancel in interface CellEditorElementpublic void apply(CellEditorElement.APPLYACTION action)
apply in interface CellEditorElementpublic abstract CellEditorElement withValue(java.lang.Object value)
withValue in interface CellEditorElementpublic void handle(javafx.scene.input.KeyEvent event)
handle in interface javafx.event.EventHandler<javafx.scene.input.KeyEvent>public boolean clearEditor()
public boolean onActive(boolean value)
onActive in interface CellEditorElementpublic boolean nextFocus()
nextFocus in interface CellEditorElementpublic void changed(javafx.beans.value.ObservableValue<? extends java.lang.Boolean> observable,
java.lang.Boolean oldValue,
java.lang.Boolean newValue)
changed in interface javafx.beans.value.ChangeListener<java.lang.Boolean>public EditControl<T> withListener(KeyListenerMap value)
public boolean isFocus()