Java Doc for LBGraphArea.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.Area
      net.sourceforge.chart2d.GraphArea
         net.sourceforge.chart2d.LBGraphArea

LBGraphArea
final class LBGraphArea extends GraphArea (Code)
The area that the x axis and y axis attach to, and in which bars, lines, or dots are painted to represent the data set. The "LB" in the name of this class stands for Labels Bottom. This graph should always be used when the data descriptors for the the graph are located on the bottom. Data descriptors have values such as September and November, and not like 0 or 50. Features:
Provides bordering functionality. Allows lines to be painted that match up with y axis and x axis tick marks in order to know where the bars, dots, or plot lines are in relation to the y axis values. Supports vertical bar graphs, line charts, and scatter charts (dots), and any combintation thereof. If a bars are present in any graph, then it is highly recommended that the GraphArea method, allowComponentAlignment be passed the value of false. This will ensure that all the bars are visible on the graph. For graphs that do not have bars present, the opposite is advised. The GraphArea method should be passed the value of true. This provides a more intuitive representation of the data.



Constructor Summary
 LBGraphArea()
     Creates a graph area with GraphArea's default values.

Method Summary
final  booleangetLBGraphAreaNeedsUpdate()
     Indicates whether some property of this class has changed.
final  intgetPrefSpaceWidth(int numSets, int numCats, int numCompsPerCat)
     Does a quick calculation of the preferred width of the graph.
Parameters:
  numSets - The number of data series.
Parameters:
  numComps - The number of data categories per series.
Parameters:
  numCompsPerCat - The number of data per series, per category.
final  voidpaintComponent(Graphics2D g2D)
     Paints all the components of this class.
final  voidresetLBGraphAreaModel(boolean reset)
     Resets the model for this class.
final  voidupdateLBGraphArea()
     Updates this parent's variables, and this' variables.


Constructor Detail
LBGraphArea
LBGraphArea()(Code)
Creates a graph area with GraphArea's default values. Default values: resetLBGraphAreaModel (true);




Method Detail
getLBGraphAreaNeedsUpdate
final boolean getLBGraphAreaNeedsUpdate()(Code)
Indicates whether some property of this class has changed. True if some property has changed.



getPrefSpaceWidth
final int getPrefSpaceWidth(int numSets, int numCats, int numCompsPerCat)(Code)
Does a quick calculation of the preferred width of the graph.
Parameters:
  numSets - The number of data series.
Parameters:
  numComps - The number of data categories per series.
Parameters:
  numCompsPerCat - The number of data per series, per category. The preferred width.



paintComponent
final void paintComponent(Graphics2D g2D)(Code)
Paints all the components of this class. First all variables are updated.
Parameters:
  g2D - The graphics context for calculations and painting.



resetLBGraphAreaModel
final void resetLBGraphAreaModel(boolean reset)(Code)
Resets the model for this class. The model is used for shrinking and growing of its components based on the maximum size of this class. If this method is called, then the next time the maximum size is set, this classes model maximum size will be made equal to the new maximum size. Effectively what this does is ensure that whenever this objects maximum size is equal to the one given, then all of the components will take on their default model sizes. Note: This is only useful when auto model max sizing is disabled.
Parameters:
  reset - True causes the max model size to be set upon the next maxsizing.



updateLBGraphArea
final void updateLBGraphArea()(Code)
Updates this parent's variables, and this' variables.



Fields inherited from net.sourceforge.chart2d.GraphArea
final static int COMPONENT(Code)(Java Doc)
static float[] CONTINUOUS(Code)(Java Doc)
static float[] DASHED(Code)(Java Doc)
static float[] DOTTED(Code)(Java Doc)
final static int GRAPH(Code)(Java Doc)
static int MIX(Code)(Java Doc)
static int NEG(Code)(Java Doc)
static int POS(Code)(Java Doc)

Methods inherited from net.sourceforge.chart2d.GraphArea
final boolean getAllowComponentAlignment()(Code)(Java Doc)
final Color[] getBarColors()(Code)(Java Doc)
final int[][] getBarLowValues()(Code)(Java Doc)
final float getBarRoundingRatio()(Code)(Java Doc)
final float getBarsExcessSpaceFeedbackRatio()(Code)(Java Doc)
final boolean getBarsExistence()(Code)(Java Doc)
final int getBarsThicknessModel()(Code)(Java Doc)
final float getBarsWithinCategoryOverlapRatio()(Code)(Java Doc)
final boolean getBetweenComponentsGapExistence()(Code)(Java Doc)
final int getBetweenComponentsGapThicknessModel()(Code)(Java Doc)
final boolean getClip()(Code)(Java Doc)
final public AlphaComposite getComponentsAlphaComposite()(Code)(Java Doc)
final boolean getComponentsColoringByCat()(Code)(Java Doc)
final Color[] getComponentsColorsByCat()(Code)(Java Doc)
final int getComponentsLightSource()(Code)(Java Doc)
final int getComponentsLightType()(Code)(Java Doc)
final int getDataSign()(Code)(Java Doc)
final Color[] getDotColors()(Code)(Java Doc)
final float getDotsExcessSpaceFeedbackRatio()(Code)(Java Doc)
final boolean getDotsExistence()(Code)(Java Doc)
final int getDotsThicknessModel()(Code)(Java Doc)
final float getDotsWithinCategoryOverlapRatio()(Code)(Java Doc)
final boolean getGraphAreaNeedsUpdate()(Code)(Java Doc)
final int[][] getGraphValues()(Code)(Java Doc)
final Color getHorizontalLinesColor()(Code)(Java Doc)
final boolean getHorizontalLinesExistence()(Code)(Java Doc)
final float[] getHorizontalLinesStyle()(Code)(Java Doc)
final int getHorizontalLinesThickness()(Code)(Java Doc)
final int getHorizontalLinesThicknessModel()(Code)(Java Doc)
final int getLabelsAxisTicksAlignment()(Code)(Java Doc)
final Color[] getLineColors()(Code)(Java Doc)
final float getLinesExcessSpaceFeedbackRatio()(Code)(Java Doc)
final boolean getLinesExistence()(Code)(Java Doc)
final boolean getLinesFillInterior()(Code)(Java Doc)
final int getLinesFillInteriorBaseValue()(Code)(Java Doc)
final int getLinesThicknessModel()(Code)(Java Doc)
final float getLinesWithinCategoryOverlapRatio()(Code)(Java Doc)
final boolean getOutlineComponents()(Code)(Java Doc)
final Color getOutlineComponentsColor()(Code)(Java Doc)
final int getType()(Code)(Java Doc)
final Color getVerticalLinesColor()(Code)(Java Doc)
final boolean getVerticalLinesExistence()(Code)(Java Doc)
final float[] getVerticalLinesStyle()(Code)(Java Doc)
final int getVerticalLinesThickness()(Code)(Java Doc)
final int getVerticalLinesThicknessModel()(Code)(Java Doc)
final Vector getWarningRegions()(Code)(Java Doc)
final Rectangle[] getXTicks()(Code)(Java Doc)
final Rectangle[] getYTicks()(Code)(Java Doc)
void paintComponent(Graphics2D g2D)(Code)(Java Doc)
final void resetGraphAreaModel(boolean reset)(Code)(Java Doc)
final void setAllowComponentAlignment(boolean allow)(Code)(Java Doc)
final void setBarColors(Color[] colors)(Code)(Java Doc)
final void setBarLowValues(int[][] values)(Code)(Java Doc)
final void setBarRoundingRatio(float r)(Code)(Java Doc)
final void setBarsExcessSpaceFeedbackRatio(float ratio)(Code)(Java Doc)
final void setBarsExistence(boolean existence)(Code)(Java Doc)
final void setBarsThicknessModel(int thickness)(Code)(Java Doc)
final void setBarsWithinCategoryOverlapRatio(float ratio)(Code)(Java Doc)
final void setBetweenComponentsGapExistence(boolean existence)(Code)(Java Doc)
final void setBetweenComponentsGapThicknessModel(int thickness)(Code)(Java Doc)
final void setClip(boolean c)(Code)(Java Doc)
final public void setComponentsAlphaComposite(AlphaComposite a)(Code)(Java Doc)
final void setComponentsColoringByCat(boolean b)(Code)(Java Doc)
final void setComponentsColorsByCat(Color[] c)(Code)(Java Doc)
final void setComponentsLightSource(int s)(Code)(Java Doc)
final void setComponentsLightType(int t)(Code)(Java Doc)
final void setDataSign(int sign)(Code)(Java Doc)
final void setDotColors(Color[] colors)(Code)(Java Doc)
final void setDotsExcessSpaceFeedbackRatio(float ratio)(Code)(Java Doc)
final void setDotsExistence(boolean existence)(Code)(Java Doc)
final void setDotsThicknessModel(int thickness)(Code)(Java Doc)
final void setDotsWithinCategoryOverlapRatio(float ratio)(Code)(Java Doc)
final void setGraphValues(int[][] values)(Code)(Java Doc)
final void setHorizontalLinesColor(Color color)(Code)(Java Doc)
final void setHorizontalLinesExistence(boolean existence)(Code)(Java Doc)
final void setHorizontalLinesStyle(float[] style)(Code)(Java Doc)
final void setHorizontalLinesThicknessModel(int thickness)(Code)(Java Doc)
final void setLabelsAxisTicksAlignment(int alignment)(Code)(Java Doc)
final void setLineColors(Color[] colors)(Code)(Java Doc)
final void setLinesExcessSpaceFeedbackRatio(float ratio)(Code)(Java Doc)
final void setLinesExistence(boolean existence)(Code)(Java Doc)
final void setLinesFillInterior(boolean fill)(Code)(Java Doc)
final void setLinesFillInteriorBaseValue(int value)(Code)(Java Doc)
final void setLinesThicknessAssociation(boolean association)(Code)(Java Doc)
final void setLinesThicknessModel(int thickness)(Code)(Java Doc)
final void setLinesWithinCategoryOverlapRatio(float ratio)(Code)(Java Doc)
final void setOutlineComponents(boolean outline)(Code)(Java Doc)
final void setOutlineComponentsColor(Color color)(Code)(Java Doc)
final void setType(int type)(Code)(Java Doc)
final void setVerticalLinesColor(Color color)(Code)(Java Doc)
final void setVerticalLinesExistence(boolean existence)(Code)(Java Doc)
final void setVerticalLinesStyle(float[] style)(Code)(Java Doc)
final void setVerticalLinesThicknessModel(int thickness)(Code)(Java Doc)
final void setWarningRegions(Vector v)(Code)(Java Doc)
final void setXTicks(Rectangle[] ticks)(Code)(Java Doc)
final void setYTicks(Rectangle[] ticks)(Code)(Java Doc)
int[][] stackedBarConvert(int[][] graphValues, int[][] lowBarValues)(Code)(Java Doc)
int[] stackedBarSort(int[][] graphValues, int barIndex)(Code)(Java Doc)
final void updateGraphArea()(Code)(Java Doc)

Fields inherited from net.sourceforge.chart2d.Area
final static int BETWEEN(Code)(Java Doc)
final static int BOTTOM(Code)(Java Doc)
final static int CENTER(Code)(Java Doc)
final static int CENTERED(Code)(Java Doc)
static float[] CONTINUOUS(Code)(Java Doc)
static float[] DASHED(Code)(Java Doc)
static float[] DOTTED(Code)(Java Doc)
final static int HEIGHT(Code)(Java Doc)
final static int HORIZONTAL(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 LEFTBOTTOM(Code)(Java Doc)
final static int LEFTRIGHT(Code)(Java Doc)
final static int LEFTTOP(Code)(Java Doc)
final static int LESSER(Code)(Java Doc)
final static int MAX(Code)(Java Doc)
final static int MAXMODEL(Code)(Java Doc)
final static int MIN(Code)(Java Doc)
static int NONE(Code)(Java Doc)
final static int RIGHT(Code)(Java Doc)
final static int RIGHTBOTTOM(Code)(Java Doc)
final static int RIGHTTOP(Code)(Java Doc)
final static int TOP(Code)(Java Doc)
final static int TOPBOTTOM(Code)(Java Doc)
final static int VERTICAL(Code)(Java Doc)
final static int WIDTH(Code)(Java Doc)

Methods inherited from net.sourceforge.chart2d.Area
final int applyRatio(int model, float ratio)(Code)(Java Doc)
final boolean getAreaNeedsUpdate()(Code)(Java Doc)
final boolean getAutoSize(int which)(Code)(Java Doc)
final Color getBackgroundColor()(Code)(Java Doc)
final boolean getBackgroundExistence()(Code)(Java Doc)
final Color getBorderColor()(Code)(Java Doc)
final Color getBorderColor(int which)(Code)(Java Doc)
final boolean getBorderExistence()(Code)(Java Doc)
final boolean getBorderExistence(int which)(Code)(Java Doc)
final int getBorderThickness(int which)(Code)(Java Doc)
final int getBorderThickness()(Code)(Java Doc)
final int getBorderThicknessModel()(Code)(Java Doc)
final int getBorderThicknessModel(int which)(Code)(Java Doc)
final boolean getGapExistence()(Code)(Java Doc)
final boolean getGapExistence(int which)(Code)(Java Doc)
final int getGapThickness()(Code)(Java Doc)
final int getGapThickness(int which)(Code)(Java Doc)
final int getGapThicknessModel()(Code)(Java Doc)
final int getJustifications(int which)(Code)(Java Doc)
int getLightSource()(Code)(Java Doc)
final int getOffsetThickness()(Code)(Java Doc)
final float getRatio(int which)(Code)(Java Doc)
final boolean getResetAreaModel()(Code)(Java Doc)
final Dimension getSize(int which)(Code)(Java Doc)
final Point getSizeLocation(int which)(Code)(Java Doc)
final Dimension getSpaceSize(int which)(Code)(Java Doc)
final Point getSpaceSizeLocation(int which)(Code)(Java Doc)
void paintComponent(Graphics2D g2D)(Code)(Java Doc)
final void resetAreaModel(boolean reset)(Code)(Java Doc)
final void setAutoJustifys(boolean horizontal, boolean vertical)(Code)(Java Doc)
final void setAutoSizes(boolean maxModel, boolean min)(Code)(Java Doc)
final void setBackgroundColor(Color color)(Code)(Java Doc)
final void setBackgroundExistence(boolean existence)(Code)(Java Doc)
final void setBorderAssociations(boolean leftRight, boolean leftTop, boolean leftBottom, boolean rightTop, boolean rightBottom, boolean topBottom)(Code)(Java Doc)
final void setBorderColor(Color color)(Code)(Java Doc)
final void setBorderColors(Color left, Color right, Color top, Color bottom)(Code)(Java Doc)
final void setBorderCornerAssociations(int leftTop, int leftBottom, int rightTop, int rightBottom)(Code)(Java Doc)
final void setBorderExistence(boolean existences)(Code)(Java Doc)
final void setBorderExistences(boolean left, boolean right, boolean top, boolean bottom)(Code)(Java Doc)
final void setBorderThicknessModel(int thickness)(Code)(Java Doc)
final void setBorderThicknessModels(int left, int right, int top, int bottom)(Code)(Java Doc)
final void setCustomRatio(int which, boolean customize, float ratio)(Code)(Java Doc)
final void setGapAssociations(boolean leftRight, boolean leftTop, boolean leftBottom, boolean rightTop, boolean rightBottom, boolean topBottom)(Code)(Java Doc)
final void setGapExistence(boolean existence)(Code)(Java Doc)
final void setGapExistences(boolean left, boolean right, boolean top, boolean bottom)(Code)(Java Doc)
final void setGapThicknessModel(int thickness)(Code)(Java Doc)
final void setGapThicknessModels(int left, int right, int top, int bottom)(Code)(Java Doc)
final void setJustifications(int horizontal, int vertical)(Code)(Java Doc)
void setLightSource(int source)(Code)(Java Doc)
final void setLockRatios(boolean lock)(Code)(Java Doc)
final void setSize(int which, Dimension size)(Code)(Java Doc)
final void setSizeLocation(int which, Point location)(Code)(Java Doc)
final void setSpaceSize(int which, Dimension size)(Code)(Java Doc)
final void setSpaceSizeLocation(int which, Point location)(Code)(Java Doc)
final void updateArea()(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.