Java Doc for EnhancedTreeUI.java in  » Database-Client » iSQL-Viewer » org » isqlviewer » ui » laf » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database Client » iSQL Viewer » org.isqlviewer.ui.laf 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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




Constructor Summary
public  EnhancedTreeUI(JOutline outline)
    

Method Summary
protected  voidpaintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf)
     Paints the renderer part of a row.


Constructor Detail
EnhancedTreeUI
public EnhancedTreeUI(JOutline outline)(Code)




Method Detail
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.



Fields inherited from javax.swing.plaf.basic.BasicTreeUI
protected transient TreeCellEditor cellEditor(Code)(Java Doc)
protected transient Icon collapsedIcon(Code)(Java Doc)
protected boolean createdCellEditor(Code)(Java Doc)
protected boolean createdRenderer(Code)(Java Doc)
protected transient TreeCellRenderer currentCellRenderer(Code)(Java Doc)
protected int depthOffset(Code)(Java Doc)
protected Hashtable<TreePath, Boolean> drawingCache(Code)(Java Doc)
protected Component editingComponent(Code)(Java Doc)
protected TreePath editingPath(Code)(Java Doc)
protected int editingRow(Code)(Java Doc)
protected boolean editorHasDifferentSize(Code)(Java Doc)
protected transient Icon expandedIcon(Code)(Java Doc)
protected boolean largeModel(Code)(Java Doc)
protected int lastSelectedRow(Code)(Java Doc)
protected int leftChildIndent(Code)(Java Doc)
protected AbstractLayoutCache.NodeDimensions nodeDimensions(Code)(Java Doc)
protected Dimension preferredMinSize(Code)(Java Doc)
protected Dimension preferredSize(Code)(Java Doc)
protected CellRendererPane rendererPane(Code)(Java Doc)
protected int rightChildIndent(Code)(Java Doc)
protected boolean stopEditingInCompleteEditing(Code)(Java Doc)
protected int totalChildIndent(Code)(Java Doc)
protected JTree tree(Code)(Java Doc)
protected TreeModel treeModel(Code)(Java Doc)
protected TreeSelectionModel treeSelectionModel(Code)(Java Doc)
protected AbstractLayoutCache treeState(Code)(Java Doc)
protected boolean validCachedPreferredSize(Code)(Java Doc)

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)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.