Package org.ujmp.gui.plot
Class PlotSettings
java.lang.Object
org.ujmp.gui.plot.PlotSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Color
private Stroke
static final Stroke
static final float[]
private int
private MatrixGUIObject
private double
private double
private double
private double
private Color
private int
private Color
private Stroke
private Color
private Color
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private boolean
private long
private int
private Color
private Stroke
private Color
private Stroke
private Color
private Stroke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
double
double
double
double
int
long
getTraceColor
(int t) getTraceStroke
(int t) int
getWidth()
double
double
double
double
double
double
boolean
boolean
boolean
boolean
isShowTrace
(int i) boolean
boolean
boolean
boolean
boolean
void
setAxisColor
(Color axisColor) void
setAxisStroke
(Stroke axisStroke) void
setHeight
(int height) void
setMatrixGUIObject
(MatrixGUIObject matrixGUIObject) void
setMaxXValue
(double maxX) void
setMaxYValue
(double maxY) void
setMinXValue
(double minX) void
setMinYValue
(double minY) void
setPlotBackGroundColor
(Color plotBackGroundColor) void
setPlotColors
(List<Color> plotColors) void
setPlotStrokes
(List<Stroke> plotStrokes) void
setPlotTraces
(List<Boolean> plotTraces) void
setRunningAverageLength
(int runningAverageLength) void
setRunningAverageLineColor
(Color runningAverageLineColor) void
setRunningAverageStroke
(Stroke runningAverageStroke) void
setSelectionColor
(Color selectionColor) void
setSelectionLineColor
(Color selectionLineColor) void
setShowPlotBackGround
(boolean showPlotBackGround) void
setShowRunningAverage
(boolean showRunningAverage) void
setShowSelection
(boolean showSelection) void
setShowXAxis
(boolean showXAxis) void
setShowXGrid
(boolean showXGrid) void
setShowYAxis
(boolean showYAxis) void
setShowYGrid
(boolean showYGrid) void
setShowZeroAxis
(boolean showZeroAxis) void
setTimeLimit
(long timeLimit) void
setWidth
(int width) void
setXGridColor
(Color gridColor) void
setXGridStroke
(Stroke gridStroke) void
setYGridColor
(Color gridColor) void
setYGridStroke
(Stroke gridStroke) void
setZeroAxisColor
(Color zeroAxisColor) void
setZeroAxisStroke
(Stroke zeroAxisStroke)
-
Field Details
-
matrixGUIObject
-
timeLimit
private long timeLimit -
height
private int height -
width
private int width -
axisColor
-
zeroAxisColor
-
plotBackGroundColor
-
showXAxis
private boolean showXAxis -
showYAxis
private boolean showYAxis -
showZeroAxis
private boolean showZeroAxis -
showSelection
private boolean showSelection -
showPlotBackGround
private boolean showPlotBackGround -
minXValue
private double minXValue -
maxXValue
private double maxXValue -
minYValue
private double minYValue -
maxYValue
private double maxYValue -
plotColors
-
plotStrokes
-
axisStroke
-
zeroAxisStroke
-
DASHPATTERN
public static final float[] DASHPATTERN -
DASHEDSTROKE
-
yGridStroke
-
xGridStroke
-
xGridColor
-
yGridColor
-
selectionColor
-
selectionLineColor
-
plotTraces
-
showXGrid
private boolean showXGrid -
showYGrid
private boolean showYGrid -
showRunningAverage
private boolean showRunningAverage -
runningAverageLength
private int runningAverageLength -
runningAverageLineColor
-
runningAverageStroke
-
-
Constructor Details
-
PlotSettings
-
PlotSettings
public PlotSettings()
-
-
Method Details
-
setAxisColor
-
getHeight
public int getHeight() -
setHeight
public void setHeight(int height) -
getMatrixGUIObject
-
setMatrixGUIObject
-
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) -
getAxisColor
-
isShowXAxis
public boolean isShowXAxis() -
setShowXAxis
public void setShowXAxis(boolean showXAxis) -
isShowYAxis
public boolean isShowYAxis() -
setShowYAxis
public void setShowYAxis(boolean showYAxis) -
getAxisStroke
-
getPlotBackGroundColor
-
setPlotBackGroundColor
-
setAxisStroke
-
isShowPlotBackGround
public boolean isShowPlotBackGround() -
getMaxXValue
public double getMaxXValue() -
setMaxXValue
public void setMaxXValue(double maxX) -
getMaxYValue
public double getMaxYValue() -
setMaxYValue
public void setMaxYValue(double maxY) -
getMinXValue
public double getMinXValue() -
setMinXValue
public void setMinXValue(double minX) -
getMinYValue
public double getMinYValue() -
setMinYValue
public void setMinYValue(double minY) -
setShowPlotBackGround
public void setShowPlotBackGround(boolean showPlotBackGround) -
getXStepSize
public double getXStepSize() -
getXGridStepSize
public double getXGridStepSize() -
getXStepCount
public double getXStepCount() -
getXGridStroke
-
getYGridStroke
-
setXGridStroke
-
setYGridStroke
-
getXGridColor
-
getYGridColor
-
getXFactor
public double getXFactor() -
getYGridStepSize
public double getYGridStepSize() -
isShowXGrid
public boolean isShowXGrid() -
isShowYGrid
public boolean isShowYGrid() -
getYFactor
public double getYFactor() -
isShowTrace
public boolean isShowTrace(int i) -
getTraceStroke
-
getTraceColor
-
getPlotColors
-
setPlotColors
-
getPlotStrokes
-
setPlotStrokes
-
getPlotTraces
-
setPlotTraces
-
setShowXGrid
public void setShowXGrid(boolean showXGrid) -
setShowYGrid
public void setShowYGrid(boolean showYGrid) -
setXGridColor
-
setYGridColor
-
getTimeLimit
public long getTimeLimit() -
setTimeLimit
public void setTimeLimit(long timeLimit) -
getSelectionColor
-
setSelectionColor
-
isShowSelection
public boolean isShowSelection() -
getSelectionLineColor
-
setSelectionLineColor
-
setShowSelection
public void setShowSelection(boolean showSelection) -
isShowZeroAxis
public boolean isShowZeroAxis() -
setShowZeroAxis
public void setShowZeroAxis(boolean showZeroAxis) -
getZeroAxisColor
-
setZeroAxisColor
-
getZeroAxisStroke
-
setZeroAxisStroke
-
isShowRunningAverage
public boolean isShowRunningAverage() -
getRunningAverageLength
public int getRunningAverageLength() -
getRunningAverageLineColor
-
getRunningAverageStroke
-
setShowRunningAverage
public void setShowRunningAverage(boolean showRunningAverage) -
setRunningAverageLength
public void setRunningAverageLength(int runningAverageLength) -
setRunningAverageLineColor
-
setRunningAverageStroke
-