|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
jaxx.runtime.swing.editor.MyDefaultCellEditor
public class MyDefaultCellEditor
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.DefaultCellEditor |
|---|
DefaultCellEditor.EditorDelegate |
| Field Summary | |
|---|---|
protected boolean |
requireSelect
|
| Fields inherited from class javax.swing.DefaultCellEditor |
|---|
clickCountToStart, delegate, editorComponent |
| Fields inherited from class javax.swing.AbstractCellEditor |
|---|
changeEvent, listenerList |
| Constructor Summary | |
|---|---|
protected |
MyDefaultCellEditor(JCheckBox checkBox)
|
protected |
MyDefaultCellEditor(JComboBox comboBox)
|
protected |
MyDefaultCellEditor(JTextField textField)
|
| Method Summary | |
|---|---|
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
|
boolean |
isRequireSelect()
|
static TableCellEditor |
newBooleanEditor()
|
static TableCellEditor |
newBooleanEditor(boolean requireSelect)
|
static TableCellEditor |
newBooleanEditor(Icon icon)
|
static TableCellEditor |
newBooleanEditor(Icon icon,
boolean requireSelect)
|
static TableCellEditor |
newEnumEditor(EnumEditor<?> editor)
|
static TableCellEditor |
newListEditor()
|
static TableCellEditor |
newListEditor(JComboBox editor)
|
static TableCellEditor |
newTextEditor()
|
void |
setRequireSelect(boolean requireSelect)
|
| Methods inherited from class javax.swing.DefaultCellEditor |
|---|
cancelCellEditing, getCellEditorValue, 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, removeCellEditorListener |
| Field Detail |
|---|
protected boolean requireSelect
| Constructor Detail |
|---|
protected MyDefaultCellEditor(JTextField textField)
protected MyDefaultCellEditor(JCheckBox checkBox)
protected MyDefaultCellEditor(JComboBox comboBox)
| Method Detail |
|---|
public static TableCellEditor newTextEditor()
public static TableCellEditor newBooleanEditor()
public static TableCellEditor newListEditor()
public static TableCellEditor newListEditor(JComboBox editor)
public static TableCellEditor newEnumEditor(EnumEditor<?> editor)
public static TableCellEditor newBooleanEditor(Icon icon)
public static TableCellEditor newBooleanEditor(Icon icon,
boolean requireSelect)
public static TableCellEditor newBooleanEditor(boolean requireSelect)
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
getTableCellEditorComponent in interface TableCellEditorgetTableCellEditorComponent in class DefaultCellEditorpublic boolean isRequireSelect()
public void setRequireSelect(boolean requireSelect)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||