public class TimePlotInfoImpl extends PlotInfoWrapper implements TimePlotInfo
TimePlotInfo
info
Constructor and Description |
---|
TimePlotInfoImpl(StackedTimePlot2D parent,
PlotInfo child,
GlimpseAxisLayout2D plotLayout,
GlimpseLayout labelLayout,
DataAxisMouseListener1D listener,
GridPainter gridPainter,
NumericXYAxisPainter axisPainter,
SimpleTextPainter labelPainter,
BorderPainter borderPainter,
BorderPainter labelBorderPainter,
BackgroundPainter backgroundPainter,
DelegatePainter dataPainter) |
deletePlot, getId, getIndentLevel, getLayoutData, getOrder, getOrthogonalAxis, getOrthogonalAxis, getPlotSpacing, getSize, getStackedPlot, isGrow, isVisible, setGrow, setIndentLevel, setLayoutData, setOrder, setPlotSpacing, setSize, setVisible
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deletePlot, getId, getIndentLevel, getLayoutData, getOrder, getOrthogonalAxis, getOrthogonalAxis, getPlotSpacing, getSize, getStackedPlot, isGrow, isVisible, setGrow, setIndentLevel, setLayoutData, setOrder, setPlotSpacing, setSize, setVisible
public TimePlotInfoImpl(StackedTimePlot2D parent, PlotInfo child, GlimpseAxisLayout2D plotLayout, GlimpseLayout labelLayout, DataAxisMouseListener1D listener, GridPainter gridPainter, NumericXYAxisPainter axisPainter, SimpleTextPainter labelPainter, BorderPainter borderPainter, BorderPainter labelBorderPainter, BackgroundPainter backgroundPainter, DelegatePainter dataPainter)
public void setTimeToolTipHandler(TimeToolTipHandler toolTipHandler)
setTimeToolTipHandler
in interface TimePlotInfo
public DataAxisMouseListener1D getDataAxisMouseListener()
getDataAxisMouseListener
in interface TimePlotInfo
public void setDefaultEventBorderColor(float[] rgba)
setDefaultEventBorderColor
in interface TimePlotInfo
public void setBorderWidth(float width)
setBorderWidth
in interface TimePlotInfo
public void setLabelBorderColor(float[] rgba)
setLabelBorderColor
in interface TimePlotInfo
public void setLabelBorderWidth(float width)
setLabelBorderWidth
in interface TimePlotInfo
public void setLabelText(String text)
setLabelText
in interface TimePlotInfo
public void setLabelColor(float[] rgba)
setLabelColor
in interface TimePlotInfo
public void setAxisColor(float[] rgba)
setAxisColor
in interface TimePlotInfo
public void setAxisFont(Font font)
setAxisFont
in interface TimePlotInfo
public void setBackgroundColor(float[] rgba)
setBackgroundColor
in interface TimePlotInfo
public GlimpseAxisLayout2D getLayout()
PlotInfo
GlimpseAxisLayout2D
for this plot. This can be used
to add subplots of painters to the plotting area.getLayout
in interface PlotInfo
getLayout
in class PlotInfoWrapper
public void addLayout(GlimpseAxisLayout2D childLayout)
PlotInfo
addLayout
in interface PlotInfo
addLayout
in class PlotInfoWrapper
public GlimpseLayout getBaseLayout()
PlotInfo
GlimpseLayout
. If this plot is made of a single GlimpseLayout,
#getLayout()
and #getBaseLayout()
will return the same GlimpseLayout.
Otherwise, the result of #getLayout()
will be a child of #getBaseLayout()
.
Further, #getBaseLayout()
will be a direct child of the StackedPlot2D
that this PlotInfo
is part of.getBaseLayout
in interface PlotInfo
getBaseLayout
in class PlotInfoWrapper
public GlimpseLayout getLabelLayout()
getLabelLayout
in interface TimePlotInfo
public BackgroundPainter getBackgroundPainter()
getBackgroundPainter
in interface TimePlotInfo
public GridPainter getGridPainter()
getGridPainter
in interface TimePlotInfo
public NumericXYAxisPainter getAxisPainter()
getAxisPainter
in interface TimePlotInfo
public SimpleTextPainter getLabelPainter()
getLabelPainter
in interface TimePlotInfo
public BorderPainter getBorderPainter()
getBorderPainter
in interface TimePlotInfo
public BorderPainter getLabelBorderPainter()
getLabelBorderPainter
in interface TimePlotInfo
public StackedTimePlot2D getStackedTimePlot()
getStackedTimePlot
in interface TimePlotInfo
public DelegatePainter getDataPainter()
getDataPainter
in interface TimePlotInfo
public void addPainter(GlimpsePainter painter)
addPainter
in interface TimePlotInfo
public void removePainter(GlimpsePainter painter)
removePainter
in interface TimePlotInfo
public TaggedAxis1D getCommonAxis(GlimpseTargetStack stack)
PlotInfo
PlotInfo.getCommonAxis()
.getCommonAxis
in interface PlotInfo
getCommonAxis
in interface TimePlotInfo
getCommonAxis
in class PlotInfoWrapper
public TaggedAxis1D getCommonAxis()
PlotInfo
getCommonAxis
in interface PlotInfo
getCommonAxis
in interface TimePlotInfo
getCommonAxis
in class PlotInfoWrapper
public void setLookAndFeel(LookAndFeel laf)
setLookAndFeel
in interface PlotInfo
setLookAndFeel
in class PlotInfoWrapper
public void updateLayout(int index)
updateLayout
in interface PlotInfo
updateLayout
in class PlotInfoWrapper
Copyright © 2013 Metron, Inc.. All rights reserved.