|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EditorStyleTableModel
This is a table model to define the editor style. It will only take effect if TableModel#isCellEditable(int, int)
returns true and your table is an instance of ContextSensitiveTable.
EditorStyleSupport
already to make sure the settings would take effect.
Field Summary | |
---|---|
static int |
EDITOR_STYLE_EDITABLE
Force the cell editor to be editable. |
static int |
EDITOR_STYLE_NORMAL
In this case, JIDE will not touch the existing setting of the cell editor and just use the editor default settings. |
static int |
EDITOR_STYLE_READ_ONLY
Although the cell is editable defined in TableModel#isCellEditable(int, int) , the cell is read only. |
static int |
EDITOR_STYLE_SELECT_ONLY
For combo box/spinner/slider based cell editors, the text field is not editable however the customer could select from the popup to change the value of the cell. |
Method Summary | |
---|---|
int |
getEditorStyleAt(int rowIndex,
int columnIndex)
Gets editor style at the cell. |
Field Detail |
---|
static final int EDITOR_STYLE_NORMAL
static final int EDITOR_STYLE_SELECT_ONLY
static final int EDITOR_STYLE_READ_ONLY
TableModel#isCellEditable(int, int)
, the cell is read only.
However, the customer would be able to select the content inside the cell and copy it out.
static final int EDITOR_STYLE_EDITABLE
Method Detail |
---|
int getEditorStyleAt(int rowIndex, int columnIndex)
rowIndex
- the row indexcolumnIndex
- the column index
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |