|
||||||||||
| 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 |
|---|
javax.swing.DefaultCellEditor.EditorDelegate |
| Field Summary | |
|---|---|
protected JComboBox |
iJComboBox
|
protected JComboBoxAutoCompletion |
iJComboBoxAutoCompletion
|
static java.lang.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(javax.swing.ComboBoxModel model)
Initialize the editor |
|
AbstractJComboboxEditor(JComboBox jcomboBox)
Initialize the editor |
|
AbstractJComboboxEditor(java.lang.Object[] values)
Initialize the editor |
|
| Method Summary | |
|---|---|
void |
enableAutocompletion()
|
java.lang.Object |
getCellEditorValue()
Return the value after the editor is done |
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.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 java.lang.String SOURCECODE_VERSION
protected JComboBox iJComboBox
protected JComboBoxAutoCompletion iJComboBoxAutoCompletion
| Constructor Detail |
|---|
public AbstractJComboboxEditor()
public AbstractJComboboxEditor(JComboBox jcomboBox)
public AbstractJComboboxEditor(java.lang.Object[] values)
public AbstractJComboboxEditor(javax.swing.ComboBoxModel model)
| Method Detail |
|---|
public void enableAutocompletion()
public java.lang.Object getCellEditorValue()
getCellEditorValue in interface javax.swing.CellEditorgetCellEditorValue in class javax.swing.DefaultCellEditor
public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column)
getTableCellEditorComponent in interface javax.swing.table.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 | |||||||||