|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metsci.glimpse.plot.timeline.layout.TimePlotInfo
public class TimePlotInfo
Constructor Summary | |
---|---|
TimePlotInfo(StackedTimePlot2D parent,
StackedPlot2D.PlotInfo child,
GridPainter gridPainter,
NumericXYAxisPainter axisPainter,
SimpleTextPainter labelPainter,
BorderPainter borderPainter)
|
Method Summary | |
---|---|
void |
addLayout(GlimpseAxisLayout2D childLayout)
Adds the childLayout to the part of the StackedPlot2D represented by this LayoutInfo. |
NumericXYAxisPainter |
getAxisPainter()
|
BorderPainter |
getBorderPainter()
|
TaggedAxis1D |
getCommonAxis()
Returns the common axis shared by all the plots in a StackedPlot2D. |
TaggedAxis1D |
getCommonAxis(GlimpseTargetStack stack)
Returns the common axis associated with the given GlimpseTargetStack. |
GridPainter |
getGridPainter()
|
java.lang.String |
getId()
Gets the unique identifier assigned to this plot. |
SimpleTextPainter |
getLabelPainter()
|
GlimpseAxisLayout2D |
getLayout()
Returns the GlimpseLayout for this plot. |
int |
getOrder()
|
Axis1D |
getOrthogonalAxis()
Returns the data axis associated with this plot. |
Axis1D |
getOrthogonalAxis(GlimpseTargetStack stack)
Returns the data axis associated with the given GlimpseTargetStack. |
int |
getSize()
|
StackedPlot2D |
getStackedPlot()
Gets a reference to the parent StackedPlot2D which this PlotInfo belongs to. |
StackedTimePlot2D |
getStackedTimePlot()
|
void |
setAxisColor(float[] rgba)
|
void |
setAxisFont(java.awt.Font font)
|
void |
setBorderColor(float[] rgba)
|
void |
setBorderWidth(float width)
|
void |
setLabelColor(float[] rgba)
|
void |
setLabelText(java.lang.String text)
|
void |
setOrder(int order)
Sets the ordering of this plot relative to the other plots in the StackedPlot2D. |
void |
setSize(int size)
Sets the size in pixels for this plot. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimePlotInfo(StackedTimePlot2D parent, StackedPlot2D.PlotInfo child, GridPainter gridPainter, NumericXYAxisPainter axisPainter, SimpleTextPainter labelPainter, BorderPainter borderPainter)
Method Detail |
---|
public void setBorderColor(float[] rgba)
public void setBorderWidth(float width)
public void setLabelText(java.lang.String text)
public void setLabelColor(float[] rgba)
public void setAxisColor(float[] rgba)
public void setAxisFont(java.awt.Font font)
public GridPainter getGridPainter()
public NumericXYAxisPainter getAxisPainter()
public SimpleTextPainter getLabelPainter()
public BorderPainter getBorderPainter()
public StackedTimePlot2D getStackedTimePlot()
public StackedPlot2D getStackedPlot()
StackedPlot2D.PlotInfo
getStackedPlot
in interface StackedPlot2D.PlotInfo
public java.lang.String getId()
StackedPlot2D.PlotInfo
getId
in interface StackedPlot2D.PlotInfo
public int getOrder()
getOrder
in interface StackedPlot2D.PlotInfo
public int getSize()
getSize
in interface StackedPlot2D.PlotInfo
public void setOrder(int order)
StackedPlot2D.PlotInfo
setOrder
in interface StackedPlot2D.PlotInfo
order
- the ordering value for this plotpublic void setSize(int size)
StackedPlot2D.PlotInfo
size < 0
, then
the plot will attempt to fill all available space, sharing space
evenly with other plots with negative size.
For a VERTICAL oriented plot, setSize( )
adjusts the plot
height, for a HORIZONTAL oriented plot, the width is adjusted.
setSize
in interface StackedPlot2D.PlotInfo
size
- the size of the plot in pixels.public GlimpseAxisLayout2D getLayout()
StackedPlot2D.PlotInfo
GlimpseLayout
for this plot. This can be used
to add subplots of painters to the plotting area.
getLayout
in interface StackedPlot2D.PlotInfo
public Axis1D getOrthogonalAxis(GlimpseTargetStack stack)
StackedPlot2D.PlotInfo
StackedPlot2D.PlotInfo.getOrthogonalAxis()
.
getOrthogonalAxis
in interface StackedPlot2D.PlotInfo
public Axis1D getOrthogonalAxis()
StackedPlot2D.PlotInfo
Axis1D.setParent( Axis1D )
.
getOrthogonalAxis
in interface StackedPlot2D.PlotInfo
public void addLayout(GlimpseAxisLayout2D childLayout)
StackedPlot2D.PlotInfo
addLayout
in interface StackedPlot2D.PlotInfo
public TaggedAxis1D getCommonAxis(GlimpseTargetStack stack)
StackedPlot2D.PlotInfo
StackedPlot2D.PlotInfo.getCommonAxis()
.
getCommonAxis
in interface StackedPlot2D.PlotInfo
public TaggedAxis1D getCommonAxis()
StackedPlot2D.PlotInfo
getCommonAxis
in interface StackedPlot2D.PlotInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |