public class VirtualCBusGraphValues extends Object
Constructor and Description |
---|
VirtualCBusGraphValues(VirtualCBusGraph busGraph)
Creates a new object from REXX.
|
VirtualCBusGraphValues(VirtualCBusGraph busGraph,
PhantomCBusGraph.PhantomCBusGraphValues phantomValues)
Creates a new object by reading the Phantom file.
|
Modifier and Type | Method and Description |
---|---|
void |
fireCreate(Transaction trans)
This method is used to fire a create message to the client by
a virtual class.
|
void |
fireUpdate(Transaction trans)
This method is used to fire an update message to the client by
a virtual class.
|
int |
getMaxDataValues()
Returns the length of the maximum data value series.
|
VirtualCBusGraphValueData |
getValueDataObject(int i)
Returns the i'th value data object.
|
Vector<VirtualCBusGraphValueData> |
getValueDataObjects()
Returns the value data object vector.
|
boolean |
hasChanged()
Checks if the base control data with possible text data has changed.
|
void |
init(boolean create)
Initializes the object.
|
void |
refresh()
This method is used to refresh all virtual controls when e.g.
|
void |
setAutoMaxScaleFactor(double value)
Sets the autoMaxScaleFactor to a new value.
|
void |
setAutoMinScaleFactor(double value)
Sets the autoMinScaleFactor to a new value.
|
void |
setAutoScaleMax(double value)
Sets the autoScaleMax to a new value.
|
void |
setAutoScaleMin(double value)
Sets the autoScaleMin to a new value.
|
void |
setAxisColor(int color)
Sets the axisColor to a new value.
|
void |
setAxisLineType(int type)
Sets the axiLineType to a new value.
|
void |
setCatCrossAtVal(double value)
Sets the catCrossAtVal to a new value.
|
void |
setChanged()
This method is used to indicate that a virtual class has changed and that it
needs to update the client.
|
void |
setDataValueBackColor(int series,
int color)
Sets the backColor of the value data object number 'series'.
|
void |
setDataValueForeColor(int series,
int color)
Sets the foreColor of the value data object number 'series'.
|
void |
setDataValuePattern(int series,
int pattern)
Sets the pattern of the value data object number 'series'.
|
void |
setFlagAutoScaleMax(boolean on)
Sets the flagAutoScaleMax to a new value.
|
void |
setFlagAutoScaleMin(boolean on)
Sets the flagAutoScaleMin to a new value.
|
void |
setFlagCatCrossAtMax(boolean on)
Sets the flagCatCrossAtMax to a new value.
|
void |
setFlagDrawThreshold(boolean on)
The threshold drawing flag.
|
void |
setFlagDrawValueAxis(boolean on)
Sets the flagDrawValueAxis.
|
void |
setFlagMajorGridlines(boolean on)
Sets the flagMajorGridlines.
|
void |
setFlagMaxAutoScaleFactor(boolean on)
Sets the flagMaxAutoScaleFactor to a new value.
|
void |
setFlagMinAutoScaleFactor(boolean on)
Sets the flagMaxAutoScaleFactor to a new value.
|
void |
setFlagReverse(boolean on)
Sets the flagRevserse to a new value.
|
void |
setGridlineColor(int color)
Sets the gridline color.
|
void |
setGridlineLineType(int type)
Sets the gridline linetype.
|
void |
setTextColor(int color)
Sets the text color.
|
void |
setTextFont(int font,
boolean hasFontFace,
boolean hasFontSize,
boolean hasFontAttr)
Sets the value text font.
|
void |
setThresholdLineColor(int color)
The threshold line color.
|
void |
setThresholdLineType(int type)
The threshold line type.
|
void |
setThresholdLineWidth(int width)
The threshold line width.
|
void |
setThresholdValue(double value)
The threshold value.
|
void |
setTickLabels(int labels)
Sets the tickLabels value.
|
void |
setTickValues(int values)
Sets the tickValues value.
|
void |
setTitleText(String text)
Sets the titleText to a new value.
|
void |
setTitleTextColor(int color)
Sets the value title text color.
|
void |
setTitleTextFont(int font,
boolean hasFontFace,
boolean hasFontSize,
boolean hasFontAttr)
Sets the value title text font.
|
public VirtualCBusGraphValues(VirtualCBusGraph busGraph, PhantomCBusGraph.PhantomCBusGraphValues phantomValues)
public VirtualCBusGraphValues(VirtualCBusGraph busGraph)
public void init(boolean create)
create
- - true if the method is called at create, false
if it is called at modify.public void fireCreate(Transaction trans)
public void fireUpdate(Transaction trans)
public void refresh()
public void setChanged()
public boolean hasChanged()
The text change flag is not checked in this method, the control subclassing this class is responsible to call "setChanged()" whenever any child component of the virtual control has changed. This will guarantee that the entire chane of components, even upwards in the tree will synchronize the client panels and components.
public Vector<VirtualCBusGraphValueData> getValueDataObjects()
public VirtualCBusGraphValueData getValueDataObject(int i)
public int getMaxDataValues()
public void setTextFont(int font, boolean hasFontFace, boolean hasFontSize, boolean hasFontAttr)
public void setTitleTextFont(int font, boolean hasFontFace, boolean hasFontSize, boolean hasFontAttr)
public void setTitleText(String text)
public void setTitleTextColor(int color)
public void setTextColor(int color)
public void setGridlineColor(int color)
public void setGridlineLineType(int type)
public void setFlagMajorGridlines(boolean on)
public void setFlagDrawValueAxis(boolean on)
public void setFlagAutoScaleMin(boolean on)
public void setAutoScaleMin(double value)
public void setFlagAutoScaleMax(boolean on)
public void setAutoScaleMax(double value)
public void setFlagMaxAutoScaleFactor(boolean on)
public void setAutoMaxScaleFactor(double value)
public void setFlagMinAutoScaleFactor(boolean on)
public void setAutoMinScaleFactor(double value)
public void setFlagCatCrossAtMax(boolean on)
public void setCatCrossAtVal(double value)
public void setTickValues(int values)
public void setTickLabels(int labels)
public void setAxisColor(int color)
public void setAxisLineType(int type)
public void setFlagReverse(boolean on)
public void setDataValueForeColor(int series, int color)
public void setDataValueBackColor(int series, int color)
public void setDataValuePattern(int series, int pattern)
public void setFlagDrawThreshold(boolean on)
public void setThresholdValue(double value)
public void setThresholdLineType(int type)
public void setThresholdLineColor(int color)
public void setThresholdLineWidth(int width)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.