Java Doc for TableColumnTreeCellRenderer.java in  » IDE-Netbeans » etl.project » org » netbeans » modules » sql » framework » ui » view » 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 » IDE Netbeans » etl.project » org.netbeans.modules.sql.framework.ui.view 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JPanel
   org.netbeans.modules.sql.framework.ui.view.TableColumnTreeCellRenderer

TableColumnTreeCellRenderer
public class TableColumnTreeCellRenderer extends JPanel implements TreeCellRenderer(Code)

author:
   Jonathan Giron
version:
   $Revision$


Field Summary
protected  ColorbackgroundNonSelectionColor
     Color to use for the background when the node isn't selected.
protected  ColorbackgroundSelectionColor
     Color to use for the background when a node is selected.
protected  ColorborderSelectionColor
     Color to use for the focus indicator when the node has focus.
protected  booleanhasFocus
     True if has focus.
protected  booleanselected
     Is the value currently selected.
protected  ColortextNonSelectionColor
     Color to use for the foreground for non-selected nodes.
protected  ColortextSelectionColor
     Color to use for the foreground for selected nodes.

Constructor Summary
public  TableColumnTreeCellRenderer()
     Constructor TableColumnTreeCellRenderer constructs this object.

Method Summary
public  ColorgetBackgroundNonSelectionColor()
     Returns the background color to be used for non selected nodes.
public  ColorgetBackgroundSelectionColor()
     Returns the color to use for the background if node is selected.
public  ColorgetBorderSelectionColor()
     Returns the color the border is drawn.
public  ColorgetTextNonSelectionColor()
     Returns the color the text is drawn with when the node isn't selected.
public  ColorgetTextSelectionColor()
     Returns the color the text is drawn with when the node is selected.
public  ComponentgetTreeCellRendererComponent(JTree theTree, Object value, boolean selected1, boolean expanded, boolean leaf, int row, boolean hasFocus1)
     Sets the value of the current tree cell to value.
public  booleanisMouseClickOnCheckBox(Point p)
     method isMouseClickOnCheckBox is used to determine if the user has clicked the mouse on the checkbox.
public  voidsetBackgroundNonSelectionColor(Color newColor)
     Sets the background color to be used for non selected nodes.
public  voidsetBackgroundSelectionColor(Color newColor)
     Sets the color to use for the background if node is selected.
public  voidsetBorderSelectionColor(Color newColor)
     Sets the color to use for the border.
public  voidsetTextNonSelectionColor(Color newColor)
     Sets the color the text is drawn with when the node isn't selected.
public  voidsetTextSelectionColor(Color newColor)
     Sets the color the text is drawn with when the node is selected.

Field Detail
backgroundNonSelectionColor
protected Color backgroundNonSelectionColor(Code)
Color to use for the background when the node isn't selected.



backgroundSelectionColor
protected Color backgroundSelectionColor(Code)
Color to use for the background when a node is selected.



borderSelectionColor
protected Color borderSelectionColor(Code)
Color to use for the focus indicator when the node has focus.



hasFocus
protected boolean hasFocus(Code)
True if has focus.



selected
protected boolean selected(Code)
Is the value currently selected.



textNonSelectionColor
protected Color textNonSelectionColor(Code)
Color to use for the foreground for non-selected nodes.



textSelectionColor
protected Color textSelectionColor(Code)
Color to use for the foreground for selected nodes.




Constructor Detail
TableColumnTreeCellRenderer
public TableColumnTreeCellRenderer()(Code)
Constructor TableColumnTreeCellRenderer constructs this object.




Method Detail
getBackgroundNonSelectionColor
public Color getBackgroundNonSelectionColor()(Code)
Returns the background color to be used for non selected nodes. Color for the nonselection color



getBackgroundSelectionColor
public Color getBackgroundSelectionColor()(Code)
Returns the color to use for the background if node is selected. Color is the new background selection color.



getBorderSelectionColor
public Color getBorderSelectionColor()(Code)
Returns the color the border is drawn. Color of the border selection



getTextNonSelectionColor
public Color getTextNonSelectionColor()(Code)
Returns the color the text is drawn with when the node isn't selected. Color of the text non selection.



getTextSelectionColor
public Color getTextSelectionColor()(Code)
Returns the color the text is drawn with when the node is selected. Color of text selection



getTreeCellRendererComponent
public Component getTreeCellRendererComponent(JTree theTree, Object value, boolean selected1, boolean expanded, boolean leaf, int row, boolean hasFocus1)(Code)
Sets the value of the current tree cell to value. If selected is true, the cell will be drawn as if selected. If expanded is true the node is currently expanded and if leaf is true the node represets a leaf and if hasFocus is true the node currently has focus. tree is the JTree the receiver is being configured for. Returns the Component that the renderer uses to draw the value.
Parameters:
  theTree - is the tree whose renderer component is requested
Parameters:
  value - is the object that is to be in focus
Parameters:
  selected1 - is true if the object is selected
Parameters:
  expanded - is true if the object is expanded
Parameters:
  leaf - is true if the object is a leaf node
Parameters:
  row - is the row of the object
Parameters:
  hasFocus1 - is true if the object has focus the Component that the renderer uses to draw the value



isMouseClickOnCheckBox
public boolean isMouseClickOnCheckBox(Point p)(Code)
method isMouseClickOnCheckBox is used to determine if the user has clicked the mouse on the checkbox.
Parameters:
  p - is the point to check boolean true if the user has clicked on the checkbox.



setBackgroundNonSelectionColor
public void setBackgroundNonSelectionColor(Color newColor)(Code)
Sets the background color to be used for non selected nodes.
Parameters:
  newColor - is the new color for background nonselection



setBackgroundSelectionColor
public void setBackgroundSelectionColor(Color newColor)(Code)
Sets the color to use for the background if node is selected.
Parameters:
  newColor - is the new background selection color to use.



setBorderSelectionColor
public void setBorderSelectionColor(Color newColor)(Code)
Sets the color to use for the border.
Parameters:
  newColor - is the new color for border selection



setTextNonSelectionColor
public void setTextNonSelectionColor(Color newColor)(Code)
Sets the color the text is drawn with when the node isn't selected.
Parameters:
  newColor - is the new color for text nonselection



setTextSelectionColor
public void setTextSelectionColor(Color newColor)(Code)
Sets the color the text is drawn with when the node is selected.
Parameters:
  newColor - is the new color for text selection



Methods inherited from javax.swing.JPanel
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public PanelUI getUI()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void setUI(PanelUI ui)(Code)(Java Doc)
public void updateUI()(Code)(Java Doc)

w_w__w___._j___a__v_a__2s__._c__o_m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.