public class CategoryAbstractCellEditor extends Object implements TableCellEditor, TreeCellEditor
Modifier and Type | Field and Description |
---|---|
protected ChangeEvent |
_changeEvent |
protected int |
_clickCountToStart |
protected EventListenerList |
_listenerList |
protected Object |
_value |
Constructor and Description |
---|
CategoryAbstractCellEditor() |
Modifier and Type | Method and Description |
---|---|
void |
addCellEditorListener(CellEditorListener l) |
void |
cancelCellEditing() |
protected void |
fireEditingCanceled() |
protected void |
fireEditingStopped() |
Object |
getCellEditorValue() |
int |
getClickCountToStart() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
Component |
getTreeCellEditorComponent(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row) |
boolean |
isCellEditable(EventObject anEvent) |
void |
removeCellEditorListener(CellEditorListener l) |
void |
setCellEditorValue(Object value) |
void |
setClickCountToStart(int count) |
boolean |
shouldSelectCell(EventObject anEvent) |
boolean |
stopCellEditing() |
protected EventListenerList _listenerList
protected ChangeEvent _changeEvent
protected int _clickCountToStart
public CategoryAbstractCellEditor()
public Object getCellEditorValue()
getCellEditorValue
in interface CellEditor
public void setCellEditorValue(Object value)
public void setClickCountToStart(int count)
public int getClickCountToStart()
public boolean isCellEditable(EventObject anEvent)
isCellEditable
in interface CellEditor
public boolean shouldSelectCell(EventObject anEvent)
shouldSelectCell
in interface CellEditor
public boolean stopCellEditing()
stopCellEditing
in interface CellEditor
public void cancelCellEditing()
cancelCellEditing
in interface CellEditor
public void addCellEditorListener(CellEditorListener l)
addCellEditorListener
in interface CellEditor
public void removeCellEditorListener(CellEditorListener l)
removeCellEditorListener
in interface CellEditor
public Component getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
getTreeCellEditorComponent
in interface TreeCellEditor
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface TableCellEditor
protected void fireEditingStopped()
protected void fireEditingCanceled()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses