|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICellEditor
Interface for a cell editor to be used in the jaret table.
| Method Summary | |
|---|---|
void |
dispose()
Dispose whatever resouces have been allocated. |
org.eclipse.swt.widgets.Control |
getEditorControl(JaretTable table,
IRow row,
IColumn column,
char typedKey)
Provide the Control for editing the value at row/column. |
int |
getPreferredHeight()
If the renderer *wishes* to be sized not the height of the cell, this method may be used to announce the preferred height of the control. |
boolean |
handleClick(JaretTable table,
IRow row,
IColumn column,
org.eclipse.swt.graphics.Rectangle drawingArea,
int x,
int y)
Handle a click on the cell. |
void |
stopEditing(boolean storeInput)
End editing. |
| Method Detail |
|---|
org.eclipse.swt.widgets.Control getEditorControl(JaretTable table,
IRow row,
IColumn column,
char typedKey)
This method may return null indicating that the editor will not supply a control.
table - the table requesting the editorrow - rowcolumn - columntypedKey - the character typed when invoking the editor (may be 0 if the editor was invoked without typing
any key)
void stopEditing(boolean storeInput)
storeInput - if true the editor shall save the current input.
boolean handleClick(JaretTable table,
IRow row,
IColumn column,
org.eclipse.swt.graphics.Rectangle drawingArea,
int x,
int y)
table - the jaret table callingrow - rowcolumn - columndrawingArea - the rectangle of the cellx - clicked coordinate xy - clicked coordinate y
void dispose()
int getPreferredHeight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||