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 Object _value
protected ChangeEvent _changeEvent
protected int _clickCountToStart
public Object getCellEditorValue()
getCellEditorValue in interface CellEditorpublic void setCellEditorValue(Object value)
public void setClickCountToStart(int count)
public int getClickCountToStart()
public boolean isCellEditable(EventObject anEvent)
isCellEditable in interface CellEditorpublic boolean shouldSelectCell(EventObject anEvent)
shouldSelectCell in interface CellEditorpublic boolean stopCellEditing()
stopCellEditing in interface CellEditorpublic void cancelCellEditing()
cancelCellEditing in interface CellEditorpublic void addCellEditorListener(CellEditorListener l)
addCellEditorListener in interface CellEditorpublic void removeCellEditorListener(CellEditorListener l)
removeCellEditorListener in interface CellEditorpublic Component getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
getTreeCellEditorComponent in interface TreeCellEditorpublic Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditorprotected void fireEditingStopped()
protected void fireEditingCanceled()
Copyright © 2015–2019 The veraPDF Consortium. All rights reserved.