edu.princeton.toy.choosers
Class TExceptionChooserPane.CheckBoxCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
edu.princeton.toy.choosers.TExceptionChooserPane.CheckBoxCellEditor
- All Implemented Interfaces:
- Serializable, CellEditor, TreeCellEditor
- Enclosing class:
- TExceptionChooserPane
protected class TExceptionChooserPane.CheckBoxCellEditor
- extends AbstractCellEditor
- implements TreeCellEditor
CheckBoxCellEditor provides a Component which edits a CheckBoxCell for the TExceptionChooser.
- See Also:
- Serialized Form
Method Summary |
Object |
getCellEditorValue()
Returns the value contained in the editor (that would be the CheckBoxCell we were given
to edit). |
Component |
getTreeCellEditorComponent(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
Implement TreeCellEditor to extract the CheckBoxCell from a DefaultMutableTreeNode,
configure its display properties, and return that component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TExceptionChooserPane.CheckBoxCellEditor
public TExceptionChooserPane.CheckBoxCellEditor()
- Creates a new CheckBoxCellEditor.
getCellEditorValue
public Object getCellEditorValue()
- Returns the value contained in the editor (that would be the CheckBoxCell we were given
to edit).
- Specified by:
getCellEditorValue
in interface CellEditor
getTreeCellEditorComponent
public Component getTreeCellEditorComponent(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
- Implement TreeCellEditor to extract the CheckBoxCell from a DefaultMutableTreeNode,
configure its display properties, and return that component.
- Specified by:
getTreeCellEditorComponent
in interface TreeCellEditor