Java Doc for JCCellRenderer.java in  » Swing-Library » abeille-forms-designer » org » netbeans » editor » ext » java » 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 » Swing Library » abeille forms designer » org.netbeans.editor.ext.java 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JPanel
   org.netbeans.editor.ext.java.JCCellRenderer

JCCellRenderer
public class JCCellRenderer extends JPanel implements ListCellRenderer(Code)
Java completion query specifications
author:
   Miloslav Metelka
version:
   1.00


Field Summary
final public static  intCLASS_COLOR
    
final public static  intCLASS_ICON
    
final public static  intCONSTRUCTOR_COLOR
    
final public static  intCONSTRUCTOR_ICON
    
final public static  intFIELD_COLOR
    
final public static  intFIELD_ICON
    
final public static  intFIELD_STATIC_COLOR
    
final public static  intFIELD_STATIC_ICON
    
final public static  intINTERFACE_COLOR
    
final public static  intINTERFACE_ICON
    
final public static  intKEYWORD_COLOR
    
final public static  intMETHOD_COLOR
    
final public static  intMETHOD_ICON
    
final public static  intMETHOD_STATIC_COLOR
    
final public static  intMETHOD_STATIC_ICON
    
final public static  intPACKAGE_COLOR
    
final public static  intPACKAGE_ICON
    
final public static  intPARAMETER_NAME_COLOR
    
final public static  intTYPE_COLOR
    
protected  booleanclassDisplayFullName
    
protected  intclassDisplayOffset
    
 Color[]colors
    
protected  booleandisplayStaticWord
    
protected  intdrawHeight
    
protected  intdrawX
    
protected  intdrawY
    
 Icon[]icons
    
protected  booleanisSelected
    
protected  JListlist
    
protected  booleanpackageLastNameOnly
    
final static  longserialVersionUID
    
protected  Objectvalue
    
 Mapwidths
    

Constructor Summary
public  JCCellRenderer()
    

Method Summary
protected  voiddraw(Graphics g)
    
protected  voiddrawClass(Graphics g, JCClass cls)
    
protected  voiddrawConstructor(Graphics g, JCConstructor ctr)
    
protected  voiddrawExceptions(Graphics g, JCConstructor ctr)
    
protected  voiddrawField(Graphics g, JCField fld)
    
protected  voiddrawIcon(Graphics g, Icon icon)
     Draw the icon if it is valid for the given type.
protected  voiddrawMethod(Graphics g, JCMethod mtd)
    
protected  voiddrawPackage(Graphics g, JCPackage pkg)
    
protected  voiddrawParameter(Graphics g, JCParameter prm)
    
protected  voiddrawParameterList(Graphics g, JCConstructor ctr)
    
protected  voiddrawString(Graphics g, String s)
    
protected  voiddrawString(Graphics g, String s, int type)
    
protected  voiddrawString(Graphics g, String s, Color c)
     Draw string with given color which is first possibly modified by calling getColor() method to care about selection etc.
protected  voiddrawStringToGraphics(Graphics g, String s)
    
protected  voiddrawType(Graphics g, JCType typ)
    
protected  ColorgetColor(String s, Color defaultColor)
    
public  intgetIconTextGap()
    
public  ComponentgetListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
    
public  DimensiongetPreferredSize()
    
protected  ColorgetTypeColor(String s)
    
protected  intgetWidth(String s)
    
public  voidpaintComponent(Graphics g)
    
public  voidsetClassDisplayFullName(boolean classDisplayFullName)
    
public  voidsetClassDisplayOffset(int classDisplayOffset)
    
public  voidsetDisplayStaticWord(boolean displayStaticWord)
    
public  voidsetFont(Font font)
    
public  voidsetForeColor(Color color, int type)
    
public  voidsetForeColor(Color color, int type, int level)
    
public  voidsetIcon(Icon icon, int type)
    
public  voidsetIcon(Icon icon, int type, int level)
    
public  voidsetIconTextGap(int iconTextGap)
    
public  voidsetPackageLastNameOnly(boolean packageLastNameOnly)
    

Field Detail
CLASS_COLOR
final public static int CLASS_COLOR(Code)



CLASS_ICON
final public static int CLASS_ICON(Code)



CONSTRUCTOR_COLOR
final public static int CONSTRUCTOR_COLOR(Code)



CONSTRUCTOR_ICON
final public static int CONSTRUCTOR_ICON(Code)



FIELD_COLOR
final public static int FIELD_COLOR(Code)



FIELD_ICON
final public static int FIELD_ICON(Code)



FIELD_STATIC_COLOR
final public static int FIELD_STATIC_COLOR(Code)



FIELD_STATIC_ICON
final public static int FIELD_STATIC_ICON(Code)



INTERFACE_COLOR
final public static int INTERFACE_COLOR(Code)



INTERFACE_ICON
final public static int INTERFACE_ICON(Code)



KEYWORD_COLOR
final public static int KEYWORD_COLOR(Code)



METHOD_COLOR
final public static int METHOD_COLOR(Code)



METHOD_ICON
final public static int METHOD_ICON(Code)



METHOD_STATIC_COLOR
final public static int METHOD_STATIC_COLOR(Code)



METHOD_STATIC_ICON
final public static int METHOD_STATIC_ICON(Code)



PACKAGE_COLOR
final public static int PACKAGE_COLOR(Code)



PACKAGE_ICON
final public static int PACKAGE_ICON(Code)



PARAMETER_NAME_COLOR
final public static int PARAMETER_NAME_COLOR(Code)



TYPE_COLOR
final public static int TYPE_COLOR(Code)



classDisplayFullName
protected boolean classDisplayFullName(Code)



classDisplayOffset
protected int classDisplayOffset(Code)



colors
Color[] colors(Code)



displayStaticWord
protected boolean displayStaticWord(Code)



drawHeight
protected int drawHeight(Code)



drawX
protected int drawX(Code)



drawY
protected int drawY(Code)



icons
Icon[] icons(Code)



isSelected
protected boolean isSelected(Code)



list
protected JList list(Code)



packageLastNameOnly
protected boolean packageLastNameOnly(Code)



serialVersionUID
final static long serialVersionUID(Code)



value
protected Object value(Code)



widths
Map widths(Code)




Constructor Detail
JCCellRenderer
public JCCellRenderer()(Code)




Method Detail
draw
protected void draw(Graphics g)(Code)



drawClass
protected void drawClass(Graphics g, JCClass cls)(Code)



drawConstructor
protected void drawConstructor(Graphics g, JCConstructor ctr)(Code)



drawExceptions
protected void drawExceptions(Graphics g, JCConstructor ctr)(Code)



drawField
protected void drawField(Graphics g, JCField fld)(Code)



drawIcon
protected void drawIcon(Graphics g, Icon icon)(Code)
Draw the icon if it is valid for the given type. Here the initial drawing assignments are also done.



drawMethod
protected void drawMethod(Graphics g, JCMethod mtd)(Code)



drawPackage
protected void drawPackage(Graphics g, JCPackage pkg)(Code)



drawParameter
protected void drawParameter(Graphics g, JCParameter prm)(Code)



drawParameterList
protected void drawParameterList(Graphics g, JCConstructor ctr)(Code)



drawString
protected void drawString(Graphics g, String s)(Code)
Draw string using the foreground color



drawString
protected void drawString(Graphics g, String s, int type)(Code)



drawString
protected void drawString(Graphics g, String s, Color c)(Code)
Draw string with given color which is first possibly modified by calling getColor() method to care about selection etc.



drawStringToGraphics
protected void drawStringToGraphics(Graphics g, String s)(Code)



drawType
protected void drawType(Graphics g, JCType typ)(Code)



getColor
protected Color getColor(String s, Color defaultColor)(Code)



getIconTextGap
public int getIconTextGap()(Code)



getListCellRendererComponent
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)(Code)



getPreferredSize
public Dimension getPreferredSize()(Code)



getTypeColor
protected Color getTypeColor(String s)(Code)



getWidth
protected int getWidth(String s)(Code)



paintComponent
public void paintComponent(Graphics g)(Code)



setClassDisplayFullName
public void setClassDisplayFullName(boolean classDisplayFullName)(Code)



setClassDisplayOffset
public void setClassDisplayOffset(int classDisplayOffset)(Code)



setDisplayStaticWord
public void setDisplayStaticWord(boolean displayStaticWord)(Code)



setFont
public void setFont(Font font)(Code)



setForeColor
public void setForeColor(Color color, int type)(Code)



setForeColor
public void setForeColor(Color color, int type, int level)(Code)



setIcon
public void setIcon(Icon icon, int type)(Code)



setIcon
public void setIcon(Icon icon, int type, int level)(Code)



setIconTextGap
public void setIconTextGap(int iconTextGap)(Code)



setPackageLastNameOnly
public void setPackageLastNameOnly(boolean packageLastNameOnly)(Code)



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)

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