|
||||||||||
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.TextListComboCellEditor
public class TextListComboCellEditor
An TableCellEditor
that can be used to edit SwtTextComboBox
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.sage.swt.client.widget.table.editing.TableCellEditor |
---|
TableCellEditor.TableCallback<ColType>, TableCellEditor.TableCellEditInfo |
Constructor Summary | |
---|---|
TextListComboCellEditor(InstanceContext context,
WidgetDataBindingManager dataBindingManager,
java.lang.String datasourceid,
java.lang.String property)
|
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)
Handling the onKeydown 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 |
java.lang.Object |
getValue()
Get the new cell value from the editor. |
com.google.gwt.user.client.ui.Widget |
getWidget()
Set the cell editor widget |
void |
setElementID(java.lang.String elementID)
Set element id for this cell editor. |
void |
setFormatPattern(java.lang.String format)
Sets the data formatting pattern associated with this cell editor. |
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 |
Constructor Detail |
---|
public TextListComboCellEditor(InstanceContext context, WidgetDataBindingManager dataBindingManager, java.lang.String datasourceid, java.lang.String property)
context
- The context of this UI instance.dataBindingManager
- The {com.sage.swt.client.sdata.WidgetDataBindingManager} that
manages the data binding of properties to widgets.datasourceid
- Data source IDproperty
- Data binding propertyMethod Detail |
---|
public void setElementID(java.lang.String elementID)
elementID
- the element id for this cell editorpublic com.google.gwt.user.client.ui.Widget getWidget()
getWidget
in interface TableCellEditor<java.lang.Object>
public java.lang.Object getValue()
public void setFormatPattern(java.lang.String format)
format
- The data formatting pattern associated with this cell editor.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
- KeyDownEvent
public void doComplete()
doComplete
in interface TableCellEditor<java.lang.Object>
public void doComplete(IRowDataCallback callback)
doComplete
in interface TableCellEditor<java.lang.Object>
public void doOpenEditor()
doOpenEditor
in interface TableCellEditor<java.lang.Object>
public com.google.gwt.user.client.ui.Focusable getFocusableWidget()
getFocusableWidget
in interface TableCellEditor<java.lang.Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |