|
||||||||||
| 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.tbee.swing.table.DefaultCellEditor
org.tbee.swing.table.AbstractJComboboxEditor
public class AbstractJComboboxEditor
The class edits a boolean value using a checkbox (improves visualisation)
,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.DefaultCellEditor |
|---|
DefaultCellEditor.EditorDelegate |
| Field Summary | |
|---|---|
protected JComboBox |
iJComboBox
|
protected JComboBoxAutoCompletion |
iJComboBoxAutoCompletion
|
static String |
SOURCECODE_VERSION
Standard variable for determining version of a class file. |
| Fields inherited from class javax.swing.DefaultCellEditor |
|---|
clickCountToStart, delegate, editorComponent |
| Fields inherited from class javax.swing.AbstractCellEditor |
|---|
changeEvent, listenerList |
| Constructor Summary | |
|---|---|
AbstractJComboboxEditor()
Initialize the editor |
|
AbstractJComboboxEditor(ComboBoxModel model)
Initialize the editor |
|
AbstractJComboboxEditor(JComboBox jcomboBox)
Initialize the editor |
|
AbstractJComboboxEditor(Object[] values)
Initialize the editor |
|
| Method Summary | |
|---|---|
void |
enableAutocompletion()
|
Object |
getCellEditorValue()
Return the value after the editor is done |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
Return the component that is shown in the cell in the table. |
void |
requestFocus()
Set the focus on the checkBox |
| Methods inherited from class org.tbee.swing.table.DefaultCellEditor |
|---|
useAsRenderer |
| Methods inherited from class javax.swing.DefaultCellEditor |
|---|
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing |
| Methods inherited from class javax.swing.AbstractCellEditor |
|---|
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.CellEditor |
|---|
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
| Field Detail |
|---|
public static final String SOURCECODE_VERSION
protected JComboBox iJComboBox
protected JComboBoxAutoCompletion iJComboBoxAutoCompletion
| Constructor Detail |
|---|
public AbstractJComboboxEditor()
public AbstractJComboboxEditor(JComboBox jcomboBox)
public AbstractJComboboxEditor(Object[] values)
public AbstractJComboboxEditor(ComboBoxModel model)
| Method Detail |
|---|
public void enableAutocompletion()
public Object getCellEditorValue()
getCellEditorValue in interface CellEditorgetCellEditorValue in class DefaultCellEditor
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
getTableCellEditorComponent in interface TableCellEditorgetTableCellEditorComponent in class DefaultCellEditorpublic void requestFocus()
requestFocus in class DefaultCellEditor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||