|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gwtext.client.core.JsObject
com.gwtext.client.widgets.grid.UserCustomCellEditor
public class UserCustomCellEditor
Custom cell editor. This class will create a custom editor called by ColumnModel.getCellEditor. By default, the cell editor can be set in ColumnModel on a per column basis. In cases where values or different editors are needed depending on column and rows, this class is used to in ColumnModel.setUserCustomEditor
Field Summary |
---|
Fields inherited from class com.gwtext.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
UserCustomCellEditor()
Empty constructor |
|
UserCustomCellEditor(com.google.gwt.core.client.JavaScriptObject jsObject)
Constructor based on the JavaScriptObject passed |
Method Summary | |
---|---|
protected void |
createFunctionality()
New functionality added to the extjs. |
GridEditor |
getCellEditor(int colIndex,
int rowIndex)
This method return null by default. |
protected com.google.gwt.core.client.JavaScriptObject |
getPluginCustomEditorJ(int colIndex,
int rowIndex)
Method called in Javascript to get the javascript instance of a GridEditor based on the column and row index |
boolean |
isCellEditable(int colIndex,
int rowIndex)
This method is called to find out if the cell is editable This method should be overwritten; by default, it returns false. |
Methods inherited from class com.gwtext.client.core.JsObject |
---|
getJsObj, getProperties, isCreated, setJsObj |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserCustomCellEditor(com.google.gwt.core.client.JavaScriptObject jsObject)
jsObject
- the instance of UserCustomCellEditor in javascriptpublic UserCustomCellEditor()
Method Detail |
---|
protected void createFunctionality()
protected com.google.gwt.core.client.JavaScriptObject getPluginCustomEditorJ(int colIndex, int rowIndex)
colIndex
- the column indexrowIndex
- the row index
public GridEditor getCellEditor(int colIndex, int rowIndex)
colIndex
- the column indexrowIndex
- the row index
public boolean isCellEditable(int colIndex, int rowIndex)
colIndex
- the column indexrowIndex
- the row index
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |