public abstract class Editor extends Object
SpreadsheetCell.
It reacts to all the possible events in order to submit or cancel the
displayed editor or the value entered.| Modifier and Type | Field and Description |
|---|---|
protected DataCell<?> |
cell
*
Protected/Private Fields *
*
|
protected InvalidationListener |
il |
protected SpreadsheetCell |
spreadsheetCell |
protected SpreadsheetView |
spreadsheetView |
| Constructor and Description |
|---|
Editor()
*
Constructor *
*
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
attachEnterEscapeEventHandler()
*
Protected Abstract Methods *
*
|
protected abstract void |
begin(DataCell<?> cell,
SpreadsheetCell bc) |
void |
begin(DataCell<?> cell,
SpreadsheetCell bc,
SpreadsheetView t)
Initialization of the Editor, called by SpreadsheetView.
|
protected abstract void |
cancelEdit() |
protected abstract DataCell<?> |
commitEdit() |
protected void |
end()
When we have finish editing.
|
protected abstract Control |
getControl() |
boolean |
isWorking() |
void |
startEdit()
In case the cell is spanning in rows.
|
protected DataCell<?> cell
protected SpreadsheetCell spreadsheetCell
protected SpreadsheetView spreadsheetView
protected InvalidationListener il
public void begin(DataCell<?> cell, SpreadsheetCell bc, SpreadsheetView t)
cell - bc - t - public void startEdit()
protected void end()
public boolean isWorking()
protected abstract void attachEnterEscapeEventHandler()
protected abstract void begin(DataCell<?> cell, SpreadsheetCell bc)
protected abstract void cancelEdit()
protected abstract DataCell<?> commitEdit()
protected abstract Control getControl()