Java Doc for CyclicNumberAxis.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
            org.jfree.chart.axis.CyclicNumberAxis

CyclicNumberAxis
public class CyclicNumberAxis extends NumberAxis (Code)
This class extends NumberAxis and handles cycling. Traditional representation of data in the range x0..x1
 |-------------------------|
 x0                       x1
 
Here, the range bounds are at the axis extremities. With cyclic axis, however, the time is split in "cycles", or "time frames", or the same duration : the period. A cycle axis cannot by definition handle a larger interval than the period :
x1 - x0 >= period
. Thus, at most a full period can be represented with such an axis. The cycle bound is the number between x0 and x1 which marks the beginning of new time frame:
 |---------------------|----------------------------|
 x0                   cb                           x1
 <---previous cycle---><-------current cycle-------->
 
It is actually a multiple of the period, plus optionally a start offset:
cb = n * period + offset
Thus, by definition, two consecutive cycle bounds period apart, which is precisely why it is called a period. The visual representation of a cyclic axis is like that:
 |----------------------------|---------------------|
 cb                         x1|x0                  cb
 <-------current cycle--------><---previous cycle--->
 
The cycle bound is at the axis ends, then current cycle is shown, then the last cycle. When using dynamic data, the visual effect is the current cycle erases the last cycle as x grows. Then, the next cycle bound is reached, and the process starts over, erasing the previous cycle. A Cyclic item renderer is provided to do exactly this.

Inner Class :protected static class CycleBoundTick extends NumberTick

Field Summary
final public static  PaintDEFAULT_ADVANCE_LINE_PAINT
     The default axis line paint.
public static  StrokeDEFAULT_ADVANCE_LINE_STROKE
     The default axis line stroke.
protected transient  PaintadvanceLinePaint
     The advance line paint.
protected transient  StrokeadvanceLineStroke
     The advance line stroke.
protected  booleanadvanceLineVisible
     A flag that controls whether or not the advance line is visible.
protected  booleanboundMappedToLastCycle
     ??.
protected  doubleoffset
     The offset.
protected  doubleperiod
     The period.

Constructor Summary
public  CyclicNumberAxis(double period)
     Creates a CycleNumberAxis with the given period.
public  CyclicNumberAxis(double period, double offset)
     Creates a CycleNumberAxis with the given period and offset.
public  CyclicNumberAxis(double period, String label)
     Creates a named CycleNumberAxis with the given period.
public  CyclicNumberAxis(double period, double offset, String label)
     Creates a named CycleNumberAxis with the given period and offset.

Method Summary
protected  float[]calculateAnchorPoint(ValueTick tick, double cursor, Rectangle2D dataArea, RectangleEdge edge)
     Calculates the anchor point for a tick.
Parameters:
  tick - the tick.
Parameters:
  cursor - the cursor.
Parameters:
  dataArea - the data area.
Parameters:
  edge - the side on which the axis is displayed.
public  voidcenterRange(double value)
     Centers the range about the given value.
public  AxisStatedraw(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState)
     Draws the axis.
Parameters:
  g2 - the graphics device (null not permitted).
Parameters:
  cursor - the cursor position.
Parameters:
  plotArea - the plot area (null not permitted).
Parameters:
  dataArea - the data area (null not permitted).
Parameters:
  edge - the edge (null not permitted).
Parameters:
  plotState - collects information about the plot (null permitted).
protected  AxisStatedrawTickMarksAndLabels(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge)
     Draws the tick marks and labels.
Parameters:
  g2 - the graphics device.
Parameters:
  cursor - the cursor.
Parameters:
  plotArea - the plot area.
Parameters:
  dataArea - the area inside the axes.
Parameters:
  edge - the side on which the axis is displayed.
public  booleanequals(Object obj)
     Tests the axis for equality with another object.
Parameters:
  obj - the object to test against.
public  PaintgetAdvanceLinePaint()
     The advance line is the line drawn at the limit of the current cycle, when erasing the previous cycle.
public  StrokegetAdvanceLineStroke()
     The advance line is the line drawn at the limit of the current cycle, when erasing the previous cycle.
public  doublegetCycleBound()
     The cycle bound is defined as the higest value x such that "offset + period * i = x", with i and integer and x < range.getUpperBound() This is the value which is at both ends of the axis : x...up|low...x The values from x to up are the valued in the current cycle.
public  doublegetOffset()
     The cycle bound is a multiple of the period, plus optionally a start offset.
public  doublegetPeriod()
     The cycle bound is a multiple of the period, plus optionally a start offset.
public  booleanisAdvanceLineVisible()
     The advance line is the line drawn at the limit of the current cycle, when erasing the previous cycle.
public  booleanisBoundMappedToLastCycle()
     The cycle bound can be associated either with the current or with the last cycle.
public  doublejava2DToValue(double java2DValue, Rectangle2D dataArea, RectangleEdge edge)
     Converts a coordinate from Java 2D space to data space.
Parameters:
  java2DValue - the coordinate in Java2D space.
Parameters:
  dataArea - the data area.
Parameters:
  edge - the edge.
protected  ListrefreshTicksHorizontal(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)
     Builds a list of ticks for the axis.
protected  ListrefreshVerticalTicks(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)
     Builds a list of ticks for the axis.
public  AxisSpacereserveSpace(Graphics2D g2, Plot plot, Rectangle2D plotArea, RectangleEdge edge, AxisSpace space)
     Reserve some space on each axis side because we draw a centered label at each extremity.
protected  voidselectHorizontalAutoTickUnit(Graphics2D g2, Rectangle2D drawArea, Rectangle2D dataArea, RectangleEdge edge)
     Selects a tick unit when the axis is displayed horizontally.
protected  voidselectVerticalAutoTickUnit(Graphics2D g2, Rectangle2D drawArea, Rectangle2D dataArea, RectangleEdge edge)
     Selects a tick unit when the axis is displayed vertically.
public  voidsetAdvanceLinePaint(Paint paint)
     The advance line is the line drawn at the limit of the current cycle, when erasing the previous cycle.
public  voidsetAdvanceLineStroke(Stroke stroke)
     The advance line is the line drawn at the limit of the current cycle, when erasing the previous cycle.
public  voidsetAdvanceLineVisible(boolean visible)
     The advance line is the line drawn at the limit of the current cycle, when erasing the previous cycle.
public  voidsetAutoRangeMinimumSize(double size, boolean notify)
     This function is nearly useless since the auto range is fixed for this class to the period.
public  voidsetBoundMappedToLastCycle(boolean boundMappedToLastCycle)
     The cycle bound can be associated either with the current or with the last cycle.
public  voidsetFixedAutoRange(double length)
     The auto range is fixed for this class to the period by default.
public  voidsetOffset(double offset)
     The cycle bound is a multiple of the period, plus optionally a start offset.
public  voidsetPeriod(double period)
     The cycle bound is a multiple of the period, plus optionally a start offset.
public  voidsetRange(Range range, boolean turnOffAutoRange, boolean notify)
     Sets a new axis range.
public  doublevalueToJava2D(double value, Rectangle2D dataArea, RectangleEdge edge)
     Translates a value from data space to Java 2D space.
Parameters:
  value - the data value.
Parameters:
  dataArea - the data area.
Parameters:
  edge - the edge.

Field Detail
DEFAULT_ADVANCE_LINE_PAINT
final public static Paint DEFAULT_ADVANCE_LINE_PAINT(Code)
The default axis line paint.



DEFAULT_ADVANCE_LINE_STROKE
public static Stroke DEFAULT_ADVANCE_LINE_STROKE(Code)
The default axis line stroke.



advanceLinePaint
protected transient Paint advanceLinePaint(Code)
The advance line paint.



advanceLineStroke
protected transient Stroke advanceLineStroke(Code)
The advance line stroke.



advanceLineVisible
protected boolean advanceLineVisible(Code)
A flag that controls whether or not the advance line is visible.



boundMappedToLastCycle
protected boolean boundMappedToLastCycle(Code)
??.



offset
protected double offset(Code)
The offset.



period
protected double period(Code)
The period.




Constructor Detail
CyclicNumberAxis
public CyclicNumberAxis(double period)(Code)
Creates a CycleNumberAxis with the given period.
Parameters:
  period - the period.



CyclicNumberAxis
public CyclicNumberAxis(double period, double offset)(Code)
Creates a CycleNumberAxis with the given period and offset.
Parameters:
  period - the period.
Parameters:
  offset - the offset.



CyclicNumberAxis
public CyclicNumberAxis(double period, String label)(Code)
Creates a named CycleNumberAxis with the given period.
Parameters:
  period - the period.
Parameters:
  label - the label.



CyclicNumberAxis
public CyclicNumberAxis(double period, double offset, String label)(Code)
Creates a named CycleNumberAxis with the given period and offset.
Parameters:
  period - the period.
Parameters:
  offset - the offset.
Parameters:
  label - the label.




Method Detail
calculateAnchorPoint
protected float[] calculateAnchorPoint(ValueTick tick, double cursor, Rectangle2D dataArea, RectangleEdge edge)(Code)
Calculates the anchor point for a tick.
Parameters:
  tick - the tick.
Parameters:
  cursor - the cursor.
Parameters:
  dataArea - the data area.
Parameters:
  edge - the side on which the axis is displayed. The anchor point.



centerRange
public void centerRange(double value)(Code)
Centers the range about the given value.
Parameters:
  value - the data value.



draw
public AxisState draw(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState)(Code)
Draws the axis.
Parameters:
  g2 - the graphics device (null not permitted).
Parameters:
  cursor - the cursor position.
Parameters:
  plotArea - the plot area (null not permitted).
Parameters:
  dataArea - the data area (null not permitted).
Parameters:
  edge - the edge (null not permitted).
Parameters:
  plotState - collects information about the plot (null permitted). The axis state (never null).



drawTickMarksAndLabels
protected AxisState drawTickMarksAndLabels(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge)(Code)
Draws the tick marks and labels.
Parameters:
  g2 - the graphics device.
Parameters:
  cursor - the cursor.
Parameters:
  plotArea - the plot area.
Parameters:
  dataArea - the area inside the axes.
Parameters:
  edge - the side on which the axis is displayed. The axis state.



equals
public boolean equals(Object obj)(Code)
Tests the axis for equality with another object.
Parameters:
  obj - the object to test against. A boolean.



getAdvanceLinePaint
public Paint getAdvanceLinePaint()(Code)
The advance line is the line drawn at the limit of the current cycle, when erasing the previous cycle. The paint (never null).



getAdvanceLineStroke
public Stroke getAdvanceLineStroke()(Code)
The advance line is the line drawn at the limit of the current cycle, when erasing the previous cycle. The stroke (never null).



getCycleBound
public double getCycleBound()(Code)
The cycle bound is defined as the higest value x such that "offset + period * i = x", with i and integer and x < range.getUpperBound() This is the value which is at both ends of the axis : x...up|low...x The values from x to up are the valued in the current cycle. The values from low to x are the valued in the previous cycle. The cycle bound.



getOffset
public double getOffset()(Code)
The cycle bound is a multiple of the period, plus optionally a start offset.

cb = n * period + offset

The current offset.
See Also:   CyclicNumberAxis.getCycleBound()



getPeriod
public double getPeriod()(Code)
The cycle bound is a multiple of the period, plus optionally a start offset.

cb = n * period + offset

The current period.
See Also:   CyclicNumberAxis.getCycleBound()



isAdvanceLineVisible
public boolean isAdvanceLineVisible()(Code)
The advance line is the line drawn at the limit of the current cycle, when erasing the previous cycle. A boolean.



isBoundMappedToLastCycle
public boolean isBoundMappedToLastCycle()(Code)
The cycle bound can be associated either with the current or with the last cycle. It's up to the user's choice to decide which, as this is just a convention. By default, the cycle bound is mapped to the current cycle.
Note that this has no effect on visual appearance, as the cycle bound is mapped successively for both axis ends. Use this function for correct results in translateValueToJava2D. true if the cycle bound is mapped to the last cycle, false if it is bound to the current cycle (default)



java2DToValue
public double java2DToValue(double java2DValue, Rectangle2D dataArea, RectangleEdge edge)(Code)
Converts a coordinate from Java 2D space to data space.
Parameters:
  java2DValue - the coordinate in Java2D space.
Parameters:
  dataArea - the data area.
Parameters:
  edge - the edge. The data value.



refreshTicksHorizontal
protected List refreshTicksHorizontal(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)(Code)
Builds a list of ticks for the axis. This method is called when the axis is at the top or bottom of the chart (so the axis is "horizontal").
Parameters:
  g2 - the graphics device.
Parameters:
  dataArea - the data area.
Parameters:
  edge - the edge. A list of ticks.



refreshVerticalTicks
protected List refreshVerticalTicks(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)(Code)
Builds a list of ticks for the axis. This method is called when the axis is at the left or right of the chart (so the axis is "vertical").
Parameters:
  g2 - the graphics device.
Parameters:
  dataArea - the data area.
Parameters:
  edge - the edge. A list of ticks.



reserveSpace
public AxisSpace reserveSpace(Graphics2D g2, Plot plot, Rectangle2D plotArea, RectangleEdge edge, AxisSpace space)(Code)
Reserve some space on each axis side because we draw a centered label at each extremity.
Parameters:
  g2 - the graphics device.
Parameters:
  plot - the plot.
Parameters:
  plotArea - the plot area.
Parameters:
  edge - the edge.
Parameters:
  space - the space already reserved. The reserved space.



selectHorizontalAutoTickUnit
protected void selectHorizontalAutoTickUnit(Graphics2D g2, Rectangle2D drawArea, Rectangle2D dataArea, RectangleEdge edge)(Code)
Selects a tick unit when the axis is displayed horizontally.
Parameters:
  g2 - the graphics device.
Parameters:
  drawArea - the drawing area.
Parameters:
  dataArea - the data area.
Parameters:
  edge - the side of the rectangle on which the axis is displayed.



selectVerticalAutoTickUnit
protected void selectVerticalAutoTickUnit(Graphics2D g2, Rectangle2D drawArea, Rectangle2D dataArea, RectangleEdge edge)(Code)
Selects a tick unit when the axis is displayed vertically.
Parameters:
  g2 - the graphics device.
Parameters:
  drawArea - the drawing area.
Parameters:
  dataArea - the data area.
Parameters:
  edge - the side of the rectangle on which the axis is displayed.



setAdvanceLinePaint
public void setAdvanceLinePaint(Paint paint)(Code)
The advance line is the line drawn at the limit of the current cycle, when erasing the previous cycle.
Parameters:
  paint - the paint (null not permitted).



setAdvanceLineStroke
public void setAdvanceLineStroke(Stroke stroke)(Code)
The advance line is the line drawn at the limit of the current cycle, when erasing the previous cycle.
Parameters:
  stroke - the stroke (null not permitted).



setAdvanceLineVisible
public void setAdvanceLineVisible(boolean visible)(Code)
The advance line is the line drawn at the limit of the current cycle, when erasing the previous cycle.
Parameters:
  visible - the flag.



setAutoRangeMinimumSize
public void setAutoRangeMinimumSize(double size, boolean notify)(Code)
This function is nearly useless since the auto range is fixed for this class to the period. The period is extended if necessary to fit the minimum size.
Parameters:
  size - the size.
Parameters:
  notify - notify?
See Also:   org.jfree.chart.axis.ValueAxis.setAutoRangeMinimumSize(doubleboolean)



setBoundMappedToLastCycle
public void setBoundMappedToLastCycle(boolean boundMappedToLastCycle)(Code)
The cycle bound can be associated either with the current or with the last cycle. It's up to the user's choice to decide which, as this is just a convention. By default, the cycle bound is mapped to the current cycle.
Note that this has no effect on visual appearance, as the cycle bound is mapped successively for both axis ends. Use this function for correct results in valueToJava2D.
Parameters:
  boundMappedToLastCycle - Set it to true to map the cycle bound to the last cycle.



setFixedAutoRange
public void setFixedAutoRange(double length)(Code)
The auto range is fixed for this class to the period by default. This function will thus set a new period.
Parameters:
  length - the length.
See Also:   org.jfree.chart.axis.ValueAxis.setFixedAutoRange(double)



setOffset
public void setOffset(double offset)(Code)
The cycle bound is a multiple of the period, plus optionally a start offset.

cb = n * period + offset


Parameters:
  offset - The offset to set.
See Also:   CyclicNumberAxis.getCycleBound()
See Also:   



setPeriod
public void setPeriod(double period)(Code)
The cycle bound is a multiple of the period, plus optionally a start offset.

cb = n * period + offset


Parameters:
  period - The period to set.
See Also:   CyclicNumberAxis.getCycleBound()



setRange
public void setRange(Range range, boolean turnOffAutoRange, boolean notify)(Code)
Sets a new axis range. The period is extended to fit the range size, if necessary.
Parameters:
  range - the range.
Parameters:
  turnOffAutoRange - switch off the auto range.
Parameters:
  notify - notify?
See Also:   org.jfree.chart.axis.ValueAxis.setRange(Rangebooleanboolean)
See Also:   



valueToJava2D
public double valueToJava2D(double value, Rectangle2D dataArea, RectangleEdge edge)(Code)
Translates a value from data space to Java 2D space.
Parameters:
  value - the data value.
Parameters:
  dataArea - the data area.
Parameters:
  edge - the edge. The Java 2D value.



Fields inherited from org.jfree.chart.axis.NumberAxis
final public static boolean DEFAULT_AUTO_RANGE_INCLUDES_ZERO(Code)(Java Doc)
final public static boolean DEFAULT_AUTO_RANGE_STICKY_ZERO(Code)(Java Doc)
final public static NumberTickUnit DEFAULT_TICK_UNIT(Code)(Java Doc)
final public static boolean DEFAULT_VERTICAL_TICK_LABELS(Code)(Java Doc)

Methods inherited from org.jfree.chart.axis.NumberAxis
protected void autoAdjustRange()(Code)(Java Doc)
protected double calculateHighestVisibleTickValue()(Code)(Java Doc)
protected double calculateLowestVisibleTickValue()(Code)(Java Doc)
protected int calculateVisibleTickCount()(Code)(Java Doc)
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public void configure()(Code)(Java Doc)
public static TickUnitSource createIntegerTickUnits()(Code)(Java Doc)
public static TickUnitSource createIntegerTickUnits(Locale locale)(Code)(Java Doc)
public static TickUnitSource createStandardTickUnits()(Code)(Java Doc)
public static TickUnitSource createStandardTickUnits(Locale locale)(Code)(Java Doc)
public AxisState draw(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState)(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected double estimateMaximumTickLabelHeight(Graphics2D g2)(Code)(Java Doc)
protected double estimateMaximumTickLabelWidth(Graphics2D g2, TickUnit unit)(Code)(Java Doc)
public boolean getAutoRangeIncludesZero()(Code)(Java Doc)
public boolean getAutoRangeStickyZero()(Code)(Java Doc)
public MarkerAxisBand getMarkerBand()(Code)(Java Doc)
public NumberFormat getNumberFormatOverride()(Code)(Java Doc)
public RangeType getRangeType()(Code)(Java Doc)
public NumberTickUnit getTickUnit()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public double java2DToValue(double java2DValue, Rectangle2D area, RectangleEdge edge)(Code)(Java Doc)
public List refreshTicks(Graphics2D g2, AxisState state, Rectangle2D dataArea, RectangleEdge edge)(Code)(Java Doc)
protected List refreshTicksHorizontal(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)(Code)(Java Doc)
protected List refreshTicksVertical(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)(Code)(Java Doc)
protected void selectAutoTickUnit(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)(Code)(Java Doc)
protected void selectHorizontalAutoTickUnit(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)(Code)(Java Doc)
protected void selectVerticalAutoTickUnit(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge)(Code)(Java Doc)
public void setAutoRangeIncludesZero(boolean flag)(Code)(Java Doc)
public void setAutoRangeStickyZero(boolean flag)(Code)(Java Doc)
public void setMarkerBand(MarkerAxisBand band)(Code)(Java Doc)
public void setNumberFormatOverride(NumberFormat formatter)(Code)(Java Doc)
public void setRangeType(RangeType rangeType)(Code)(Java Doc)
public void setTickUnit(NumberTickUnit unit)(Code)(Java Doc)
public void setTickUnit(NumberTickUnit unit, boolean notify, boolean turnOffAutoSelect)(Code)(Java Doc)
public double valueToJava2D(double value, Rectangle2D area, RectangleEdge edge)(Code)(Java Doc)

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.