Class TimelineInfo
- java.lang.Object
-
- com.metsci.glimpse.core.plot.stacked.PlotInfoWrapper
-
- com.metsci.glimpse.core.plot.timeline.layout.TimelineInfo
-
- All Implemented Interfaces:
PlotInfo
public class TimelineInfo extends PlotInfoWrapper
-
-
Field Summary
-
Fields inherited from class com.metsci.glimpse.core.plot.stacked.PlotInfoWrapper
info
-
-
Constructor Summary
Constructors Constructor Description TimelineInfo(StackedTimePlot2D plot, PlotInfo info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeAxisPaintergetAxisPainter()DelegatePaintergetAxisPainterDelegate()BorderPaintergetBorderPainter()GlimpseLayoutgetLabelLayout()The layout which aligns to the label section of the timeline rows.GlimpseAxisLayout1DgetTimelineLayout()The layout on which the time axis markings are painted.TimeZonegetTimeZone()SimpleTextPaintergetTimeZonePainter()voidsetAxisColor(float[] rgba)voidsetAxisFont(Font font)voidsetCurrentTimeColor(float[] rgba)voidsetEpoch(Epoch epoch)voidsetShowCurrentTime(boolean show)voidsetTimeAxisPainter(TimeAxisPainter painter)voidsetTimeZone(TimeZone timeZone)voidupdateLayout(int index)-
Methods inherited from class com.metsci.glimpse.core.plot.stacked.PlotInfoWrapper
addLayout, deletePlot, getBaseLayout, getCommonAxis, getCommonAxis, getId, getIndentLevel, getLayout, getLayoutData, getOrder, getOrthogonalAxis, getOrthogonalAxis, getParent, getPlotSpacing, getSize, getStackedPlot, isExpanded, isGrow, isVisible, removePlot, setGrow, setIndentLevel, setLayoutData, setLookAndFeel, setOrder, setParent, setPlotSpacing, setSize, setVisible
-
-
-
-
Constructor Detail
-
TimelineInfo
public TimelineInfo(StackedTimePlot2D plot, PlotInfo info)
-
-
Method Detail
-
setEpoch
public void setEpoch(Epoch epoch)
-
setTimeZone
public void setTimeZone(TimeZone timeZone)
-
getTimeZone
public TimeZone getTimeZone()
-
getAxisPainterDelegate
public DelegatePainter getAxisPainterDelegate()
-
getAxisPainter
public TimeAxisPainter getAxisPainter()
-
getTimeZonePainter
public SimpleTextPainter getTimeZonePainter()
-
getBorderPainter
public BorderPainter getBorderPainter()
-
getTimelineLayout
public GlimpseAxisLayout1D getTimelineLayout()
The layout on which the time axis markings are painted. Aligns with the plot section of the timeline rows.Painters may be added to this layout to draw additional decorations onto the time axis.
-
getLabelLayout
public GlimpseLayout getLabelLayout()
The layout which aligns to the label section of the timeline rows.Painters may be added to this layout to draw additional decorations onto the label section of the time axis.
-
setTimeAxisPainter
public void setTimeAxisPainter(TimeAxisPainter painter)
-
setAxisColor
public void setAxisColor(float[] rgba)
-
setAxisFont
public void setAxisFont(Font font)
-
setShowCurrentTime
public void setShowCurrentTime(boolean show)
-
setCurrentTimeColor
public void setCurrentTimeColor(float[] rgba)
-
updateLayout
public void updateLayout(int index)
- Specified by:
updateLayoutin interfacePlotInfo- Overrides:
updateLayoutin classPlotInfoWrapper
-
-