| javax.swing.plaf.basic.BasicTreeUI org.isqlviewer.ui.laf.EnhancedTreeUI
EnhancedTreeUI | public class EnhancedTreeUI extends BasicTreeUI (Code) | | This TreeUI does some nicer things when it comes to dealing with the JOutline (JTreeTable) making it appear as a
single component.
This UI mainly addresses selection issues at this time where there is a distinct visual disconnect between the tree
being rendered within the table and the table itself.
author: Mark A. Kobold <mkobold at isqlviewer dot com> version: 1.0 |
paintRow | protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)(Code) | | Paints the renderer part of a row. The receiver should NOT modify clipBounds , or
insets .
|
Methods inherited from javax.swing.plaf.basic.BasicTreeUI | public void cancelEditing(JTree tree)(Code)(Java Doc) protected void checkForClickInExpandControl(TreePath path, int mouseX, int mouseY)(Code)(Java Doc) protected void completeEditing()(Code)(Java Doc) protected void completeEditing(boolean messageStop, boolean messageCancel, boolean messageTree)(Code)(Java Doc) protected void completeUIInstall()(Code)(Java Doc) protected void completeUIUninstall()(Code)(Java Doc) protected void configureLayoutCache()(Code)(Java Doc) protected CellEditorListener createCellEditorListener()(Code)(Java Doc) protected CellRendererPane createCellRendererPane()(Code)(Java Doc) protected ComponentListener createComponentListener()(Code)(Java Doc) protected TreeCellEditor createDefaultCellEditor()(Code)(Java Doc) protected TreeCellRenderer createDefaultCellRenderer()(Code)(Java Doc) protected FocusListener createFocusListener()(Code)(Java Doc) protected KeyListener createKeyListener()(Code)(Java Doc) protected AbstractLayoutCache createLayoutCache()(Code)(Java Doc) protected MouseListener createMouseListener()(Code)(Java Doc) protected AbstractLayoutCache.NodeDimensions createNodeDimensions()(Code)(Java Doc) protected PropertyChangeListener createPropertyChangeListener()(Code)(Java Doc) protected PropertyChangeListener createSelectionModelPropertyChangeListener()(Code)(Java Doc) protected TreeExpansionListener createTreeExpansionListener()(Code)(Java Doc) protected TreeModelListener createTreeModelListener()(Code)(Java Doc) protected TreeSelectionListener createTreeSelectionListener()(Code)(Java Doc) public static ComponentUI createUI(JComponent x)(Code)(Java Doc) protected void drawCentered(Component c, Graphics graphics, Icon icon, int x, int y)(Code)(Java Doc) protected void drawDashedHorizontalLine(Graphics g, int y, int x1, int x2)(Code)(Java Doc) protected void drawDashedVerticalLine(Graphics g, int x, int y1, int y2)(Code)(Java Doc) protected void ensureRowsAreVisible(int beginRow, int endRow)(Code)(Java Doc) public int getBaseline(JComponent c, int width, int height)(Code)(Java Doc) public Component.BaselineResizeBehavior getBaselineResizeBehavior(JComponent c)(Code)(Java Doc) protected TreeCellEditor getCellEditor()(Code)(Java Doc) protected TreeCellRenderer getCellRenderer()(Code)(Java Doc) public TreePath getClosestPathForLocation(JTree tree, int x, int y)(Code)(Java Doc) public Icon getCollapsedIcon()(Code)(Java Doc) public TreePath getEditingPath(JTree tree)(Code)(Java Doc) public Icon getExpandedIcon()(Code)(Java Doc) protected Color getHashColor()(Code)(Java Doc) protected int getHorizontalLegBuffer()(Code)(Java Doc) protected TreePath getLastChildPath(TreePath parent)(Code)(Java Doc) public int getLeftChildIndent()(Code)(Java Doc) public Dimension getMaximumSize(JComponent c)(Code)(Java Doc) public Dimension getMinimumSize(JComponent c)(Code)(Java Doc) protected TreeModel getModel()(Code)(Java Doc) public Rectangle getPathBounds(JTree tree, TreePath path)(Code)(Java Doc) public TreePath getPathForRow(JTree tree, int row)(Code)(Java Doc) public Dimension getPreferredMinSize()(Code)(Java Doc) public Dimension getPreferredSize(JComponent c)(Code)(Java Doc) public Dimension getPreferredSize(JComponent c, boolean checkConsistancy)(Code)(Java Doc) public int getRightChildIndent()(Code)(Java Doc) public int getRowCount(JTree tree)(Code)(Java Doc) public int getRowForPath(JTree tree, TreePath path)(Code)(Java Doc) protected int getRowHeight()(Code)(Java Doc) protected int getRowX(int row, int depth)(Code)(Java Doc) protected TreeSelectionModel getSelectionModel()(Code)(Java Doc) protected boolean getShowsRootHandles()(Code)(Java Doc) protected int getVerticalLegBuffer()(Code)(Java Doc) protected void handleExpandControlClick(TreePath path, int mouseX, int mouseY)(Code)(Java Doc) protected void installComponents()(Code)(Java Doc) protected void installDefaults()(Code)(Java Doc) protected void installKeyboardActions()(Code)(Java Doc) protected void installListeners()(Code)(Java Doc) public void installUI(JComponent c)(Code)(Java Doc) protected boolean isEditable()(Code)(Java Doc) public boolean isEditing(JTree tree)(Code)(Java Doc) protected boolean isLargeModel()(Code)(Java Doc) protected boolean isLeaf(int row)(Code)(Java Doc) protected boolean isLocationInExpandControl(TreePath path, int mouseX, int mouseY)(Code)(Java Doc) protected boolean isMultiSelectEvent(MouseEvent event)(Code)(Java Doc) protected boolean isRootVisible()(Code)(Java Doc) protected boolean isToggleEvent(MouseEvent event)(Code)(Java Doc) protected boolean isToggleSelectionEvent(MouseEvent event)(Code)(Java Doc) public void paint(Graphics g, JComponent c)(Code)(Java Doc) protected void paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)(Code)(Java Doc) protected void paintHorizontalLine(Graphics g, JComponent c, int y, int left, int right)(Code)(Java Doc) protected void paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)(Code)(Java Doc) protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)(Code)(Java Doc) protected void paintVerticalLine(Graphics g, JComponent c, int x, int top, int bottom)(Code)(Java Doc) protected void paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path)(Code)(Java Doc) protected void pathWasCollapsed(TreePath path)(Code)(Java Doc) protected void pathWasExpanded(TreePath path)(Code)(Java Doc) protected void prepareForUIInstall()(Code)(Java Doc) protected void prepareForUIUninstall()(Code)(Java Doc) protected void selectPathForEvent(TreePath path, MouseEvent event)(Code)(Java Doc) protected void setCellEditor(TreeCellEditor editor)(Code)(Java Doc) protected void setCellRenderer(TreeCellRenderer tcr)(Code)(Java Doc) public void setCollapsedIcon(Icon newG)(Code)(Java Doc) protected void setEditable(boolean newValue)(Code)(Java Doc) public void setExpandedIcon(Icon newG)(Code)(Java Doc) protected void setHashColor(Color color)(Code)(Java Doc) protected void setLargeModel(boolean largeModel)(Code)(Java Doc) public void setLeftChildIndent(int newAmount)(Code)(Java Doc) protected void setModel(TreeModel model)(Code)(Java Doc) public void setPreferredMinSize(Dimension newSize)(Code)(Java Doc) public void setRightChildIndent(int newAmount)(Code)(Java Doc) protected void setRootVisible(boolean newValue)(Code)(Java Doc) protected void setRowHeight(int rowHeight)(Code)(Java Doc) protected void setSelectionModel(TreeSelectionModel newLSM)(Code)(Java Doc) protected void setShowsRootHandles(boolean newValue)(Code)(Java Doc) protected boolean shouldPaintExpandControl(TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)(Code)(Java Doc) protected boolean startEditing(TreePath path, MouseEvent event)(Code)(Java Doc) public void startEditingAtPath(JTree tree, TreePath path)(Code)(Java Doc) public boolean stopEditing(JTree tree)(Code)(Java Doc) protected void toggleExpandState(TreePath path)(Code)(Java Doc) protected void uninstallComponents()(Code)(Java Doc) protected void uninstallDefaults()(Code)(Java Doc) protected void uninstallKeyboardActions()(Code)(Java Doc) protected void uninstallListeners()(Code)(Java Doc) public void uninstallUI(JComponent c)(Code)(Java Doc) protected void updateCachedPreferredSize()(Code)(Java Doc) protected void updateCellEditor()(Code)(Java Doc) protected void updateDepthOffset()(Code)(Java Doc) protected void updateExpandedDescendants(TreePath path)(Code)(Java Doc) protected void updateLayoutCacheExpandedNodes()(Code)(Java Doc) protected void updateRenderer()(Code)(Java Doc) protected void updateSize()(Code)(Java Doc)
|
|
|