|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.swt.client.widget.table.editing.TimeCellEditor
public class TimeCellEditor
An TimeCellEditor
that can be used to edit time fields.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.sage.swt.client.widget.table.editing.TableCellEditor |
---|
TableCellEditor.TableCallback<ColType>, TableCellEditor.TableCellEditInfo |
Method Summary | |
---|---|
void |
doComplete()
Handle the cell editng finish task, return the new cell value to the table. |
void |
doComplete(IRowDataCallback callback)
Handle the cell editng finish task, return the new cell value to the table. |
void |
doOnKeydown(com.google.gwt.event.dom.client.KeyDownEvent event)
|
void |
doOpenEditor()
Handle the open of the editor box - used for editor with separator dialog box as editor |
void |
editCell(boolean isTableReadOnly,
TableCellEditor.TableCellEditInfo cellEditInfo,
java.lang.Object cellValue,
RowData rowValue,
TableCellEditor.TableCallback<java.lang.Object> callback)
Handle a request to edit a cell. |
com.google.gwt.user.client.ui.Focusable |
getFocusableWidget()
Get the focusable part of the cell editor widget |
static TimeCellEditor |
getInstance(SwtErrorStack errorStack)
|
java.lang.String |
getValue()
Get the new cell value from the editor. |
com.google.gwt.user.client.ui.Widget |
getWidget()
Set the cell editor widget |
void |
onFocus(com.google.gwt.user.client.ui.Widget sender)
|
void |
onLostFocus(com.google.gwt.user.client.ui.Widget sender)
|
void |
setElementID(java.lang.String elementID)
|
protected void |
setValue(java.lang.Object cellValue)
Set the cell value in the editor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setElementID(java.lang.String elementID)
elementID
- public com.google.gwt.user.client.ui.Widget getWidget()
getWidget
in interface TableCellEditor<java.lang.Object>
public com.google.gwt.user.client.ui.Focusable getFocusableWidget()
getFocusableWidget
in interface TableCellEditor<java.lang.Object>
public java.lang.String getValue()
protected void setValue(java.lang.Object cellValue)
cellValue
- the value in the cellpublic void editCell(boolean isTableReadOnly, TableCellEditor.TableCellEditInfo cellEditInfo, java.lang.Object cellValue, RowData rowValue, TableCellEditor.TableCallback<java.lang.Object> callback)
editCell
in interface TableCellEditor<java.lang.Object>
isTableReadOnly
- the status of the table.cellEditInfo
- information about the source of the edit requestcellValue
- the value in the cell to editrowValue
- the row value of the current rowcallback
- callback used when editing is completepublic void doOnKeydown(com.google.gwt.event.dom.client.KeyDownEvent event)
event
- public void doComplete()
doComplete
in interface TableCellEditor<java.lang.Object>
public void doComplete(IRowDataCallback callback)
doComplete
in interface TableCellEditor<java.lang.Object>
public void onFocus(com.google.gwt.user.client.ui.Widget sender)
sender
- public void onLostFocus(com.google.gwt.user.client.ui.Widget sender)
sender
- public static TimeCellEditor getInstance(SwtErrorStack errorStack)
errorStack
-
public void doOpenEditor()
doOpenEditor
in interface TableCellEditor<java.lang.Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |