public class VirtualCBusGraphCategories extends Object
Constructor and Description |
---|
VirtualCBusGraphCategories(VirtualCBusGraph busGraph)
Creates a new object from REXX.
|
VirtualCBusGraphCategories(VirtualCBusGraph busGraph,
PhantomCBusGraph.PhantomCBusGraphCategories phantomCategories)
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.
|
Vector<String> |
getCategoryTexts()
Returns the category texts.
|
boolean |
hasChanged()
Checks if the base control data with possible text data has changed.
|
void |
hostScreenChanged(PhantomHostScreen screen)
The connected host screen has changed.
|
void |
init(boolean create)
Initializes the object.
|
void |
refresh()
This method is used to refresh all virtual controls when e.g.
|
void |
setAxisColor(int color)
Sets the axisColor to a new value.
|
void |
setAxisLineType(int type)
Sets the axisColor to a new value.
|
void |
setCatBetweenLabels(int val)
Sets catBetweenLabels to a new value.
|
void |
setCatBetweenMarks(int val)
Sets catBetweenMarks to a new value.
|
void |
setCategoryTexts(Vector<String> catTexts)
Sets the category texts vector.
|
void |
setChanged()
This method is used to indicate that a virtual class has changed and that it
needs to update the client.
|
void |
setFlagDrawCategoryAxis(boolean on)
Sets the flagDrawCategoryAxis.
|
void |
setFlagMajorGridlines(boolean on)
Sets the flagMajorGridlines.
|
void |
setFlagReverse(boolean on)
Sets the flagRevserse to a new value.
|
void |
setFlagValCrossAtMax(boolean on)
Sets flagValCrossAtMax 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 category text font.
|
void |
setTickLabels(int labels)
Sets the tickLabels value.
|
void |
setTickMarks(int marks)
Sets the tickMarks value.
|
void |
setTitleText(String text)
Sets the categoryTitle 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.
|
void |
setValCrossAtCat(int val)
Sets valCrossAtCat to a new value.
|
public VirtualCBusGraphCategories(VirtualCBusGraph busGraph, PhantomCBusGraph.PhantomCBusGraphCategories phantomCategories)
public VirtualCBusGraphCategories(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 void hostScreenChanged(PhantomHostScreen screen)
public void setTextFont(int font, boolean hasFontFace, boolean hasFontSize, boolean hasFontAttr)
public void setCategoryTexts(Vector<String> catTexts)
public void setFlagReverse(boolean on)
public void setCatBetweenMarks(int val)
public void setCatBetweenLabels(int val)
public void setValCrossAtCat(int val)
public void setFlagValCrossAtMax(boolean on)
public void setTitleText(String text)
public void setGridlineColor(int color)
public void setGridlineLineType(int type)
public void setFlagMajorGridlines(boolean on)
public void setFlagDrawCategoryAxis(boolean on)
public void setTickMarks(int marks)
public void setTickLabels(int labels)
public void setAxisColor(int color)
public void setAxisLineType(int type)
public void setTitleTextFont(int font, boolean hasFontFace, boolean hasFontSize, boolean hasFontAttr)
public void setTitleTextColor(int color)
public void setTextColor(int color)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.