public class CategoryNodeEditor extends CategoryAbstractCellEditor
Modifier and Type | Field and Description |
---|---|
protected CategoryExplorerModel |
_categoryModel |
protected JCheckBox |
_checkBox |
protected CategoryNode |
_lastEditedNode |
protected CategoryNodeEditorRenderer |
_renderer |
protected JTree |
_tree |
_changeEvent, _clickCountToStart, _listenerList, _value
Constructor and Description |
---|
CategoryNodeEditor(CategoryExplorerModel model) |
Modifier and Type | Method and Description |
---|---|
protected void |
collapse(CategoryNode node) |
protected void |
collapseDescendants(CategoryNode node) |
protected JMenuItem |
createCollapseMenuItem(CategoryNode node) |
protected JMenuItem |
createExpandMenuItem(CategoryNode node) |
protected JMenuItem |
createPropertiesMenuItem(CategoryNode node) |
protected JMenuItem |
createRemoveMenuItem()
This featured was moved from the LogBrokerMonitor class
to the CategoryNodeExplorer so that the Category tree
could be pruned from the Category Explorer popup menu.
|
protected JMenuItem |
createSelectDescendantsMenuItem(CategoryNode node) |
protected JMenuItem |
createUnselectDescendantsMenuItem(CategoryNode node) |
protected void |
expand(CategoryNode node) |
protected void |
expandDescendants(CategoryNode node) |
Object |
getCellEditorValue() |
protected Object |
getDisplayedProperties(CategoryNode node) |
Component |
getTreeCellEditorComponent(JTree tree,
Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row) |
protected TreePath |
getTreePath(CategoryNode node) |
protected int |
removeUnusedNodes()
Removes any inactive nodes from the Category tree.
|
protected void |
showPopup(CategoryNode node,
int x,
int y) |
protected void |
showPropertiesDialog(CategoryNode node) |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getClickCountToStart, getTableCellEditorComponent, isCellEditable, removeCellEditorListener, setCellEditorValue, setClickCountToStart, shouldSelectCell, stopCellEditing
protected CategoryNodeEditorRenderer _renderer
protected CategoryNode _lastEditedNode
protected JCheckBox _checkBox
protected CategoryExplorerModel _categoryModel
protected JTree _tree
public CategoryNodeEditor(CategoryExplorerModel model)
public Component getTreeCellEditorComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row)
getTreeCellEditorComponent
in interface TreeCellEditor
getTreeCellEditorComponent
in class CategoryAbstractCellEditor
public Object getCellEditorValue()
getCellEditorValue
in interface CellEditor
getCellEditorValue
in class CategoryAbstractCellEditor
protected JMenuItem createPropertiesMenuItem(CategoryNode node)
protected void showPropertiesDialog(CategoryNode node)
protected Object getDisplayedProperties(CategoryNode node)
protected void showPopup(CategoryNode node, int x, int y)
protected JMenuItem createSelectDescendantsMenuItem(CategoryNode node)
protected JMenuItem createUnselectDescendantsMenuItem(CategoryNode node)
protected JMenuItem createExpandMenuItem(CategoryNode node)
protected JMenuItem createCollapseMenuItem(CategoryNode node)
protected JMenuItem createRemoveMenuItem()
protected void expandDescendants(CategoryNode node)
protected void collapseDescendants(CategoryNode node)
protected int removeUnusedNodes()
protected void expand(CategoryNode node)
protected TreePath getTreePath(CategoryNode node)
protected void collapse(CategoryNode node)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.