public class AutoTickDisplayDateAxis extends org.jfree.chart.axis.DateAxis implements LocaleListener
| Modifier and Type | Field and Description |
|---|---|
static int |
DATE_STYLE_AUTO |
static int |
DATE_STYLE_DMY |
static int |
DATE_STYLE_MDY |
static int |
DATE_STYLE_YMD |
static int |
TIME_STYLE_12HR |
static int |
TIME_STYLE_24HR |
static int |
TIME_STYLE_AUTO |
DEFAULT_ANCHOR_DATE, DEFAULT_AUTO_RANGE_MINIMUM_SIZE_IN_MILLISECONDS, DEFAULT_DATE_RANGE, DEFAULT_DATE_TICK_UNITDEFAULT_AUTO_RANGE, DEFAULT_AUTO_RANGE_MINIMUM_SIZE, DEFAULT_AUTO_TICK_UNIT_SELECTION, DEFAULT_INVERTED, DEFAULT_LOWER_BOUND, DEFAULT_LOWER_MARGIN, DEFAULT_RANGE, DEFAULT_UPPER_BOUND, DEFAULT_UPPER_MARGIN, MAXIMUM_TICK_COUNTDEFAULT_AXIS_LABEL_FONT, DEFAULT_AXIS_LABEL_INSETS, DEFAULT_AXIS_LABEL_PAINT, DEFAULT_AXIS_LINE_PAINT, DEFAULT_AXIS_LINE_STROKE, DEFAULT_AXIS_VISIBLE, DEFAULT_TICK_LABEL_FONT, DEFAULT_TICK_LABEL_INSETS, DEFAULT_TICK_LABEL_PAINT, DEFAULT_TICK_LABELS_VISIBLE, DEFAULT_TICK_MARK_INSIDE_LENGTH, DEFAULT_TICK_MARK_OUTSIDE_LENGTH, DEFAULT_TICK_MARK_PAINT, DEFAULT_TICK_MARK_STROKE, DEFAULT_TICK_MARKS_VISIBLE| Constructor and Description |
|---|
AutoTickDisplayDateAxis() |
| Modifier and Type | Method and Description |
|---|---|
java.text.DateFormat |
getDateFormat()
Returns a date format (down to the day) according to the current settings
|
int |
getDateStyle() |
java.lang.String |
getLabel() |
java.text.DateFormat |
getTimeFormat()
Returns a date format (down to the second) according to the current settings
|
int |
getTimeStyle() |
boolean |
isDisplayDayInTitle() |
void |
localeChanged(java.util.Locale newLocale) |
static int |
resolveAutoDateStyle(int dateStyle) |
static int |
resolveAutoTimeStyle(int timeStyle) |
void |
setDateStyle(int dateStyle) |
void |
setDisplayDayInTitle(boolean displayDayInTitle) |
void |
setTimeStyle(int timeStyle) |
autoAdjustRange, calculateHighestVisibleTickValue, calculateLowestVisibleTickValue, clone, configure, createStandardDateTickUnits, createStandardDateTickUnits, createStandardDateTickUnits, dateToJava2D, draw, equals, getDateFormatOverride, getMaximumDate, getMinimumDate, getTickMarkPosition, getTickUnit, getTimeline, getTimeZone, hashCode, isHiddenValue, java2DToValue, nextStandardDate, previousStandardDate, refreshTicks, refreshTicksHorizontal, refreshTicksVertical, selectAutoTickUnit, selectHorizontalAutoTickUnit, selectVerticalAutoTickUnit, setDateFormatOverride, setMaximumDate, setMinimumDate, setRange, setRange, setRange, setRange, setTickMarkPosition, setTickUnit, setTickUnit, setTimeline, setTimeZone, valueToJava2D, zoomRangecalculateAnchorPoint, centerRange, drawAxisLine, drawTickMarksAndLabels, findMaximumTickLabelHeight, findMaximumTickLabelWidth, getAutoRangeMinimumSize, getAutoTickIndex, getDefaultAutoRange, getDownArrow, getFixedAutoRange, getLeftArrow, getLowerBound, getLowerMargin, getRange, getRightArrow, getStandardTickUnits, getUpArrow, getUpperBound, getUpperMargin, isAutoRange, isAutoTickUnitSelection, isInverted, isNegativeArrowVisible, isPositiveArrowVisible, isVerticalTickLabels, lengthToJava2D, reserveSpace, resizeRange, resizeRange, setAutoRange, setAutoRange, setAutoRangeMinimumSize, setAutoRangeMinimumSize, setAutoTickIndex, setAutoTickUnitSelection, setAutoTickUnitSelection, setDefaultAutoRange, setDownArrow, setFixedAutoRange, setInverted, setLeftArrow, setLowerBound, setLowerMargin, setNegativeArrowVisible, setPositiveArrowVisible, setRangeAboutValue, setRangeWithMargins, setRangeWithMargins, setRangeWithMargins, setRightArrow, setStandardTickUnits, setUpArrow, setUpperBound, setUpperMargin, setVerticalTickLabelsaddChangeListener, drawLabel, getAxisLinePaint, getAxisLineStroke, getFixedDimension, getLabelAngle, getLabelEnclosure, getLabelFont, getLabelInsets, getLabelPaint, getPlot, getTickLabelFont, getTickLabelInsets, getTickLabelPaint, getTickMarkInsideLength, getTickMarkOutsideLength, getTickMarkPaint, getTickMarkStroke, hasListener, isAxisLineVisible, isTickLabelsVisible, isTickMarksVisible, isVisible, notifyListeners, removeChangeListener, setAxisLinePaint, setAxisLineStroke, setAxisLineVisible, setFixedDimension, setLabel, setLabelAngle, setLabelFont, setLabelInsets, setLabelInsets, setLabelPaint, setPlot, setTickLabelFont, setTickLabelInsets, setTickLabelPaint, setTickLabelsVisible, setTickMarkInsideLength, setTickMarkOutsideLength, setTickMarkPaint, setTickMarkStroke, setTickMarksVisible, setVisiblepublic static final int DATE_STYLE_AUTO
public static final int DATE_STYLE_MDY
public static final int DATE_STYLE_DMY
public static final int DATE_STYLE_YMD
public static final int TIME_STYLE_AUTO
public static final int TIME_STYLE_12HR
public static final int TIME_STYLE_24HR
public java.text.DateFormat getDateFormat()
public java.text.DateFormat getTimeFormat()
public static int resolveAutoTimeStyle(int timeStyle)
public static int resolveAutoDateStyle(int dateStyle)
public java.lang.String getLabel()
getLabel in class org.jfree.chart.axis.Axispublic boolean isDisplayDayInTitle()
public void setDisplayDayInTitle(boolean displayDayInTitle)
public int getDateStyle()
public void setDateStyle(int dateStyle)
public int getTimeStyle()
public void setTimeStyle(int timeStyle)
public void localeChanged(java.util.Locale newLocale)
localeChanged in interface LocaleListener