|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectewe.ui.TableModel.CellControl
This class is used to contain and control a Control that is used to edit data within a Cell in the TableModel.
| Field Summary | |
Point |
cell
The x (column) and y (row) of the cell being edited. |
Control |
control
The Control that is being used for editing. |
boolean |
exitOnDataChange
If this is true then as soon as data is changed the Control will exit - usually disappearing and leaving only the cell data itself. |
boolean |
exitOnLostFocus
If this is true then the Control will "exit" if it loses focus - usually this means disappearing and leaving only the cell data itself. |
boolean |
exitOnPopupClosed
If this is true then as soon as any popup Frame shown by the Control is closed the Control will exit - usually disappearing and leaving only the cell data itself. |
boolean |
popupOnly
If this is true then the Control is assumed to show a popup frame when displayed. |
boolean |
takeFirstPress
If this is true then the same mouse/pen press used to activate the CellControl is passed to the Control itself. |
| Constructor Summary | |
TableModel.CellControl(Point cell,
Control control)
|
|
| Method Summary | |
void |
exit()
|
void |
onEvent(Event ev)
|
protected void |
setControl(Control control)
|
void |
show(int how)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, toString |
| Field Detail |
public Point cell
public Control control
public boolean exitOnLostFocus
public boolean takeFirstPress
public boolean exitOnDataChange
public boolean exitOnPopupClosed
public boolean popupOnly
| Constructor Detail |
public TableModel.CellControl(Point cell,
Control control)
| Method Detail |
protected void setControl(Control control)
public void exit()
public void show(int how)
public void onEvent(Event ev)
onEvent in interface EventListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||