Class AutoTickDisplayDateAxis
java.lang.Object
org.jfree.chart.axis.Axis
org.jfree.chart.axis.ValueAxis
org.jfree.chart.axis.DateAxis
com.inductiveautomation.factorypmi.application.components.chart.AutoTickDisplayDateAxis
- All Implemented Interfaces:
- LocaleListener,- Serializable,- Cloneable,- org.jfree.util.PublicCloneable
public class AutoTickDisplayDateAxis
extends org.jfree.chart.axis.DateAxis
implements LocaleListener
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class org.jfree.chart.axis.DateAxisDEFAULT_ANCHOR_DATE, DEFAULT_AUTO_RANGE_MINIMUM_SIZE_IN_MILLISECONDS, DEFAULT_DATE_RANGE, DEFAULT_DATE_TICK_UNITFields inherited from class org.jfree.chart.axis.ValueAxisDEFAULT_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_COUNTFields inherited from class org.jfree.chart.axis.AxisDEFAULT_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_VISIBLEFields inherited from interface com.inductiveautomation.ignition.client.model.LocaleListenerLOCAL_CHANGE_EVENT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns a date format (down to the day) according to the current settingsintgetLabel()Returns a date format (down to the second) according to the current settingsintbooleanvoidlocaleChanged(Locale newLocale) static intresolveAutoDateStyle(int dateStyle) static intresolveAutoTimeStyle(int timeStyle) voidsetDateStyle(int dateStyle) voidsetDisplayDayInTitle(boolean displayDayInTitle) voidsetTimeStyle(int timeStyle) Methods inherited from class org.jfree.chart.axis.DateAxisautoAdjustRange, 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, zoomRangeMethods inherited from class org.jfree.chart.axis.ValueAxiscalculateAnchorPoint, 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, setVerticalTickLabelsMethods inherited from class org.jfree.chart.axis.AxisaddChangeListener, 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, setVisible
- 
Field Details- 
DATE_STYLE_AUTOpublic static final int DATE_STYLE_AUTO- See Also:
 
- 
DATE_STYLE_MDYpublic static final int DATE_STYLE_MDY- See Also:
 
- 
DATE_STYLE_DMYpublic static final int DATE_STYLE_DMY- See Also:
 
- 
DATE_STYLE_YMDpublic static final int DATE_STYLE_YMD- See Also:
 
- 
TIME_STYLE_AUTOpublic static final int TIME_STYLE_AUTO- See Also:
 
- 
TIME_STYLE_12HRpublic static final int TIME_STYLE_12HR- See Also:
 
- 
TIME_STYLE_24HRpublic static final int TIME_STYLE_24HR- See Also:
 
 
- 
- 
Constructor Details- 
AutoTickDisplayDateAxispublic AutoTickDisplayDateAxis()
 
- 
- 
Method Details- 
getDateFormatReturns a date format (down to the day) according to the current settings
- 
getTimeFormatReturns a date format (down to the second) according to the current settings
- 
resolveAutoTimeStylepublic static int resolveAutoTimeStyle(int timeStyle) 
- 
resolveAutoDateStylepublic static int resolveAutoDateStyle(int dateStyle) 
- 
getLabel- Overrides:
- getLabelin class- org.jfree.chart.axis.Axis
 
- 
isDisplayDayInTitlepublic boolean isDisplayDayInTitle()
- 
setDisplayDayInTitlepublic void setDisplayDayInTitle(boolean displayDayInTitle) 
- 
getDateStylepublic int getDateStyle()
- 
setDateStylepublic void setDateStyle(int dateStyle) 
- 
getTimeStylepublic int getTimeStyle()
- 
setTimeStylepublic void setTimeStyle(int timeStyle) 
- 
localeChanged- Specified by:
- localeChangedin interface- LocaleListener
 
 
-