org.ujmp.gui.plot
Class PlotSettings

java.lang.Object
  extended by org.ujmp.gui.plot.PlotSettings

public class PlotSettings
extends Object


Field Summary
static Stroke DASHEDSTROKE
           
static float[] DASHPATTERN
           
 
Constructor Summary
PlotSettings()
           
PlotSettings(MatrixGUIObject m)
           
 
Method Summary
 Color getAxisColor()
           
 Stroke getAxisStroke()
           
 int getHeight()
           
 MatrixGUIObject getMatrixGUIObject()
           
 double getMaxXValue()
           
 double getMaxYValue()
           
 double getMinXValue()
           
 double getMinYValue()
           
 Color getPlotBackGroundColor()
           
 List<Color> getPlotColors()
           
 List<Stroke> getPlotStrokes()
           
 List<Boolean> getPlotTraces()
           
 int getRunningAverageLength()
           
 Color getRunningAverageLineColor()
           
 Stroke getRunningAverageStroke()
           
 Color getSelectionColor()
           
 Color getSelectionLineColor()
           
 long getTimeLimit()
           
 Color getTraceColor(int t)
           
 Stroke getTraceStroke(int t)
           
 int getWidth()
           
 double getXFactor()
           
 Color getXGridColor()
           
 double getXGridStepSize()
           
 Stroke getXGridStroke()
           
 double getXStepCount()
           
 double getXStepSize()
           
 double getYFactor()
           
 Color getYGridColor()
           
 double getYGridStepSize()
           
 Stroke getYGridStroke()
           
 Color getZeroAxisColor()
           
 Stroke getZeroAxisStroke()
           
 boolean isShowPlotBackGround()
           
 boolean isShowRunningAverage()
           
 boolean isShowSelection()
           
 boolean isShowTrace(int i)
           
 boolean isShowXAxis()
           
 boolean isShowXGrid()
           
 boolean isShowYAxis()
           
 boolean isShowYGrid()
           
 boolean isShowZeroAxis()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DASHPATTERN

public static final float[] DASHPATTERN

DASHEDSTROKE

public static final Stroke DASHEDSTROKE
Constructor Detail

PlotSettings

public PlotSettings(MatrixGUIObject m)

PlotSettings

public PlotSettings()
Method Detail

setAxisColor

public void setAxisColor(Color axisColor)

getHeight

public int getHeight()

setHeight

public void setHeight(int height)

getMatrixGUIObject

public MatrixGUIObject getMatrixGUIObject()

setMatrixGUIObject

public void setMatrixGUIObject(MatrixGUIObject matrixGUIObject)

getWidth

public int getWidth()

setWidth

public void setWidth(int width)

getAxisColor

public Color getAxisColor()

isShowXAxis

public boolean isShowXAxis()

setShowXAxis

public void setShowXAxis(boolean showXAxis)

isShowYAxis

public boolean isShowYAxis()

setShowYAxis

public void setShowYAxis(boolean showYAxis)

getAxisStroke

public Stroke getAxisStroke()

getPlotBackGroundColor

public Color getPlotBackGroundColor()

setPlotBackGroundColor

public void setPlotBackGroundColor(Color plotBackGroundColor)

setAxisStroke

public void setAxisStroke(Stroke axisStroke)

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

public Stroke getXGridStroke()

getYGridStroke

public Stroke getYGridStroke()

setXGridStroke

public void setXGridStroke(Stroke gridStroke)

setYGridStroke

public void setYGridStroke(Stroke gridStroke)

getXGridColor

public Color getXGridColor()

getYGridColor

public Color 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

public Stroke getTraceStroke(int t)

getTraceColor

public Color getTraceColor(int t)

getPlotColors

public List<Color> getPlotColors()

setPlotColors

public void setPlotColors(List<Color> plotColors)

getPlotStrokes

public List<Stroke> getPlotStrokes()

setPlotStrokes

public void setPlotStrokes(List<Stroke> plotStrokes)

getPlotTraces

public List<Boolean> getPlotTraces()

setPlotTraces

public void setPlotTraces(List<Boolean> plotTraces)

setShowXGrid

public void setShowXGrid(boolean showXGrid)

setShowYGrid

public void setShowYGrid(boolean showYGrid)

setXGridColor

public void setXGridColor(Color gridColor)

setYGridColor

public void setYGridColor(Color gridColor)

getTimeLimit

public long getTimeLimit()

setTimeLimit

public void setTimeLimit(long timeLimit)

getSelectionColor

public Color getSelectionColor()

setSelectionColor

public void setSelectionColor(Color selectionColor)

isShowSelection

public boolean isShowSelection()

getSelectionLineColor

public Color getSelectionLineColor()

setSelectionLineColor

public void setSelectionLineColor(Color selectionLineColor)

setShowSelection

public void setShowSelection(boolean showSelection)

isShowZeroAxis

public boolean isShowZeroAxis()

setShowZeroAxis

public void setShowZeroAxis(boolean showZeroAxis)

getZeroAxisColor

public Color getZeroAxisColor()

setZeroAxisColor

public void setZeroAxisColor(Color zeroAxisColor)

getZeroAxisStroke

public Stroke getZeroAxisStroke()

setZeroAxisStroke

public void setZeroAxisStroke(Stroke zeroAxisStroke)

isShowRunningAverage

public boolean isShowRunningAverage()

getRunningAverageLength

public int getRunningAverageLength()

getRunningAverageLineColor

public Color getRunningAverageLineColor()

getRunningAverageStroke

public Stroke getRunningAverageStroke()

setShowRunningAverage

public void setShowRunningAverage(boolean showRunningAverage)

setRunningAverageLength

public void setRunningAverageLength(int runningAverageLength)

setRunningAverageLineColor

public void setRunningAverageLineColor(Color runningAverageLineColor)

setRunningAverageStroke

public void setRunningAverageStroke(Stroke runningAverageStroke)


Copyright © 2010. All Rights Reserved.