Java Doc for FancyBar.java in  » Chart » Chart2D_1.9.6k » net » sourceforge » chart2d » 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 » Chart » Chart2D_1.9.6k » net.sourceforge.chart2d 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sourceforge.chart2d.FancyShape
      net.sourceforge.chart2d.FancyBar

FancyBar
final class FancyBar extends FancyShape (Code)
A rectangle capable of automatic gradient paint, rounded corners on any single side, and warning region coloring.



Constructor Summary
 FancyBar()
     Values for x, y, width, height, and roundSide needs to be set before use.

Method Summary
final  floatgetArch()
    
final  floatgetArcw()
     Gets the radius of the (width) arc for the bar rounding.
final  intgetBaseValue()
     Gets the value at which the bar should not begin for that end should not be rounded.
final  Rectangle2D.FloatgetBounds()
     Gets the bounds for this bar (specifying the size and location of the bar).
final  Rectangle2D.FloatgetClipBounds()
     Gets the clip bounds for this bar (specifying what will show).
final  intgetDataSign()
     Gets which kinds of the data is graphed.
final  voidpaint(Graphics2D g2D)
     Paints the bar on the Graphics2D object after calling update.
final  voidsetArch(float h)
    
final  voidsetArcw(float w)
     Sets the radius of the (width) arc for the bar rounding.
final  voidsetBaseValue(int value)
     Sets the value at which the bar should not begin for that end should not be rounded.
final  voidsetBounds(Rectangle2D.Float b)
     Sets the bounds for this bar (specifying the size and location of the bar).
final  voidsetClipBounds(Rectangle2D.Float b)
     Sets the clip bounds for this bar (specifying what will show).
final  voidsetDataSign(int sign)
     Sets which kinds of the data is graphed.
final  voidupdate()
     Updates the FancyBar.


Constructor Detail
FancyBar
FancyBar()(Code)
Values for x, y, width, height, and roundSide needs to be set before use. Default rounding is squuare.




Method Detail
getArch
final float getArch()(Code)



getArcw
final float getArcw()(Code)
Gets the radius of the (width) arc for the bar rounding. The width arc radius.



getBaseValue
final int getBaseValue()(Code)
Gets the value at which the bar should not begin for that end should not be rounded. The base value.



getBounds
final Rectangle2D.Float getBounds()(Code)
Gets the bounds for this bar (specifying the size and location of the bar). The bounds.



getClipBounds
final Rectangle2D.Float getClipBounds()(Code)
Gets the clip bounds for this bar (specifying what will show). The bounds.



getDataSign
final int getDataSign()(Code)
Gets which kinds of the data is graphed. Uses fields of GraphArea. Use POS for non-negative data. Use NEG for non-positive data. Use MIX for both positive and negative data. The sign of the data.



paint
final void paint(Graphics2D g2D)(Code)
Paints the bar on the Graphics2D object after calling update.
Parameters:
  g2D - The Graphics2D object.



setArch
final void setArch(float h)(Code)



setArcw
final void setArcw(float w)(Code)
Sets the radius of the (width) arc for the bar rounding.
Parameters:
  w - The width arc radius.



setBaseValue
final void setBaseValue(int value)(Code)
Sets the value at which the bar should not begin for that end should not be rounded.
Parameters:
  value - The base value.



setBounds
final void setBounds(Rectangle2D.Float b)(Code)
Sets the bounds for this bar (specifying the size and location of the bar).
Parameters:
  b - The bounds.



setClipBounds
final void setClipBounds(Rectangle2D.Float b)(Code)
Sets the clip bounds for this bar (specifying what will show).
Parameters:
  b - The bounds.



setDataSign
final void setDataSign(int sign)(Code)
Sets which kinds of the data is graphed. Uses fields of GraphArea. Use POS for non-negative data. Use NEG for non-positive data. Use MIX for both positive and negative data.
Parameters:
  sign - The sign of the data.



update
final void update()(Code)
Updates the FancyBar.



Fields inherited from net.sourceforge.chart2d.FancyShape
final static int ALL(Code)(Java Doc)
final static int BOTTOM(Code)(Java Doc)
final static int LABELSBOTTOM(Code)(Java Doc)
final static int LABELSLEFT(Code)(Java Doc)
final static int LEFT(Code)(Java Doc)
final static int NONE(Code)(Java Doc)
final static int RIGHT(Code)(Java Doc)
final static int TOP(Code)(Java Doc)

Methods inherited from net.sourceforge.chart2d.FancyShape
final Color getColor()(Code)(Java Doc)
final Rectangle2D.Float getGraphBounds()(Code)(Java Doc)
final Rectangle2D.Float getLightBounds()(Code)(Java Doc)
final int getLightSource()(Code)(Java Doc)
final boolean getNeedsUpdate()(Code)(Java Doc)
final Color getOutlineColor()(Code)(Java Doc)
final boolean getOutlineExistence()(Code)(Java Doc)
final Paint getOutlinePaint()(Code)(Java Doc)
final Paint getPaint()(Code)(Java Doc)
final int getType()(Code)(Java Doc)
final Vector getWarningPaints()(Code)(Java Doc)
final Vector getWarningRegions()(Code)(Java Doc)
final void setColor(Color c)(Code)(Java Doc)
final void setGraphBounds(Rectangle2D.Float b)(Code)(Java Doc)
final void setLightBounds(Rectangle2D.Float b)(Code)(Java Doc)
final void setLightSource(int s)(Code)(Java Doc)
final void setOutlineColor(Color c)(Code)(Java Doc)
final void setOutlineExistence(boolean e)(Code)(Java Doc)
final void setType(int t)(Code)(Java Doc)
final void setWarningRegions(Vector r)(Code)(Java Doc)
void update()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.