
com.extjs.gxt.ui.client.widget.grid.CellEditor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxt Show documentation
Show all versions of gxt Show documentation
Rich Internet Application Framework for GWT
/*
* Sencha GXT 2.3.0 - Sencha for GWT
* Copyright(c) 2007-2013, Sencha, Inc.
* [email protected]
*
* http://www.sencha.com/products/gxt/license/
*/
package com.extjs.gxt.ui.client.widget.grid;
import com.extjs.gxt.ui.client.widget.Editor;
import com.extjs.gxt.ui.client.widget.form.Field;
import com.extjs.gxt.ui.client.widget.form.TriggerField;
/**
* Cell based Editor
for Grid.
*/
public class CellEditor extends Editor {
/**
* The current row.
*/
public int row;
/**
* The current column.
*/
public int col;
/**
* Creates a new cell editor.
*
* @param field the editor's field
*/
public CellEditor(Field extends Object> field) {
super(field);
setAlignment("tl-tl");
addStyleName("x-small-editor x-grid-editor");
shim = false;
setShadow(false);
if (field instanceof TriggerField>) {
((TriggerField extends Object>) field).setMonitorTab(false);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy