|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
org.openrdf.sesame.config.ui.XCellEditor
WRITEME
| Constructor Summary | |
XCellEditor(JCheckBox checkBox,
XTable table)
Creates a new XCellEditor with the supplied check box and XTable |
|
XCellEditor(JComboBox comboBox,
XTable table)
Creates a new XCellEditor with the supplied combo box and XTable |
|
XCellEditor(JTextField text,
XTable table)
Creates a new XCellEditor with the supplied text and XTable |
|
| Method Summary | |
void |
cancelCellEditing()
If editing is canceled, removes the new row |
boolean |
isValid()
Checks if the input is validate |
void |
setValue(Object value)
Sets this value to the supplied value |
boolean |
shouldSelectCell(EventObject o)
Focusses on the editor |
boolean |
stopCellEditing()
Validates the input |
| Methods inherited from class javax.swing.DefaultCellEditor |
getCellEditorValue, getClickCountToStart, getComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart |
| Methods inherited from class javax.swing.AbstractCellEditor |
addCellEditorListener, getCellEditorListeners, removeCellEditorListener |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.CellEditor |
addCellEditorListener, removeCellEditorListener |
| Constructor Detail |
public XCellEditor(JTextField text,
XTable table)
text - Text fieldtable - XTable
public XCellEditor(JComboBox comboBox,
XTable table)
comboBox - Combo boxtable - XTable
public XCellEditor(JCheckBox checkBox,
XTable table)
checkBox - Check boxtable - XTable| Method Detail |
public boolean stopCellEditing()
DefaultCellEditor.stopCellEditing()public void cancelCellEditing()
DefaultCellEditor.cancelCellEditing()public boolean shouldSelectCell(EventObject o)
DefaultCellEditor.shouldSelectCell(java.util.EventObject)public void setValue(Object value)
value - Valuepublic boolean isValid()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||