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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet a set of data that describes all of the parameters in a classboolean
isPlotControl
(int controlIndex) boolean
isPlotControl
(int controlIndex, int itemIndex) void
setPlotControl
(int controlIndex, boolean plot) void
setPlotControl
(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.
-
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-