protected class XdevTree.XdevTreeUI extends MetalTreeUI
BasicTreeUI.CellEditorHandler, BasicTreeUI.ComponentHandler, BasicTreeUI.FocusHandler, BasicTreeUI.KeyHandler, BasicTreeUI.MouseHandler, BasicTreeUI.MouseInputHandler, BasicTreeUI.NodeDimensionsHandler, BasicTreeUI.PropertyChangeHandler, BasicTreeUI.SelectionModelPropertyChangeHandler, BasicTreeUI.TreeCancelEditingAction, BasicTreeUI.TreeExpansionHandler, BasicTreeUI.TreeHomeAction, BasicTreeUI.TreeIncrementAction, BasicTreeUI.TreeModelHandler, BasicTreeUI.TreePageAction, BasicTreeUI.TreeSelectionHandler, BasicTreeUI.TreeToggleAction, BasicTreeUI.TreeTraverseAction
cellEditor, collapsedIcon, createdCellEditor, createdRenderer, currentCellRenderer, depthOffset, drawingCache, editingComponent, editingPath, editingRow, editorHasDifferentSize, expandedIcon, largeModel, lastSelectedRow, leftChildIndent, nodeDimensions, preferredMinSize, preferredSize, rendererPane, rightChildIndent, stopEditingInCompleteEditing, totalChildIndent, tree, treeModel, treeSelectionModel, treeState, validCachedPreferredSize
Modifier | Constructor and Description |
---|---|
protected |
XdevTreeUI() |
Modifier and Type | Method and Description |
---|---|
Rectangle |
getPathBounds(JTree tree,
TreePath path) |
void |
installUI(JComponent c) |
void |
paint(Graphics g0,
JComponent c) |
protected void |
paintHorizontalLine(Graphics g,
JComponent c,
int y,
int left,
int right) |
protected void |
paintRow(Graphics g,
Rectangle clipBounds,
Insets insets,
Rectangle r,
TreePath path,
int row,
boolean isExpanded,
boolean hasBeenExpanded,
boolean isLeaf) |
protected void |
paintVerticalLine(Graphics g,
JComponent c,
int x,
int top,
int bottom) |
createUI, decodeLineStyle, getHorizontalLegBuffer, isLocationInExpandControl, paintHorizontalPartOfLeg, paintHorizontalSeparators, paintVerticalPartOfLeg, uninstallUI
cancelEditing, checkForClickInExpandControl, completeEditing, completeEditing, completeUIInstall, completeUIUninstall, configureLayoutCache, createCellEditorListener, createCellRendererPane, createComponentListener, createDefaultCellEditor, createDefaultCellRenderer, createFocusListener, createKeyListener, createLayoutCache, createMouseListener, createNodeDimensions, createPropertyChangeListener, createSelectionModelPropertyChangeListener, createTreeExpansionListener, createTreeModelListener, createTreeSelectionListener, drawCentered, drawDashedHorizontalLine, drawDashedVerticalLine, ensureRowsAreVisible, getBaseline, getBaselineResizeBehavior, getCellEditor, getCellRenderer, getClosestPathForLocation, getCollapsedIcon, getDropLineRect, getEditingPath, getExpandedIcon, getHashColor, getLastChildPath, getLeadSelectionRow, getLeftChildIndent, getMaximumSize, getMinimumSize, getModel, getPathForRow, getPreferredMinSize, getPreferredSize, getPreferredSize, getRightChildIndent, getRowCount, getRowForPath, getRowHeight, getRowX, getSelectionModel, getShowsRootHandles, getVerticalLegBuffer, handleExpandControlClick, installComponents, installDefaults, installKeyboardActions, installListeners, isDropLine, isEditable, isEditing, isLargeModel, isLeaf, isLocationInExpandControl, isMultiSelectEvent, isRootVisible, isToggleEvent, isToggleSelectionEvent, paintDropLine, paintExpandControl, pathWasCollapsed, pathWasExpanded, prepareForUIInstall, prepareForUIUninstall, selectPathForEvent, setCellEditor, setCellRenderer, setCollapsedIcon, setEditable, setExpandedIcon, setHashColor, setLargeModel, setLeftChildIndent, setModel, setPreferredMinSize, setRightChildIndent, setRootVisible, setRowHeight, setSelectionModel, setShowsRootHandles, shouldPaintExpandControl, startEditing, startEditingAtPath, stopEditing, toggleExpandState, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, updateCachedPreferredSize, updateCellEditor, updateDepthOffset, updateExpandedDescendants, updateLayoutCacheExpandedNodes, updateLeadSelectionRow, updateRenderer, updateSize
contains, getAccessibleChild, getAccessibleChildrenCount, update
public void installUI(JComponent c)
installUI
in class MetalTreeUI
public Rectangle getPathBounds(JTree tree, TreePath path)
getPathBounds
in class BasicTreeUI
public void paint(Graphics g0, JComponent c)
paint
in class MetalTreeUI
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle r, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
paintRow
in class BasicTreeUI
protected void paintVerticalLine(Graphics g, JComponent c, int x, int top, int bottom)
paintVerticalLine
in class BasicTreeUI
protected void paintHorizontalLine(Graphics g, JComponent c, int y, int left, int right)
paintHorizontalLine
in class BasicTreeUI
Copyright © 2003–2021 XDEV Software. All rights reserved.