Java Doc for NumberAxis.java in  » Chart » jfreechart » org » jfree » chart » axis » 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 » jfreechart » org.jfree.chart.axis 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jfree.chart.axis.Axis
      org.jfree.chart.axis.ValueAxis
         org.jfree.chart.axis.NumberAxis

All known Subclasses:   org.jfree.chart.axis.ModuloAxis,  org.jfree.chart.axis.NumberAxis3D,  org.jfree.chart.axis.CyclicNumberAxis,  org.jfree.chart.axis.SymbolAxis,  org.jfree.chart.axis.LogarithmicAxis,
NumberAxis
public class NumberAxis extends ValueAxis implements Cloneable,Serializable(Code)
An axis for displaying numerical data.

If the axis is set up to automatically determine its range to fit the data, you can ensure that the range includes zero (statisticians usually prefer this) by setting the autoRangeIncludesZero flag to true.

The NumberAxis class has a mechanism for automatically selecting a tick unit that is appropriate for the current axis range. This mechanism is an adaptation of code suggested by Laurence Vanhelsuwe.



Field Summary
final public static  booleanDEFAULT_AUTO_RANGE_INCLUDES_ZERO
     The default value for the autoRangeIncludesZero flag.
final public static  booleanDEFAULT_AUTO_RANGE_STICKY_ZERO
     The default value for the autoRangeStickyZero flag.
final public static  NumberTickUnitDEFAULT_TICK_UNIT
     The default tick unit.
final public static  booleanDEFAULT_VERTICAL_TICK_LABELS
     The default setting for the vertical tick labels flag.

Constructor Summary
public  NumberAxis()
     Default constructor.
public  NumberAxis(String label)
     Constructs a number axis, using default values where necessary.

Method Summary
protected  voidautoAdjustRange()
     Rescales the axis to ensure that all data is visible.
protected  doublecalculateHighestVisibleTickValue()
     Calculates the value of the highest visible tick on the axis.
protected  doublecalculateLowestVisibleTickValue()
     Calculates the value of the lowest visible tick on the axis.
protected  intcalculateVisibleTickCount()
     Calculates the number of visible ticks.
public  Objectclone()
     Returns a clone of the axis.
public  voidconfigure()
     Configures the axis to work with the specified plot.
public static  TickUnitSourcecreateIntegerTickUnits()
     Returns a collection of tick units for integer values.
public static  TickUnitSourcecreateIntegerTickUnits(Locale locale)
     Returns a collection of tick units for integer values. Uses a given Locale to create the DecimalFormats.
Parameters:
  locale - the locale to use to represent Numbers.
public static  TickUnitSourcecreateStandardTickUnits()
     Creates the standard tick units.
public static  TickUnitSourcecreateStandardTickUnits(Locale locale)
     Creates a collection of standard tick units.
public  AxisStatedraw(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState)
     Draws the axis on a Java 2D graphics device (such as the screen or a printer).
Parameters:
  g2 - the graphics device (null not permitted).
Parameters:
  cursor - the cursor location.
Parameters:
  plotArea - the area within which the axes and data should be drawn(null not permitted).
Parameters:
  dataArea - the area within which the data should be drawn (null not permitted).
Parameters:
  edge - the location of the axis (null not permitted).
Parameters:
  plotState - collects information about the plot (null permitted).
public  booleanequals(Object obj)
     Tests the axis for equality with an arbitrary object.
Parameters:
  obj - the object (null permitted).
protected  doubleestimateMaximumTickLabelHeight(Graphics2D g2)
     Estimates the maximum tick label height.
Parameters:
  g2 - the graphics device.
protected  doubleestimateMaximumTickLabelWidth(Graphics2D g2, TickUnit unit)
     Estimates the maximum width of the tick labels, assuming the specified tick unit is used.

Rather than computing the string bounds of every tick on the axis, we just look at two values: the lower bound and the upper bound for the axis.

public  booleangetAutoRangeIncludesZero()
     Returns the flag that indicates whether or not the automatic axis range (if indeed it is determined automatically) is forced to include zero.
public  booleangetAutoRangeStickyZero()
     Returns a flag that affects the auto-range when zero falls outside the data range but inside the margins defined for the axis.
public  MarkerAxisBandgetMarkerBand()
     Returns the (optional) marker band for the axis.
public  NumberFormatgetNumberFormatOverride()
     Returns the number format override.
public  RangeTypegetRangeType()
     Returns the axis range type.
public  NumberTickUnitgetTickUnit()
     Returns the tick unit for the axis.
public  inthashCode()
     Returns a hash code for this object.
public  doublejava2DToValue(double java2DValue, Rectangle2D area, RectangleEdge edge)
     Converts a coordinate in Java2D space to the corresponding data value, assuming that the axis runs along one edge of the specified dataArea.
Parameters:
  java2DValue - the coordinate in Java2D space.
Parameters:
  area - the area in which the data is plotted.
Parameters:
  edge - the location.
public  ListrefreshTicks(Graphics2D g2, AxisState state, Rectangle2D dataArea, RectangleEdge edge)
     Calculates the positions of the tick labels for the axis, storing the results in the tick label list (ready for drawing).
Parameters:
  g2 - the graphics device.
Parameters:
  state - the axis state.
Parameters:
  dataArea - the area in which the plot should be drawn.
Parameters:
  edge - the location of the axis.
protected  ListrefreshTicksHorizontal(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)
     Calculates the positions of the tick labels for the axis, storing the results in the tick label list (ready for drawing).
Parameters:
  g2 - the graphics device.
Parameters:
  dataArea - the area in which the data should be drawn.
Parameters:
  edge - the location of the axis.
protected  ListrefreshTicksVertical(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)
     Calculates the positions of the tick labels for the axis, storing the results in the tick label list (ready for drawing).
Parameters:
  g2 - the graphics device.
Parameters:
  dataArea - the area in which the plot should be drawn.
Parameters:
  edge - the location of the axis.
protected  voidselectAutoTickUnit(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)
     Selects an appropriate tick value for the axis.
protected  voidselectHorizontalAutoTickUnit(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)
     Selects an appropriate tick value for the axis.
protected  voidselectVerticalAutoTickUnit(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)
     Selects an appropriate tick value for the axis.
public  voidsetAutoRangeIncludesZero(boolean flag)
     Sets the flag that indicates whether or not the axis range, if automatically calculated, is forced to include zero.
public  voidsetAutoRangeStickyZero(boolean flag)
     Sets a flag that affects the auto-range when zero falls outside the data range but inside the margins defined for the axis.
public  voidsetMarkerBand(MarkerAxisBand band)
     Sets the marker band for the axis.
public  voidsetNumberFormatOverride(NumberFormat formatter)
     Sets the number format override.
public  voidsetRangeType(RangeType rangeType)
     Sets the axis range type.
public  voidsetTickUnit(NumberTickUnit unit)
     Sets the tick unit for the axis and sends an AxisChangeEvent to all registered listeners.
public  voidsetTickUnit(NumberTickUnit unit, boolean notify, boolean turnOffAutoSelect)
     Sets the tick unit for the axis and, if requested, sends an AxisChangeEvent to all registered listeners.
public  doublevalueToJava2D(double value, Rectangle2D area, RectangleEdge edge)
     Converts a data value to a coordinate in Java2D space, assuming that the axis runs along one edge of the specified dataArea.

Note that it is possible for the coordinate to fall outside the plotArea.
Parameters:
  value - the data value.
Parameters:
  area - the area for plotting the data.
Parameters:
  edge - the axis location.


Field Detail
DEFAULT_AUTO_RANGE_INCLUDES_ZERO
final public static boolean DEFAULT_AUTO_RANGE_INCLUDES_ZERO(Code)
The default value for the autoRangeIncludesZero flag.



DEFAULT_AUTO_RANGE_STICKY_ZERO
final public static boolean DEFAULT_AUTO_RANGE_STICKY_ZERO(Code)
The default value for the autoRangeStickyZero flag.



DEFAULT_TICK_UNIT
final public static NumberTickUnit DEFAULT_TICK_UNIT(Code)
The default tick unit.



DEFAULT_VERTICAL_TICK_LABELS
final public static boolean DEFAULT_VERTICAL_TICK_LABELS(Code)
The default setting for the vertical tick labels flag.




Constructor Detail
NumberAxis
public NumberAxis()(Code)
Default constructor.



NumberAxis
public NumberAxis(String label)(Code)
Constructs a number axis, using default values where necessary.
Parameters:
  label - the axis label (null permitted).




Method Detail
autoAdjustRange
protected void autoAdjustRange()(Code)
Rescales the axis to ensure that all data is visible.



calculateHighestVisibleTickValue
protected double calculateHighestVisibleTickValue()(Code)
Calculates the value of the highest visible tick on the axis. The value of the highest visible tick on the axis.
See Also:   NumberAxis.calculateLowestVisibleTickValue()



calculateLowestVisibleTickValue
protected double calculateLowestVisibleTickValue()(Code)
Calculates the value of the lowest visible tick on the axis. The value of the lowest visible tick on the axis.
See Also:   NumberAxis.calculateHighestVisibleTickValue()



calculateVisibleTickCount
protected int calculateVisibleTickCount()(Code)
Calculates the number of visible ticks. The number of visible ticks on the axis.



clone
public Object clone() throws CloneNotSupportedException(Code)
Returns a clone of the axis. A clone
throws:
  CloneNotSupportedException - if some component of the axis does not support cloning.



configure
public void configure()(Code)
Configures the axis to work with the specified plot. If the axis has auto-scaling, then sets the maximum and minimum values.



createIntegerTickUnits
public static TickUnitSource createIntegerTickUnits()(Code)
Returns a collection of tick units for integer values. A collection of tick units for integer values.
See Also:   NumberAxis.setStandardTickUnits(TickUnitSource)
See Also:   NumberAxis.createStandardTickUnits()



createIntegerTickUnits
public static TickUnitSource createIntegerTickUnits(Locale locale)(Code)
Returns a collection of tick units for integer values. Uses a given Locale to create the DecimalFormats.
Parameters:
  locale - the locale to use to represent Numbers. A collection of tick units for integer values.
See Also:   NumberAxis.setStandardTickUnits(TickUnitSource)



createStandardTickUnits
public static TickUnitSource createStandardTickUnits()(Code)
Creates the standard tick units.

If you don't like these defaults, create your own instance of TickUnits and then pass it to the setStandardTickUnits() method in the NumberAxis class. The standard tick units.
See Also:   NumberAxis.setStandardTickUnits(TickUnitSource)
See Also:   NumberAxis.createIntegerTickUnits()




createStandardTickUnits
public static TickUnitSource createStandardTickUnits(Locale locale)(Code)
Creates a collection of standard tick units. The supplied locale is used to create the number formatter (a localised instance of NumberFormat).

If you don't like these defaults, create your own instance of TickUnits and then pass it to the setStandardTickUnits() method.
Parameters:
  locale - the locale. A tick unit collection.
See Also:   NumberAxis.setStandardTickUnits(TickUnitSource)




draw
public AxisState draw(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState)(Code)
Draws the axis on a Java 2D graphics device (such as the screen or a printer).
Parameters:
  g2 - the graphics device (null not permitted).
Parameters:
  cursor - the cursor location.
Parameters:
  plotArea - the area within which the axes and data should be drawn(null not permitted).
Parameters:
  dataArea - the area within which the data should be drawn (null not permitted).
Parameters:
  edge - the location of the axis (null not permitted).
Parameters:
  plotState - collects information about the plot (null permitted). The axis state (never null).



equals
public boolean equals(Object obj)(Code)
Tests the axis for equality with an arbitrary object.
Parameters:
  obj - the object (null permitted). A boolean.



estimateMaximumTickLabelHeight
protected double estimateMaximumTickLabelHeight(Graphics2D g2)(Code)
Estimates the maximum tick label height.
Parameters:
  g2 - the graphics device. The maximum height.



estimateMaximumTickLabelWidth
protected double estimateMaximumTickLabelWidth(Graphics2D g2, TickUnit unit)(Code)
Estimates the maximum width of the tick labels, assuming the specified tick unit is used.

Rather than computing the string bounds of every tick on the axis, we just look at two values: the lower bound and the upper bound for the axis. These two values will usually be representative.
Parameters:
  g2 - the graphics device.
Parameters:
  unit - the tick unit to use for calculation. The estimated maximum width of the tick labels.




getAutoRangeIncludesZero
public boolean getAutoRangeIncludesZero()(Code)
Returns the flag that indicates whether or not the automatic axis range (if indeed it is determined automatically) is forced to include zero. The flag.



getAutoRangeStickyZero
public boolean getAutoRangeStickyZero()(Code)
Returns a flag that affects the auto-range when zero falls outside the data range but inside the margins defined for the axis. The flag.
See Also:   NumberAxis.setAutoRangeStickyZero(boolean)



getMarkerBand
public MarkerAxisBand getMarkerBand()(Code)
Returns the (optional) marker band for the axis. The marker band (possibly null).
See Also:   NumberAxis.setMarkerBand(MarkerAxisBand)



getNumberFormatOverride
public NumberFormat getNumberFormatOverride()(Code)
Returns the number format override. If this is non-null, then it will be used to format the numbers on the axis. The number formatter (possibly null).
See Also:   NumberAxis.setNumberFormatOverride(NumberFormat)



getRangeType
public RangeType getRangeType()(Code)
Returns the axis range type. The axis range type (never null).
See Also:   NumberAxis.setRangeType(RangeType)



getTickUnit
public NumberTickUnit getTickUnit()(Code)
Returns the tick unit for the axis.

Note: if the autoTickUnitSelection flag is true the tick unit may be changed while the axis is being drawn, so in that case the return value from this method may be irrelevant if the method is called before the axis has been drawn. The tick unit for the axis.
See Also:   NumberAxis.setTickUnit(NumberTickUnit)
See Also:   ValueAxis.isAutoTickUnitSelection




hashCode
public int hashCode()(Code)
Returns a hash code for this object. A hash code.



java2DToValue
public double java2DToValue(double java2DValue, Rectangle2D area, RectangleEdge edge)(Code)
Converts a coordinate in Java2D space to the corresponding data value, assuming that the axis runs along one edge of the specified dataArea.
Parameters:
  java2DValue - the coordinate in Java2D space.
Parameters:
  area - the area in which the data is plotted.
Parameters:
  edge - the location. The data value.
See Also:   NumberAxis.valueToJava2D(double,Rectangle2D,RectangleEdge)



refreshTicks
public List refreshTicks(Graphics2D g2, AxisState state, Rectangle2D dataArea, RectangleEdge edge)(Code)
Calculates the positions of the tick labels for the axis, storing the results in the tick label list (ready for drawing).
Parameters:
  g2 - the graphics device.
Parameters:
  state - the axis state.
Parameters:
  dataArea - the area in which the plot should be drawn.
Parameters:
  edge - the location of the axis. A list of ticks.



refreshTicksHorizontal
protected List refreshTicksHorizontal(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)(Code)
Calculates the positions of the tick labels for the axis, storing the results in the tick label list (ready for drawing).
Parameters:
  g2 - the graphics device.
Parameters:
  dataArea - the area in which the data should be drawn.
Parameters:
  edge - the location of the axis. A list of ticks.



refreshTicksVertical
protected List refreshTicksVertical(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)(Code)
Calculates the positions of the tick labels for the axis, storing the results in the tick label list (ready for drawing).
Parameters:
  g2 - the graphics device.
Parameters:
  dataArea - the area in which the plot should be drawn.
Parameters:
  edge - the location of the axis. A list of ticks.



selectAutoTickUnit
protected void selectAutoTickUnit(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)(Code)
Selects an appropriate tick value for the axis. The strategy is to display as many ticks as possible (selected from an array of 'standard' tick units) without the labels overlapping.
Parameters:
  g2 - the graphics device.
Parameters:
  dataArea - the area defined by the axes.
Parameters:
  edge - the axis location.



selectHorizontalAutoTickUnit
protected void selectHorizontalAutoTickUnit(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)(Code)
Selects an appropriate tick value for the axis. The strategy is to display as many ticks as possible (selected from an array of 'standard' tick units) without the labels overlapping.
Parameters:
  g2 - the graphics device.
Parameters:
  dataArea - the area defined by the axes.
Parameters:
  edge - the axis location.



selectVerticalAutoTickUnit
protected void selectVerticalAutoTickUnit(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)(Code)
Selects an appropriate tick value for the axis. The strategy is to display as many ticks as possible (selected from an array of 'standard' tick units) without the labels overlapping.
Parameters:
  g2 - the graphics device.
Parameters:
  dataArea - the area in which the plot should be drawn.
Parameters:
  edge - the axis location.



setAutoRangeIncludesZero
public void setAutoRangeIncludesZero(boolean flag)(Code)
Sets the flag that indicates whether or not the axis range, if automatically calculated, is forced to include zero.

If the flag is changed to true, the axis range is recalculated.

Any change to the flag will trigger an AxisChangeEvent .
Parameters:
  flag - the new value of the flag.
See Also:   NumberAxis.getAutoRangeIncludesZero()




setAutoRangeStickyZero
public void setAutoRangeStickyZero(boolean flag)(Code)
Sets a flag that affects the auto-range when zero falls outside the data range but inside the margins defined for the axis.
Parameters:
  flag - the new flag.
See Also:   NumberAxis.getAutoRangeStickyZero()



setMarkerBand
public void setMarkerBand(MarkerAxisBand band)(Code)
Sets the marker band for the axis.

The marker band is optional, leave it set to null if you don't require it.
Parameters:
  band - the new band (null permitted).
See Also:   NumberAxis.getMarkerBand()




setNumberFormatOverride
public void setNumberFormatOverride(NumberFormat formatter)(Code)
Sets the number format override. If this is non-null, then it will be used to format the numbers on the axis.
Parameters:
  formatter - the number formatter (null permitted).
See Also:   NumberAxis.getNumberFormatOverride()



setRangeType
public void setRangeType(RangeType rangeType)(Code)
Sets the axis range type.
Parameters:
  rangeType - the range type (null not permitted).
See Also:   NumberAxis.getRangeType()



setTickUnit
public void setTickUnit(NumberTickUnit unit)(Code)
Sets the tick unit for the axis and sends an AxisChangeEvent to all registered listeners. A side effect of calling this method is that the "auto-select" feature for tick units is switched off (you can restore it using the ValueAxis.setAutoTickUnitSelection(boolean) method).
Parameters:
  unit - the new tick unit (null not permitted).
See Also:   NumberAxis.getTickUnit()
See Also:   NumberAxis.setTickUnit(NumberTickUnit,boolean,boolean)



setTickUnit
public void setTickUnit(NumberTickUnit unit, boolean notify, boolean turnOffAutoSelect)(Code)
Sets the tick unit for the axis and, if requested, sends an AxisChangeEvent to all registered listeners. In addition, an option is provided to turn off the "auto-select" feature for tick units (you can restore it using the ValueAxis.setAutoTickUnitSelection(boolean) method).
Parameters:
  unit - the new tick unit (null not permitted).
Parameters:
  notify - notify listeners?
Parameters:
  turnOffAutoSelect - turn off the auto-tick selection?



valueToJava2D
public double valueToJava2D(double value, Rectangle2D area, RectangleEdge edge)(Code)
Converts a data value to a coordinate in Java2D space, assuming that the axis runs along one edge of the specified dataArea.

Note that it is possible for the coordinate to fall outside the plotArea.
Parameters:
  value - the data value.
Parameters:
  area - the area for plotting the data.
Parameters:
  edge - the axis location. The Java2D coordinate.
See Also:   NumberAxis.java2DToValue(double,Rectangle2D,RectangleEdge)




Fields inherited from org.jfree.chart.axis.ValueAxis
final public static boolean DEFAULT_AUTO_RANGE(Code)(Java Doc)
final public static double DEFAULT_AUTO_RANGE_MINIMUM_SIZE(Code)(Java Doc)
final public static boolean DEFAULT_AUTO_TICK_UNIT_SELECTION(Code)(Java Doc)
final public static boolean DEFAULT_INVERTED(Code)(Java Doc)
final public static double DEFAULT_LOWER_BOUND(Code)(Java Doc)
final public static double DEFAULT_LOWER_MARGIN(Code)(Java Doc)
final public static Range DEFAULT_RANGE(Code)(Java Doc)
final public static double DEFAULT_UPPER_BOUND(Code)(Java Doc)
final public static double DEFAULT_UPPER_MARGIN(Code)(Java Doc)
final public static int MAXIMUM_TICK_COUNT(Code)(Java Doc)

Methods inherited from org.jfree.chart.axis.ValueAxis
abstract protected void autoAdjustRange()(Code)(Java Doc)
protected float[] calculateAnchorPoint(ValueTick tick, double cursor, Rectangle2D dataArea, RectangleEdge edge)(Code)(Java Doc)
public void centerRange(double value)(Code)(Java Doc)
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
protected void drawAxisLine(Graphics2D g2, double cursor, Rectangle2D dataArea, RectangleEdge edge)(Code)(Java Doc)
protected AxisState drawTickMarksAndLabels(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge)(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected double findMaximumTickLabelHeight(List ticks, Graphics2D g2, Rectangle2D drawArea, boolean vertical)(Code)(Java Doc)
protected double findMaximumTickLabelWidth(List ticks, Graphics2D g2, Rectangle2D drawArea, boolean vertical)(Code)(Java Doc)
public double getAutoRangeMinimumSize()(Code)(Java Doc)
protected int getAutoTickIndex()(Code)(Java Doc)
public Range getDefaultAutoRange()(Code)(Java Doc)
public Shape getDownArrow()(Code)(Java Doc)
public double getFixedAutoRange()(Code)(Java Doc)
public Shape getLeftArrow()(Code)(Java Doc)
public double getLowerBound()(Code)(Java Doc)
public double getLowerMargin()(Code)(Java Doc)
public Range getRange()(Code)(Java Doc)
public Shape getRightArrow()(Code)(Java Doc)
public TickUnitSource getStandardTickUnits()(Code)(Java Doc)
public Shape getUpArrow()(Code)(Java Doc)
public double getUpperBound()(Code)(Java Doc)
public double getUpperMargin()(Code)(Java Doc)
public boolean isAutoRange()(Code)(Java Doc)
public boolean isAutoTickUnitSelection()(Code)(Java Doc)
public boolean isInverted()(Code)(Java Doc)
public boolean isNegativeArrowVisible()(Code)(Java Doc)
public boolean isPositiveArrowVisible()(Code)(Java Doc)
public boolean isVerticalTickLabels()(Code)(Java Doc)
abstract public double java2DToValue(double java2DValue, Rectangle2D area, RectangleEdge edge)(Code)(Java Doc)
public double lengthToJava2D(double length, Rectangle2D area, RectangleEdge edge)(Code)(Java Doc)
public AxisSpace reserveSpace(Graphics2D g2, Plot plot, Rectangle2D plotArea, RectangleEdge edge, AxisSpace space)(Code)(Java Doc)
public void resizeRange(double percent)(Code)(Java Doc)
public void resizeRange(double percent, double anchorValue)(Code)(Java Doc)
public void setAutoRange(boolean auto)(Code)(Java Doc)
protected void setAutoRange(boolean auto, boolean notify)(Code)(Java Doc)
public void setAutoRangeMinimumSize(double size)(Code)(Java Doc)
public void setAutoRangeMinimumSize(double size, boolean notify)(Code)(Java Doc)
protected void setAutoTickIndex(int index)(Code)(Java Doc)
public void setAutoTickUnitSelection(boolean flag)(Code)(Java Doc)
public void setAutoTickUnitSelection(boolean flag, boolean notify)(Code)(Java Doc)
public void setDefaultAutoRange(Range range)(Code)(Java Doc)
public void setDownArrow(Shape arrow)(Code)(Java Doc)
public void setFixedAutoRange(double length)(Code)(Java Doc)
public void setInverted(boolean flag)(Code)(Java Doc)
public void setLeftArrow(Shape arrow)(Code)(Java Doc)
public void setLowerBound(double min)(Code)(Java Doc)
public void setLowerMargin(double margin)(Code)(Java Doc)
public void setNegativeArrowVisible(boolean visible)(Code)(Java Doc)
public void setPositiveArrowVisible(boolean visible)(Code)(Java Doc)
public void setRange(Range range)(Code)(Java Doc)
public void setRange(Range range, boolean turnOffAutoRange, boolean notify)(Code)(Java Doc)
public void setRange(double lower, double upper)(Code)(Java Doc)
public void setRangeAboutValue(double value, double length)(Code)(Java Doc)
public void setRangeWithMargins(Range range)(Code)(Java Doc)
public void setRangeWithMargins(Range range, boolean turnOffAutoRange, boolean notify)(Code)(Java Doc)
public void setRangeWithMargins(double lower, double upper)(Code)(Java Doc)
public void setRightArrow(Shape arrow)(Code)(Java Doc)
public void setStandardTickUnits(TickUnitSource source)(Code)(Java Doc)
public void setUpArrow(Shape arrow)(Code)(Java Doc)
public void setUpperBound(double max)(Code)(Java Doc)
public void setUpperMargin(double margin)(Code)(Java Doc)
public void setVerticalTickLabels(boolean flag)(Code)(Java Doc)
abstract public double valueToJava2D(double value, Rectangle2D area, RectangleEdge edge)(Code)(Java Doc)
public void zoomRange(double lowerPercent, double upperPercent)(Code)(Java Doc)

Fields inherited from org.jfree.chart.axis.Axis
final public static Font DEFAULT_AXIS_LABEL_FONT(Code)(Java Doc)
final public static RectangleInsets DEFAULT_AXIS_LABEL_INSETS(Code)(Java Doc)
final public static Paint DEFAULT_AXIS_LABEL_PAINT(Code)(Java Doc)
final public static Paint DEFAULT_AXIS_LINE_PAINT(Code)(Java Doc)
final public static Stroke DEFAULT_AXIS_LINE_STROKE(Code)(Java Doc)
final public static boolean DEFAULT_AXIS_VISIBLE(Code)(Java Doc)
final public static boolean DEFAULT_TICK_LABELS_VISIBLE(Code)(Java Doc)
final public static Font DEFAULT_TICK_LABEL_FONT(Code)(Java Doc)
final public static RectangleInsets DEFAULT_TICK_LABEL_INSETS(Code)(Java Doc)
final public static Paint DEFAULT_TICK_LABEL_PAINT(Code)(Java Doc)
final public static boolean DEFAULT_TICK_MARKS_VISIBLE(Code)(Java Doc)
final public static float DEFAULT_TICK_MARK_INSIDE_LENGTH(Code)(Java Doc)
final public static float DEFAULT_TICK_MARK_OUTSIDE_LENGTH(Code)(Java Doc)
final public static Paint DEFAULT_TICK_MARK_PAINT(Code)(Java Doc)
final public static Stroke DEFAULT_TICK_MARK_STROKE(Code)(Java Doc)

Methods inherited from org.jfree.chart.axis.Axis
public void addChangeListener(AxisChangeListener listener)(Code)(Java Doc)
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
abstract public void configure()(Code)(Java Doc)
abstract public AxisState draw(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState)(Code)(Java Doc)
protected void drawAxisLine(Graphics2D g2, double cursor, Rectangle2D dataArea, RectangleEdge edge)(Code)(Java Doc)
protected AxisState drawLabel(String label, Graphics2D g2, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, AxisState state)(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public Paint getAxisLinePaint()(Code)(Java Doc)
public Stroke getAxisLineStroke()(Code)(Java Doc)
public double getFixedDimension()(Code)(Java Doc)
public String getLabel()(Code)(Java Doc)
public double getLabelAngle()(Code)(Java Doc)
protected Rectangle2D getLabelEnclosure(Graphics2D g2, RectangleEdge edge)(Code)(Java Doc)
public Font getLabelFont()(Code)(Java Doc)
public RectangleInsets getLabelInsets()(Code)(Java Doc)
public Paint getLabelPaint()(Code)(Java Doc)
public Plot getPlot()(Code)(Java Doc)
public Font getTickLabelFont()(Code)(Java Doc)
public RectangleInsets getTickLabelInsets()(Code)(Java Doc)
public Paint getTickLabelPaint()(Code)(Java Doc)
public float getTickMarkInsideLength()(Code)(Java Doc)
public float getTickMarkOutsideLength()(Code)(Java Doc)
public Paint getTickMarkPaint()(Code)(Java Doc)
public Stroke getTickMarkStroke()(Code)(Java Doc)
public boolean hasListener(EventListener listener)(Code)(Java Doc)
public boolean isAxisLineVisible()(Code)(Java Doc)
public boolean isTickLabelsVisible()(Code)(Java Doc)
public boolean isTickMarksVisible()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
protected void notifyListeners(AxisChangeEvent event)(Code)(Java Doc)
abstract public List refreshTicks(Graphics2D g2, AxisState state, Rectangle2D dataArea, RectangleEdge edge)(Code)(Java Doc)
public void removeChangeListener(AxisChangeListener listener)(Code)(Java Doc)
abstract public AxisSpace reserveSpace(Graphics2D g2, Plot plot, Rectangle2D plotArea, RectangleEdge edge, AxisSpace space)(Code)(Java Doc)
public void setAxisLinePaint(Paint paint)(Code)(Java Doc)
public void setAxisLineStroke(Stroke stroke)(Code)(Java Doc)
public void setAxisLineVisible(boolean visible)(Code)(Java Doc)
public void setFixedDimension(double dimension)(Code)(Java Doc)
public void setLabel(String label)(Code)(Java Doc)
public void setLabelAngle(double angle)(Code)(Java Doc)
public void setLabelFont(Font font)(Code)(Java Doc)
public void setLabelInsets(RectangleInsets insets)(Code)(Java Doc)
public void setLabelPaint(Paint paint)(Code)(Java Doc)
public void setPlot(Plot plot)(Code)(Java Doc)
public void setTickLabelFont(Font font)(Code)(Java Doc)
public void setTickLabelInsets(RectangleInsets insets)(Code)(Java Doc)
public void setTickLabelPaint(Paint paint)(Code)(Java Doc)
public void setTickLabelsVisible(boolean flag)(Code)(Java Doc)
public void setTickMarkInsideLength(float length)(Code)(Java Doc)
public void setTickMarkOutsideLength(float length)(Code)(Java Doc)
public void setTickMarkPaint(Paint paint)(Code)(Java Doc)
public void setTickMarkStroke(Stroke stroke)(Code)(Java Doc)
public void setTickMarksVisible(boolean flag)(Code)(Java Doc)
public void setVisible(boolean flag)(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.