KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > plaf > basic > BasicTreeUI

javax.swing.plaf.basic
Class BasicTreeUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.TreeUI
          extended by javax.swing.plaf.basic.BasicTreeUI
Direct Known Subclasses:
MetalTreeUI
See Also:
Top Examples, Source Code

public BasicTreeUI()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void cancelEditing(JTree tree)
See Also:
TreeUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected transient TreeCellEditor cellEditor
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void checkForClickInExpandControl(TreePath path,
                                            int mouseX,
                                            int mouseY)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected transient Icon collapsedIcon
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void completeEditing()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void completeEditing(boolean messageStop,
                               boolean messageCancel,
                               boolean messageTree)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void completeUIInstall()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void completeUIUninstall()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void configureLayoutCache()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected CellEditorListener createCellEditorListener()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected CellRendererPane createCellRendererPane()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected ComponentListener createComponentListener()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean createdCellEditor
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected TreeCellEditor createDefaultCellEditor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected TreeCellRenderer createDefaultCellRenderer()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean createdRenderer
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected FocusListener createFocusListener()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected KeyListener createKeyListener()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected AbstractLayoutCache createLayoutCache()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected MouseListener createMouseListener()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected AbstractLayoutCache.NodeDimensions createNodeDimensions()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected PropertyChangeListener createPropertyChangeListener()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected PropertyChangeListener createSelectionModelPropertyChangeListener()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected TreeExpansionListener createTreeExpansionListener()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected TreeModelListener createTreeModelListener()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected TreeSelectionListener createTreeSelectionListener()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ComponentUI createUI(JComponent x)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected transient TreeCellRenderer currentCellRenderer
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int depthOffset
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void drawCentered(Component c,
                            Graphics graphics,
                            Icon icon,
                            int x,
                            int y)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void drawDashedHorizontalLine(Graphics g,
                                        int y,
                                        int x1,
                                        int x2)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void drawDashedVerticalLine(Graphics g,
                                      int x,
                                      int y1,
                                      int y2)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Hashtable<TreePath,Boolean> drawingCache
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Component editingComponent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected TreePath editingPath
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int editingRow
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean editorHasDifferentSize
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void ensureRowsAreVisible(int beginRow,
                                    int endRow)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected transient Icon expandedIcon
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected TreeCellEditor getCellEditor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected TreeCellRenderer getCellRenderer()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TreePath getClosestPathForLocation(JTree tree,
                                          int x,
                                          int y)
See Also:
TreeUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Icon getCollapsedIcon()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TreePath getEditingPath(JTree tree)
See Also:
TreeUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Icon getExpandedIcon()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color getHashColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int getHorizontalLegBuffer()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected TreePath getLastChildPath(TreePath parent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getLeftChildIndent()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getMaximumSize(JComponent c)
See Also:
LayoutManager2.maximumLayoutSize(java.awt.Container), JComponent.getMaximumSize(), ComponentUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getMinimumSize(JComponent c)
See Also:
ComponentUI.getPreferredSize(javax.swing.JComponent), LayoutManager.minimumLayoutSize(java.awt.Container), JComponent.getMinimumSize()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected TreeModel getModel()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Rectangle getPathBounds(JTree tree,
                               TreePath path)
See Also:
TreeUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public TreePath getPathForRow(JTree tree,
                              int row)
See Also:
TreeUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getPreferredMinSize()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getPreferredSize(JComponent c)
See Also:
LayoutManager.preferredLayoutSize(java.awt.Container), JComponent.getPreferredSize(), ComponentUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getPreferredSize(JComponent c,
                                  boolean checkConsistancy)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getRightChildIndent()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getRowCount(JTree tree)
See Also:
TreeUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getRowForPath(JTree tree,
                         TreePath path)
See Also:
TreeUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int getRowHeight()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int getRowX(int row,
                      int depth)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected TreeSelectionModel getSelectionModel()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean getShowsRootHandles()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int getVerticalLegBuffer()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void handleExpandControlClick(TreePath path,
                                        int mouseX,
                                        int mouseY)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void installComponents()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void installDefaults()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void installKeyboardActions()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void installListeners()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void installUI(JComponent c)
See Also:
JComponent.updateUI(), JComponent.setUI(javax.swing.plaf.ComponentUI), ComponentUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean isEditable()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isEditing(JTree tree)
See Also:
TreeUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean isLargeModel()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean isLeaf(int row)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean isLocationInExpandControl(TreePath path,
                                            int mouseX,
                                            int mouseY)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean isMultiSelectEvent(MouseEvent event)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean isRootVisible()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean isToggleEvent(MouseEvent event)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean isToggleSelectionEvent(MouseEvent event)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean largeModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int lastSelectedRow
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int leftChildIndent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected AbstractLayoutCache.NodeDimensions nodeDimensions
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void paint(Graphics g,
                  JComponent c)
See Also:
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintExpandControl(Graphics g,
                                  Rectangle clipBounds,
                                  Insets insets,
                                  Rectangle bounds,
                                  TreePath path,
                                  int row,
                                  boolean isExpanded,
                                  boolean hasBeenExpanded,
                                  boolean isLeaf)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintHorizontalLine(Graphics g,
                                   JComponent c,
                                   int y,
                                   int left,
                                   int right)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintHorizontalPartOfLeg(Graphics g,
                                        Rectangle clipBounds,
                                        Insets insets,
                                        Rectangle bounds,
                                        TreePath path,
                                        int row,
                                        boolean isExpanded,
                                        boolean hasBeenExpanded,
                                        boolean isLeaf)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintRow(Graphics g,
                        Rectangle clipBounds,
                        Insets insets,
                        Rectangle bounds,
                        TreePath path,
                        int row,
                        boolean isExpanded,
                        boolean hasBeenExpanded,
                        boolean isLeaf)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintVerticalLine(Graphics g,
                                 JComponent c,
                                 int x,
                                 int top,
                                 int bottom)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintVerticalPartOfLeg(Graphics g,
                                      Rectangle clipBounds,
                                      Insets insets,
                                      TreePath path)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void pathWasCollapsed(TreePath path)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void pathWasExpanded(TreePath path)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Dimension preferredMinSize
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Dimension preferredSize
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void prepareForUIInstall()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void prepareForUIUninstall()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected CellRendererPane rendererPane
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int rightChildIndent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void selectPathForEvent(TreePath path,
                                  MouseEvent event)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void setCellEditor(TreeCellEditor editor)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void setCellRenderer(TreeCellRenderer tcr)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setCollapsedIcon(Icon newG)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void setEditable(boolean newValue)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setExpandedIcon(Icon newG)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void setHashColor(Color color)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void setLargeModel(boolean largeModel)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setLeftChildIndent(int newAmount)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void setModel(TreeModel model)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setPreferredMinSize(Dimension newSize)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setRightChildIndent(int newAmount)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void setRootVisible(boolean newValue)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void setRowHeight(int rowHeight)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void setSelectionModel(TreeSelectionModel newLSM)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void setShowsRootHandles(boolean newValue)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean shouldPaintExpandControl(TreePath path,
                                           int row,
                                           boolean isExpanded,
                                           boolean hasBeenExpanded,
                                           boolean isLeaf)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean startEditing(TreePath path,
                               MouseEvent event)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void startEditingAtPath(JTree tree,
                               TreePath path)
See Also:
TreeUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean stopEditing(JTree tree)
See Also:
TreeUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean stopEditingInCompleteEditing
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void toggleExpandState(TreePath path)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int totalChildIndent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected JTree tree
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected TreeModel treeModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected TreeSelectionModel treeSelectionModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected AbstractLayoutCache treeState
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void uninstallComponents()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void uninstallDefaults()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void uninstallKeyboardActions()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void uninstallListeners()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void uninstallUI(JComponent c)
See Also:
JComponent.updateUI(), ComponentUI.installUI(javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void updateCachedPreferredSize()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void updateCellEditor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void updateDepthOffset()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void updateExpandedDescendants(TreePath path)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void updateLayoutCacheExpandedNodes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void updateRenderer()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void updateSize()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean validCachedPreferredSize
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags