Java Doc for FancyShape.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

All known Subclasses:   net.sourceforge.chart2d.FancyLine,  net.sourceforge.chart2d.FancyBar,  net.sourceforge.chart2d.FancyDot,
FancyShape
abstract class FancyShape (Code)
An abstract class holding the properties and logic shared by all fancy shapes.


Field Summary
final static  intALL
     Indicates all.
final static  intBOTTOM
     Indicates bottom.
final static  intLABELSBOTTOM
     Indicates labels bottom.
final static  intLABELSLEFT
     Indicates labels left.
final static  intLEFT
     Indicates left.
final static  intNONE
     Indicates none.
final static  intRIGHT
     Indicates right.
final static  intTOP
     Indicates top.

Constructor Summary
 FancyShape()
     Creates a default FancyShape object.

Method Summary
final  ColorgetColor()
     Gets the color of the shape.
final  Rectangle2D.FloatgetGraphBounds()
     Gets the bounds for of the graph, for clipping edges.
final  Rectangle2D.FloatgetLightBounds()
     Gets the bounds for the lighting effect.
final  intgetLightSource()
     Gets the source of light for the lighting effect.
final  booleangetNeedsUpdate()
     Gets whether a property has changed such that an update is needed.
final  ColorgetOutlineColor()
     Gets the color of the shape's outline if it exists.
final  booleangetOutlineExistence()
     Gets whether the shape is outlined by a one pixel curve.
final  PaintgetOutlinePaint()
     Gets the outline paint for this shape.
final  PaintgetPaint()
     Gets the gradient paint for this shape.
final  intgetType()
     Gets the type of the chart the shape is being used in.
final  VectorgetWarningPaints()
     Gets the paints for the warning regions of this shape.
final  VectorgetWarningRegions()
     Gets the vector of WarningRegion objects that affect this object's painting.
final  voidsetColor(Color c)
     Sets the color of the shape.
final  voidsetGraphBounds(Rectangle2D.Float b)
     Sets the bounds for of the graph, for clipping edges.
final  voidsetLightBounds(Rectangle2D.Float b)
     Sets the bounds for the lighting effect.
final  voidsetLightSource(int s)
     Sets the source of light for the lighting effect.
final  voidsetOutlineColor(Color c)
     Sets the color of the shape's outline if it exists.
final  voidsetOutlineExistence(boolean e)
     Sets whether the shape is outlined by a one pixel curve.
final  voidsetType(int t)
     Sets the type of the chart the shape is being used in.
final  voidsetWarningRegions(Vector r)
     Sets the vector of WarningRegion objects that affect this object's painting.
 voidupdate()
     Updates the FancyShape.

Field Detail
ALL
final static int ALL(Code)
Indicates all.



BOTTOM
final static int BOTTOM(Code)
Indicates bottom.



LABELSBOTTOM
final static int LABELSBOTTOM(Code)
Indicates labels bottom.



LABELSLEFT
final static int LABELSLEFT(Code)
Indicates labels left.



LEFT
final static int LEFT(Code)
Indicates left.



NONE
final static int NONE(Code)
Indicates none.



RIGHT
final static int RIGHT(Code)
Indicates right.



TOP
final static int TOP(Code)
Indicates top.




Constructor Detail
FancyShape
FancyShape()(Code)
Creates a default FancyShape object.




Method Detail
getColor
final Color getColor()(Code)
Gets the color of the shape. The color.



getGraphBounds
final Rectangle2D.Float getGraphBounds()(Code)
Gets the bounds for of the graph, for clipping edges. The graph bounds.



getLightBounds
final Rectangle2D.Float getLightBounds()(Code)
Gets the bounds for the lighting effect. Allows for single lighting effect to be applied to multiple FancyShape objects. The lighting effect bounds.



getLightSource
final int getLightSource()(Code)
Gets the source of light for the lighting effect. On the side of the source, the color of the shape is brighter. The light source.



getNeedsUpdate
final boolean getNeedsUpdate()(Code)
Gets whether a property has changed such that an update is needed. If true, then needs update.



getOutlineColor
final Color getOutlineColor()(Code)
Gets the color of the shape's outline if it exists. The outline color.



getOutlineExistence
final boolean getOutlineExistence()(Code)
Gets whether the shape is outlined by a one pixel curve. If true, then outlined.



getOutlinePaint
final Paint getOutlinePaint()(Code)
Gets the outline paint for this shape. The outline paint is just a solid color. The outline paint.



getPaint
final Paint getPaint()(Code)
Gets the gradient paint for this shape. The gradient paint.



getType
final int getType()(Code)
Gets the type of the chart the shape is being used in. Uses fields LABELSLEFT and LABELSBOTTOM. The type.



getWarningPaints
final Vector getWarningPaints()(Code)
Gets the paints for the warning regions of this shape. The warning region paints.



getWarningRegions
final Vector getWarningRegions()(Code)
Gets the vector of WarningRegion objects that affect this object's painting. The WarningRegion objects vector.



setColor
final void setColor(Color c)(Code)
Sets the color of the shape.
Parameters:
  c - The color.



setGraphBounds
final void setGraphBounds(Rectangle2D.Float b)(Code)
Sets the bounds for of the graph, for clipping edges.
Parameters:
  b - The graph bounds.



setLightBounds
final void setLightBounds(Rectangle2D.Float b)(Code)
Sets the bounds for the lighting effect. Allows for single lighting effect to be applied to multiple FancyShape objects.
Parameters:
  b - The lighting effect bounds.



setLightSource
final void setLightSource(int s)(Code)
Sets the source of light for the lighting effect. On the side of the source, the color of the shape is brighter.
Parameters:
  s - The light source.



setOutlineColor
final void setOutlineColor(Color c)(Code)
Sets the color of the shape's outline if it exists.
Parameters:
  c - The outline color.



setOutlineExistence
final void setOutlineExistence(boolean e)(Code)
Sets whether the shape is outlined by a one pixel curve.
Parameters:
  e - If true, then outlined.



setType
final void setType(int t)(Code)
Sets the type of the chart the shape is being used in. Uses fields LABELSLEFT and LABELSBOTTOM.
Parameters:
  t - The type.



setWarningRegions
final void setWarningRegions(Vector r)(Code)
Sets the vector of WarningRegion objects that affect this object's painting.
Parameters:
  r - The WarningRegion objects vector.



update
void update()(Code)
Updates the FancyShape.



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.