|
||||||||||
| 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.AbstractBaseCellEditor
com.sage.swt.client.widget.table.editing.AbstractCellEditor
com.sage.swt.client.widget.table.editing.IntegerNonNegativeCellEditor
public class IntegerNonNegativeCellEditor
An IntegerNonNegativeCellEditor that can be used to edit Integer.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.sage.swt.client.widget.table.editing.TableCellEditor |
|---|
TableCellEditor.TableCallback<ColType>, TableCellEditor.TableCellEditInfo |
| Field Summary |
|---|
| Fields inherited from class com.sage.swt.client.widget.table.editing.AbstractCellEditor |
|---|
DEC_KEYCODE, DEC_NEGATIVE |
| Method Summary | |
|---|---|
protected void |
doOnKeyDown(int keyCode,
boolean isSHIFT)
Handles keys being pressed within the cell editor |
void |
doOpenEditor()
Handle the open of the editor box - used for editor with separator dialog box as editor |
com.google.gwt.user.client.ui.Focusable |
getFocusableWidget()
Get the focusable part of the cell editor widget |
static IntegerNonNegativeCellEditor |
getInstance()
|
java.lang.Integer |
getValue()
Get the new cell value from the editor. |
void |
setValue(java.lang.Object cellValue)
Set the cell value in the editor. |
| Methods inherited from class com.sage.swt.client.widget.table.editing.AbstractCellEditor |
|---|
doLostFocus, editCell, filterDecimalSeperator, filterDecKeys, filterNonNegativeDecKeys, getEditBoxDirty, getFormatInfo, getWidget, hideEditorPanel, selectText, setEditBoxDirty, setElementID, setName, setWidget |
| Methods inherited from class com.sage.swt.client.widget.table.editing.AbstractBaseCellEditor |
|---|
doCellUpdate, doComplete, doComplete, getOldValue, getTableCallback, getTableCellEditInfo, isValueChanged, setOldValue, setTableCallback, setTableCellEditInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setValue(java.lang.Object cellValue)
setValue in class AbstractBaseCellEditorcellValue - the value in the cellpublic java.lang.Integer getValue()
getValue in class AbstractBaseCellEditor
protected void doOnKeyDown(int keyCode,
boolean isSHIFT)
AbstractCellEditor
doOnKeyDown in class AbstractCellEditorkeyCode - The keycode of the key that was pressedisSHIFT - Whether the shift key was pressed or notpublic static IntegerNonNegativeCellEditor getInstance()
public void doOpenEditor()
doOpenEditor in interface TableCellEditor<java.lang.Object>doOpenEditor in class AbstractBaseCellEditorpublic com.google.gwt.user.client.ui.Focusable getFocusableWidget()
TableCellEditor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||