|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.quinncurtis.chart2djava.ChartObj
com.quinncurtis.spcchartjava.SPCControlPlotObjectData
public class SPCControlPlotObjectData
This class holds information specific to a specific plot object, i.e. line plots, scatter plots and line marker plots.
Field Summary | |
---|---|
static int |
SPC_CONTROL_LABEL_INSIDE_PLOTAREA
Constant specifies that the plot object is to be labeled inside the plot area of the chart |
static int |
SPC_CONTROL_LABEL_OUTSIDE_PLOTAREA
Constant specifies that the plot object is to be labeled outside (to the right) the plot area of the chart |
Constructor Summary | |
---|---|
SPCControlPlotObjectData()
Default constructor for the class. |
|
SPCControlPlotObjectData(int limittype)
Constructor initializes a plot object with a specific limit type. |
|
SPCControlPlotObjectData(int limittype,
double sigmalevel)
Constructor initializes a plot object with a specific limit type. |
|
SPCControlPlotObjectData(SPCChartObjects chartobjects,
SPCControlLimitRecord controllimitrecord,
int limittype,
double sigmalevel)
Constructor initializes SPCControlPlotObjectData class with the parent SPCChartObjects object, and the associated SPCControlLimitRecord. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns an object that is a clone of this object. |
void |
copy(SPCControlPlotObjectData source)
Copies the source object. |
SimpleMultiPlot |
getBarPlot()
Get a reference to the SimpleBarPlot used to plot the data. |
ChartPoint2D |
getControlLimitLabelNudge()
Set the text label offset from the end of the plot. |
SPCControlLimitRecord |
getControlLimitRecord()
Get the SPCControlLimitRecord for this object. |
double |
getControlLimitSigmaLevel()
Sigma level for the plotted limit. |
ChartAttribute |
getDefaultLCLPlotLineAttrib()
Get default chart attributes for the lower control limit of the chart. |
int |
getDefaultMeasuredDataPlotSymbol()
Get default symbol used in the line marker plot of the measured variable line plot. |
ChartAttribute |
getDefaultMeasuredPlotLineAttrib()
Get default chart attributes for the measured variable line plot. |
int |
getDefaultPlotSymbolSize()
Get the symbol size of the symbol used by this plot object. |
int |
getDefaultSampledDataPlotSymbol()
Get default symbol used in the sampled data scatter plots. |
ChartAttribute |
getDefaultSamplePlotLineAttrib()
Get the default chart attributes for the sampled data scatter plots |
ChartAttribute |
getDefaultTargetPlotLineAttrib()
Get default chart attributes for the target line of the chart. |
ChartAttribute |
getDefaultUCLPlotLineAttrib()
GEt default chart attributes for the upper control limit of the chart. |
boolean |
getEnable()
Enable flag for object. |
ChartAttribute |
getLabelAttrib()
Get the chart attribute used for this objects label. |
int |
getLabelDecs()
Get the decimal precision used when converting the limitValue to a label, use -1 for auto. |
java.awt.Font |
getLabelFont()
Get font used in labeling the low, high and target control lines. |
boolean |
getLabelLimit()
Returns true if limit labeled. |
int |
getLabelPosition()
Get the position of the plot objects label. |
int |
getLimitMode()
Get the plot object mode. |
java.lang.String |
getLimitString()
Get the string used to label the line plot. |
double |
getLimitValue()
Get the limit value used by this plot object. |
StringLabel |
getLineLabelObj()
Get a reference to the LableObject used to label a control limit. |
SimpleMultiPlot |
getLineMarkerPlot()
Get a reference to the SimpleLineMarkerPlot used to plot the data. |
SimpleMultiPlot |
getLinePlot()
Get a reference to the SimpleLinePlot used to plot the data. |
SPCChartObjects |
getParentChartObjects()
Get the parent SPCChartObjects. |
ChartAttribute |
getPlotLineAttrib()
Get the chart attribute used for this objects line plot. |
int |
getPlotLineStepMode()
Get the line step mode used by this plot object. |
SimpleDataset |
getPlotSimpleDataset()
Get a reference to the SimpleDataset used to plot the data. |
int |
getPlotSymbol()
Get the id of the symbol used by this plot object. |
ChartAttribute |
getPlotSymbolAttrib()
Get the symbol attribute used for this objects symbols. |
TimeSimpleDataset |
getPlotTimeSimpleDataset()
Get a reference to the TimeSimpleDataset used to plot the data. |
SimpleMultiPlot |
getScatterPlot()
Get a reference to the SimpleScatterPlot used to plot the data. |
int |
getSPCControlLimitType()
Get the plot object type. |
void |
initSPCControlPlotObjectData(int limittype,
double sigmalevel)
Initialize a plot object with a specific limit type. |
void |
initSPCControlPlotObjectData(SPCChartObjects chartobjects,
SPCControlLimitRecord controllimitrecord,
int limittype,
double sigmalevel)
Initialize a plot object with a specific limit type. |
void |
reset()
Reset the datasets of the SPCControlPlotObjectData class. |
void |
setControlLimitLabelNudge(ChartPoint2D value)
Set the text label offset from the end of the plot. |
void |
setControlLimitRecord(SPCControlLimitRecord value)
Set the SPCControlLimitRecord for this object. |
void |
setControlLimitSigmaLevel(double value)
Sigma level for the plotted limit. |
void |
setDefaultLCLPlotLineAttrib(ChartAttribute value)
Specifies default chart attributes for the lower control limit of the chart. |
void |
setDefaultMeasuredDataPlotSymbol(int value)
Set default symbol used in the line marker plot of the measured variable line plot. |
void |
setDefaultMeasuredPlotLineAttrib(ChartAttribute value)
Set default chart attributes for the measured variable line plot. |
void |
setDefaultPlotSymbolSize(int value)
Set the symbol size of the symbol used by this plot object. |
void |
setDefaultSampledDataPlotSymbol(int value)
Set default symbol used in the sampled data scatter plots. |
void |
setDefaultSamplePlotLineAttrib(ChartAttribute value)
Set the default chart attributes for the sampled data scatter plots |
void |
setDefaultTargetPlotLineAttrib(ChartAttribute value)
Set default chart attributes for the target line of the chart. |
void |
setDefaultUCLPlotLineAttrib(ChartAttribute value)
Set default chart attributes for the upper control limit of the chart. |
void |
setEnable(boolean value)
Enable flag for object. |
void |
setLabelAttrib(ChartAttribute value)
Set the chart attribute used for this objects label. |
void |
setLabelDecs(int value)
Set the decimal precision used when converting the limitValue to a label, use -1 for auto. |
void |
setLabelFont(java.awt.Font value)
Set font used in labeling the low, high and target control lines. |
void |
setLabelLimit(boolean value)
Set to true to label the plot. |
void |
setLabelPosition(int value)
Set the position of the plot objects label. |
void |
setLimitMode(int value)
Set the plot object mode. |
void |
setLimitString(java.lang.String value)
Set the string used to label the line plot. |
void |
setLimitValue(double value)
Set the limit value used by this plot object. |
void |
setLineLabelObj(StringLabel value)
Set a reference to the LableObject used to label a control limit. |
void |
setParentChartObjects(SPCChartObjects value)
Set the parent SPCChartObjects. |
void |
setPlotLineAttrib(ChartAttribute value)
Set the chart attribute used for this objects line plot. |
void |
setPlotLineStepMode(int value)
Set the line step mode used by this plot object. |
void |
setPlotSymbol(int value)
Set the id of the symbol used by this plot object. |
void |
setPlotSymbolAttrib(ChartAttribute value)
Set the symbol attribute used for this objects symbols. |
void |
setSPCControlLimitType(int value)
Set the plot object type. |
static java.util.Vector<SPCControlPlotObjectData> |
TypeSafeVectorCopy(java.util.Vector<SPCControlPlotObjectData> source)
Returns an object that is a typesafe copy of the source Vector |
Methods inherited from class com.quinncurtis.chart2djava.ChartObj |
---|
copy, errorCheck, getChartObjIDCntr, getChartObjType, getThisChartObjID, TypeSafeVectorCopy |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SPC_CONTROL_LABEL_INSIDE_PLOTAREA
public static final int SPC_CONTROL_LABEL_OUTSIDE_PLOTAREA
Constructor Detail |
---|
public SPCControlPlotObjectData()
public SPCControlPlotObjectData(int limittype)
limittype
- The control limit type. Use one of the control limit type constants:
SPC_LOWER_CONTROL_LIMIT, SPC_UPPER_CONTROL_LIMIT, SPC_SAMPLED_DATA, SPC_CONTROL_TARGETpublic SPCControlPlotObjectData(int limittype, double sigmalevel)
limittype
- The control limit type. Use one of the control limit type constants:
SPC_LOWER_CONTROL_LIMIT, SPC_UPPER_CONTROL_LIMIT, SPC_SAMPLED_DATA, SPC_CONTROL_TARGETsigmalevel
- The sigma level associated with an upper limit or lower limit.public SPCControlPlotObjectData(SPCChartObjects chartobjects, SPCControlLimitRecord controllimitrecord, int limittype, double sigmalevel)
chartobjects
- The parent SPCChartObjects object. *controllimitrecord
- The associated SPCControlLimitRecord. *limittype
- The control limit type. Use one of the control limit type constants:
SPC_LOWER_CONTROL_LIMIT, SPC_UPPER_CONTROL_LIMIT, SPC_SAMPLED_DATA, SPC_CONTROL_TARGETsigmalevel
- The sigma level associated with an upper limit or lower limit.Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public void copy(SPCControlPlotObjectData source)
source
- The source object.public SimpleMultiPlot getBarPlot()
public ChartPoint2D getControlLimitLabelNudge()
public SPCControlLimitRecord getControlLimitRecord()
public double getControlLimitSigmaLevel()
public ChartAttribute getDefaultLCLPlotLineAttrib()
public int getDefaultMeasuredDataPlotSymbol()
public ChartAttribute getDefaultMeasuredPlotLineAttrib()
public int getDefaultPlotSymbolSize()
public int getDefaultSampledDataPlotSymbol()
public ChartAttribute getDefaultSamplePlotLineAttrib()
public ChartAttribute getDefaultTargetPlotLineAttrib()
public ChartAttribute getDefaultUCLPlotLineAttrib()
public boolean getEnable()
public ChartAttribute getLabelAttrib()
public int getLabelDecs()
public java.awt.Font getLabelFont()
public boolean getLabelLimit()
public int getLabelPosition()
public int getLimitMode()
public java.lang.String getLimitString()
public double getLimitValue()
public StringLabel getLineLabelObj()
public SimpleMultiPlot getLineMarkerPlot()
public SimpleMultiPlot getLinePlot()
public SPCChartObjects getParentChartObjects()
public ChartAttribute getPlotLineAttrib()
public int getPlotLineStepMode()
public SimpleDataset getPlotSimpleDataset()
public int getPlotSymbol()
public ChartAttribute getPlotSymbolAttrib()
public TimeSimpleDataset getPlotTimeSimpleDataset()
public SimpleMultiPlot getScatterPlot()
public int getSPCControlLimitType()
public void initSPCControlPlotObjectData(int limittype, double sigmalevel)
limittype
- The control limit type. Use one of the control limit type constants:
SPC_LOWER_CONTROL_LIMIT, SPC_UPPER_CONTROL_LIMIT, SPC_SAMPLED_DATA, SPC_CONTROL_TARGETsigmalevel
- The sigma level associated with an upper limit or lower limit.public void initSPCControlPlotObjectData(SPCChartObjects chartobjects, SPCControlLimitRecord controllimitrecord, int limittype, double sigmalevel)
chartobjects
- The parent SPCChartObjects object. *controllimitrecord
- The associated SPCControlLimitRecord. *limittype
- The control limit type. Use one of the control limit type constants:
SPC_LOWER_CONTROL_LIMIT, SPC_UPPER_CONTROL_LIMIT, SPC_SAMPLED_DATA, SPC_CONTROL_TARGETsigmalevel
- The sigma level associated with an upper limit or lower limit.public void reset()
public void setControlLimitLabelNudge(ChartPoint2D value)
public void setControlLimitRecord(SPCControlLimitRecord value)
public void setControlLimitSigmaLevel(double value)
public void setDefaultLCLPlotLineAttrib(ChartAttribute value)
public void setDefaultMeasuredDataPlotSymbol(int value)
public void setDefaultMeasuredPlotLineAttrib(ChartAttribute value)
public void setDefaultPlotSymbolSize(int value)
public void setDefaultSampledDataPlotSymbol(int value)
public void setDefaultSamplePlotLineAttrib(ChartAttribute value)
public void setDefaultTargetPlotLineAttrib(ChartAttribute value)
public void setDefaultUCLPlotLineAttrib(ChartAttribute value)
public void setEnable(boolean value)
public void setLabelAttrib(ChartAttribute value)
public void setLabelDecs(int value)
public void setLabelFont(java.awt.Font value)
public void setLabelLimit(boolean value)
public void setLabelPosition(int value)
public void setLimitMode(int value)
public void setLimitString(java.lang.String value)
public void setLimitValue(double value)
public void setLineLabelObj(StringLabel value)
public void setParentChartObjects(SPCChartObjects value)
public void setPlotLineAttrib(ChartAttribute value)
public void setPlotLineStepMode(int value)
public void setPlotSymbol(int value)
public void setPlotSymbolAttrib(ChartAttribute value)
public void setSPCControlLimitType(int value)
public static java.util.Vector<SPCControlPlotObjectData> TypeSafeVectorCopy(java.util.Vector<SPCControlPlotObjectData> source)
source
- source object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |