Class TimeAxisModel
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.visualization.core.axis.AbstractAxisModel
-
- adams.gui.visualization.core.axis.AbstractDateBasedAxisModel
-
- adams.gui.visualization.core.axis.TimeAxisModel
-
- All Implemented Interfaces:
LoggingSupporter
,SizeOfHandler
,FlippableAxisModel
,Serializable
public class TimeAxisModel extends AbstractDateBasedAxisModel
An axis model for displaying time values.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.visualization.core.axis.AbstractDateBasedAxisModel
m_Flipped
-
Fields inherited from class adams.gui.visualization.core.axis.AbstractAxisModel
m_ActualMaximum, m_ActualMaximumNoMargin, m_ActualMinimum, m_ActualMinimumNoMargin, m_CustomerFormatter, m_Formatter, m_ManualMarginBottom, m_ManualMarginTop, m_ManualMaximum, m_ManualMinimum, m_MarginBottom, m_MarginTop, m_Maximum, m_Minimum, m_NthValueToShow, m_Parent, m_PixelOffset, m_PixelOffsets, m_TickGenerator, m_Validated, m_ZoomHandler
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description TimeAxisModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getDefaultDateFormat()
Returns the default format for the date/time formatter.String
getDisplayName()
Returns the display name of this model.-
Methods inherited from class adams.gui.visualization.core.axis.AbstractDateBasedAxisModel
adjustMaximum, adjustMinimum, assign, canAssignFormatter, canHandle, doValueToDisplay, getDefaultFormatter, initialize, isFlipped, posToValue, pushZoom, setFlipped, valueToPos
-
Methods inherited from class adams.gui.visualization.core.axis.AbstractAxisModel
canZoom, clearZoom, getActualFormatter, getActualMaximum, getActualMaximumNoMargin, getActualMinimum, getActualMinimumNoMargin, getBottomMargin, getCustomFormatter, getDefaultNumberFormat, getManualBottomMargin, getManualMaximum, getManualMinimum, getManualTopMargin, getMaximum, getMinimum, getMinZoomDifference, getNthValueToShow, getNumberFormat, getParent, getPixelOffset, getTickGenerator, getTicks, getTopMargin, hasCustomFormatter, invalidate, isZoomed, popZoom, setBottomMargin, setCustomFormatter, setManualBottomMargin, setManualMaximum, setManualMinimum, setManualTopMargin, setMaximum, setMinimum, setNthValueToShow, setNumberFormat, setParent, setPixelOffset, setTickGenerator, setTopMargin, toString, update, validate, valueToDisplay
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Returns the display name of this model.- Specified by:
getDisplayName
in classAbstractDateBasedAxisModel
- Returns:
- the display name
-
getDefaultDateFormat
protected String getDefaultDateFormat()
Returns the default format for the date/time formatter.- Specified by:
getDefaultDateFormat
in classAbstractDateBasedAxisModel
- Returns:
- the format string
-
-