Class TimePlotInfoWrapper
- java.lang.Object
-
- com.metsci.glimpse.core.plot.stacked.PlotInfoWrapper
-
- com.metsci.glimpse.core.plot.timeline.layout.TimePlotInfoWrapper
-
- All Implemented Interfaces:
PlotInfo,TimePlotInfo
- Direct Known Subclasses:
EventPlotInfo
public class TimePlotInfoWrapper extends PlotInfoWrapper implements TimePlotInfo
-
-
Constructor Summary
Constructors Constructor Description TimePlotInfoWrapper(TimePlotInfo info)
-
Method Summary
-
Methods inherited from class com.metsci.glimpse.core.plot.stacked.PlotInfoWrapper
addLayout, deletePlot, getBaseLayout, getId, getIndentLevel, getLayout, getLayoutData, getOrder, getOrthogonalAxis, getOrthogonalAxis, getParent, getPlotSpacing, getSize, getStackedPlot, isExpanded, isGrow, isVisible, removePlot, setGrow, setIndentLevel, setLayoutData, setLookAndFeel, setOrder, setParent, setPlotSpacing, setSize, setVisible, updateLayout
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.metsci.glimpse.core.plot.stacked.PlotInfo
addLayout, deletePlot, getBaseLayout, getId, getIndentLevel, getLayout, getLayoutData, getOrder, getOrthogonalAxis, getOrthogonalAxis, getParent, getPlotSpacing, getSize, getStackedPlot, isExpanded, isGrow, isVisible, removePlot, setGrow, setIndentLevel, setLayoutData, setLookAndFeel, setOrder, setParent, setPlotSpacing, setSize, setVisible, updateLayout
-
-
-
-
Constructor Detail
-
TimePlotInfoWrapper
public TimePlotInfoWrapper(TimePlotInfo info)
-
-
Method Detail
-
getCommonAxis
public TaggedAxis1D getCommonAxis()
Description copied from interface:PlotInfoReturns the common axis shared by all the plots in a StackedPlot2D.- Specified by:
getCommonAxisin interfacePlotInfo- Specified by:
getCommonAxisin interfaceTimePlotInfo- Overrides:
getCommonAxisin classPlotInfoWrapper- Returns:
- the shared axis for this plot
-
getCommonAxis
public TaggedAxis1D getCommonAxis(GlimpseTargetStack stack)
Description copied from interface:PlotInfoReturns the common axis associated with the given GlimpseTargetStack. Users generally should simply callPlotInfo.getCommonAxis().- Specified by:
getCommonAxisin interfacePlotInfo- Specified by:
getCommonAxisin interfaceTimePlotInfo- Overrides:
getCommonAxisin classPlotInfoWrapper
-
setTimeToolTipHandler
public void setTimeToolTipHandler(TimeToolTipHandler toolTipHandler)
- Specified by:
setTimeToolTipHandlerin interfaceTimePlotInfo
-
getDataAxisMouseListener
public DataAxisMouseListener1D getDataAxisMouseListener()
- Specified by:
getDataAxisMouseListenerin interfaceTimePlotInfo
-
setDefaultEventBorderColor
public void setDefaultEventBorderColor(float[] rgba)
- Specified by:
setDefaultEventBorderColorin interfaceTimePlotInfo
-
setBorderWidth
public void setBorderWidth(float width)
- Specified by:
setBorderWidthin interfaceTimePlotInfo
-
setLabelBorderColor
public void setLabelBorderColor(float[] rgba)
- Specified by:
setLabelBorderColorin interfaceTimePlotInfo
-
setLabelBorderWidth
public void setLabelBorderWidth(float width)
- Specified by:
setLabelBorderWidthin interfaceTimePlotInfo
-
setLabelText
public void setLabelText(String text)
- Specified by:
setLabelTextin interfaceTimePlotInfo
-
setLabelColor
public void setLabelColor(float[] rgba)
- Specified by:
setLabelColorin interfaceTimePlotInfo
-
setAxisColor
public void setAxisColor(float[] rgba)
- Specified by:
setAxisColorin interfaceTimePlotInfo
-
setAxisFont
public void setAxisFont(Font font)
- Specified by:
setAxisFontin interfaceTimePlotInfo
-
setBackgroundColor
public void setBackgroundColor(float[] rgba)
- Specified by:
setBackgroundColorin interfaceTimePlotInfo
-
getLabelLayout
public GlimpseLayout getLabelLayout()
- Specified by:
getLabelLayoutin interfaceTimePlotInfo
-
getBackgroundPainter
public BackgroundPainter getBackgroundPainter()
- Specified by:
getBackgroundPainterin interfaceTimePlotInfo
-
getGridPainter
public GridPainter getGridPainter()
- Specified by:
getGridPainterin interfaceTimePlotInfo
-
getAxisPainter
public NumericXYAxisPainter getAxisPainter()
- Specified by:
getAxisPainterin interfaceTimePlotInfo
-
getLabelPainter
public SimpleTextPainter getLabelPainter()
- Specified by:
getLabelPainterin interfaceTimePlotInfo
-
getBorderPainter
public BorderPainter getBorderPainter()
- Specified by:
getBorderPainterin interfaceTimePlotInfo
-
getLabelBorderPainter
public BorderPainter getLabelBorderPainter()
- Specified by:
getLabelBorderPainterin interfaceTimePlotInfo
-
getStackedTimePlot
public StackedTimePlot2D getStackedTimePlot()
- Specified by:
getStackedTimePlotin interfaceTimePlotInfo
-
getDataPainter
public DelegatePainter getDataPainter()
- Specified by:
getDataPainterin interfaceTimePlotInfo
-
addPainter
public void addPainter(GlimpsePainter painter)
- Specified by:
addPainterin interfaceTimePlotInfo
-
removePainter
public void removePainter(GlimpsePainter painter)
- Specified by:
removePainterin interfaceTimePlotInfo
-
-