|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfree.chart.axis.PeriodAxisLabelInfo
public class PeriodAxisLabelInfo
A record that contains information for one "band" of date labels in
a PeriodAxis.
| Constructor Summary | |
|---|---|
PeriodAxisLabelInfo(java.lang.Class periodClass,
java.text.DateFormat dateFormat)
Creates a new instance. |
|
PeriodAxisLabelInfo(java.lang.Class periodClass,
java.text.DateFormat dateFormat,
org.jfree.ui.RectangleInsets padding,
java.awt.Font labelFont,
java.awt.Paint labelPaint,
boolean drawDividers,
java.awt.Stroke dividerStroke,
java.awt.Paint dividerPaint)
Creates a new instance. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a clone of the object. |
RegularTimePeriod |
createInstance(java.util.Date millisecond,
java.util.TimeZone zone)
Creates a time period that includes the specified millisecond, assuming the given time zone. |
boolean |
equals(java.lang.Object obj)
Tests this object for equality with an arbitrary object. |
java.text.DateFormat |
getDateFormat()
Returns the date formatter. |
java.awt.Paint |
getDividerPaint()
Returns the paint used to draw the dividers. |
java.awt.Stroke |
getDividerStroke()
Returns the stroke used to draw the dividers. |
boolean |
getDrawDividers()
Returns a flag that controls whether or not dividers are drawn. |
java.awt.Font |
getLabelFont()
Returns the label font. |
java.awt.Paint |
getLabelPaint()
Returns the label paint. |
org.jfree.ui.RectangleInsets |
getPadding()
Returns the padding for the band. |
java.lang.Class |
getPeriodClass()
Returns the subclass of RegularTimePeriod that should be used
to generate the date labels. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PeriodAxisLabelInfo(java.lang.Class periodClass,
java.text.DateFormat dateFormat)
periodClass - the subclass of RegularTimePeriod to use
(null not permitted).dateFormat - the date format (null not permitted).
public PeriodAxisLabelInfo(java.lang.Class periodClass,
java.text.DateFormat dateFormat,
org.jfree.ui.RectangleInsets padding,
java.awt.Font labelFont,
java.awt.Paint labelPaint,
boolean drawDividers,
java.awt.Stroke dividerStroke,
java.awt.Paint dividerPaint)
periodClass - the subclass of RegularTimePeriod to use
(null not permitted).dateFormat - the date format (null not permitted).padding - controls the space around the band.labelFont - the label font.labelPaint - the label paint.drawDividers - a flag that controls whether dividers are drawn.dividerStroke - the stroke used to draw the dividers.dividerPaint - the paint used to draw the dividers.| Method Detail |
|---|
public java.lang.Class getPeriodClass()
RegularTimePeriod that should be used
to generate the date labels.
public java.text.DateFormat getDateFormat()
null).public org.jfree.ui.RectangleInsets getPadding()
public java.awt.Font getLabelFont()
null).public java.awt.Paint getLabelPaint()
public boolean getDrawDividers()
public java.awt.Stroke getDividerStroke()
public java.awt.Paint getDividerPaint()
public RegularTimePeriod createInstance(java.util.Date millisecond,
java.util.TimeZone zone)
millisecond - the time.zone - the time zone.
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to test against (null permitted).
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException - if cloning is not supported.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||