public class CategoryImmediateEditor extends DefaultTreeCellEditor
DefaultTreeCellEditor.DefaultTextField, DefaultTreeCellEditor.EditorContainer
Modifier and Type | Field and Description |
---|---|
protected Icon |
editingIcon |
borderSelectionColor, canEdit, editingComponent, editingContainer, font, lastPath, lastRow, offset, realEditor, timer, tree
Constructor and Description |
---|
CategoryImmediateEditor(JTree tree,
CategoryNodeRenderer renderer,
CategoryNodeEditor editor) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEditImmediately(EventObject e) |
protected void |
determineOffset(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row) |
boolean |
inCheckBoxHitRegion(MouseEvent e) |
boolean |
shouldSelectCell(EventObject e) |
actionPerformed, addCellEditorListener, cancelCellEditing, createContainer, createTreeCellEditor, getBorderSelectionColor, getCellEditorListeners, getCellEditorValue, getFont, getTreeCellEditorComponent, inHitRegion, isCellEditable, prepareForEditing, removeCellEditorListener, setBorderSelectionColor, setFont, setTree, shouldStartEditingTimer, startEditingTimer, stopCellEditing, valueChanged
protected Icon editingIcon
public CategoryImmediateEditor(JTree tree, CategoryNodeRenderer renderer, CategoryNodeEditor editor)
public boolean shouldSelectCell(EventObject e)
shouldSelectCell
in interface CellEditor
shouldSelectCell
in class DefaultTreeCellEditor
public boolean inCheckBoxHitRegion(MouseEvent e)
protected boolean canEditImmediately(EventObject e)
canEditImmediately
in class DefaultTreeCellEditor
protected void determineOffset(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
determineOffset
in class DefaultTreeCellEditor
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.