Package loggerForms
Class FormPlotOptions
java.lang.Object
loggerForms.FormPlotOptions
- All Implemented Interfaces:
Serializable,Cloneable,ManagedParameters
Class to hold plot options for a single form.
Individual options will have to be looked at on a control by control
basis. Will attempt to implement everything as a 2D array of bools. For
most controls, this will have a single entry, but for lookups
it will be an array itself.
- Author:
- Doug Gillespie
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FormPlotOptionsclone()Get a set of data that describes all of the parameters in a classbooleanisPlotControl(int controlIndex) booleanisPlotControl(int controlIndex, int itemIndex) voidsetPlotControl(int controlIndex, boolean plot) voidsetPlotControl(int controlIndex, int itemIndex, boolean plot)
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
FormPlotOptions
public FormPlotOptions()
-
-
Method Details
-
isPlotControl
public boolean isPlotControl(int controlIndex) - Parameters:
controlIndex- index of control in form- Returns:
- true if all items with this control set should be plotted
-
isPlotControl
public boolean isPlotControl(int controlIndex, int itemIndex) - Parameters:
controlIndex- index of a controlitemIndex- index of a LUT item within a control- Returns:
- true if a lookup item of a certain index in a the selected control should be plotted
-
setPlotControl
public void setPlotControl(int controlIndex, boolean plot) - Parameters:
controlIndex- control index who's plot option should be set.plot- true if items with this control set should be plotted
-
setPlotControl
public void setPlotControl(int controlIndex, int itemIndex, boolean plot) - Parameters:
controlIndex- controlIndex control index who's plot option should be set.itemIndex- LUT item who's plot option should be setplot- item option.
-
clone
-
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
getParameterSetin interfaceManagedParameters- Returns:
- description of the parameters in a class.
-