public class PhantomCBusGraph extends PhantomControl
| Modifier and Type | Class and Description |
|---|---|
class |
PhantomCBusGraph.PhantomCBusGraphCategories
--- Class PhantomCBusGraphCategories.
|
class |
PhantomCBusGraph.PhantomCBusGraphLegend |
class |
PhantomCBusGraph.PhantomCBusGraphValueData
Class PhantomCBusGraphValueData.
|
class |
PhantomCBusGraph.PhantomCBusGraphValues
--- Class PhantomCBusGraphValues.
|
| Modifier and Type | Field and Description |
|---|---|
PhantomCBusGraph.PhantomCBusGraphCategories |
categoriesObject
The Categories axis object.
|
protected se.entra.phantom.geditor.NPPColorItemManager |
colorItemManager
Shortcut to color item manager.
|
static int |
DEFAULT_FONT
The default font (system proportional 10).
|
static int |
FLAG_TYPE_BAR |
static int |
FLAG_TYPE_COLUMN |
static int |
FLAG_TYPE_DEFAULT
Business graphics types.
|
static int |
FLAG_TYPE_LINE |
static int |
FLAG_TYPE_PIE |
static int |
FLAG_TYPE_SPRAY |
PhantomCBusGraph.PhantomCBusGraphLegend |
legendObject
The legend object containing legend information.
|
PhantomCBusGraphType |
typeObject
The specific type of business graph object.
|
PhantomCBusGraph.PhantomCBusGraphValues |
valuesObject
The Value axis object.
|
controlBase, controlColor, id, index, isBackgroundConverted, isForegroundConverted, object, panelData, popupMenu, tooltipTextCTRLTYPE_BUTTON, CTRLTYPE_CHECK, CTRLTYPE_COMBO, CTRLTYPE_FRAME, CTRLTYPE_GRAPH, CTRLTYPE_GROUP, CTRLTYPE_INOUT, CTRLTYPE_LIST, CTRLTYPE_MLE, CTRLTYPE_NOTE, CTRLTYPE_OUT, CTRLTYPE_RADIO, CTRLTYPE_RECT, CTRLTYPE_SPIN, CTRLTYPE_SUB, CTRLTYPE_TEXT, CTRLTYPE_UNKNOWN, CTRLTYPE_USER, namesCTRLFLAG_MOVEX, CTRLFLAG_MOVEY, CTRLFLAG_NEWGROUP, CTRLFLAG_SIZEX, CTRLFLAG_SIZEY, CTRLFLAG_SUBWIN, CTRLFLAG_TABSTOP, CTRLFLAG_TRANSPARENT| Constructor and Description |
|---|
PhantomCBusGraph(PhantomFile data,
PhantomPanelData panelData,
int index,
PhantomControlBase controlBase)
Creates an instance of the control class.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
changeFont(int font,
int newFont,
boolean hasFontFace,
boolean hasFontSize,
boolean hasFontAttr)
Changes a font according to the flags.
|
static int |
encodeFont(int face,
int size,
int attributes)
Encodes a font face, point size and attributes
to a 16 bit UShort value.
|
int |
getSaveSize()
Get the size when saved to file.
|
boolean |
isActionConnectedEnabled()
Checks if a control is action connected to another.
|
void |
rebind()
Re-bind the panel data.
|
void |
reloadObject()
Reload object reference.
|
void |
save(PhantomOutputFile file)
Saves the instance of the control to file.
|
addControlID, appendBaseTransaction, clone, create, getApplicationData, getBackgroundColor, getControlSize, getForegroundColor, getHostField, getHostFieldID, getID, getIndex, getObject, getObject, getPanelData, getReferencedFiles, processColorConversion, processColorConversion, processColorConversion, processDisabledBackground, resolveComponentReferences, saveBase, setBackgroundColor, setForegroundColor, setIndex, updateGuiOnTheFlyValuepublic static final int DEFAULT_FONT
public static final int FLAG_TYPE_DEFAULT
public static final int FLAG_TYPE_BAR
public static final int FLAG_TYPE_COLUMN
public static final int FLAG_TYPE_LINE
public static final int FLAG_TYPE_PIE
public static final int FLAG_TYPE_SPRAY
public PhantomCBusGraphType typeObject
public PhantomCBusGraph.PhantomCBusGraphLegend legendObject
public PhantomCBusGraph.PhantomCBusGraphValues valuesObject
public PhantomCBusGraph.PhantomCBusGraphCategories categoriesObject
protected se.entra.phantom.geditor.NPPColorItemManager colorItemManager
public PhantomCBusGraph(PhantomFile data, PhantomPanelData panelData, int index, PhantomControlBase controlBase) throws IOException
IOException - if an I/O error occurs.public void save(PhantomOutputFile file) throws IOException
save in class PhantomControlfile - IOException - if an I/O error occurs.public void rebind()
rebind in class PhantomControlpublic int getSaveSize()
getSaveSize in class PhantomControlpublic boolean isActionConnectedEnabled()
isActionConnectedEnabled in class PhantomControlpublic static int encodeFont(int face,
int size,
int attributes)
Valid attributes are:
0x01 Bold 0x02 Italic 0x04 Outline (not supported) 0x08 Strikeout (not supported) 0x10 Underscore
public static int changeFont(int font,
int newFont,
boolean hasFontFace,
boolean hasFontSize,
boolean hasFontAttr)
public void reloadObject()
throws IOException
reloadObject in class PhantomControlIOExceptionPhantom® and NetPhantom® are registered trademarks of Nexum Technologies SARL.
© Copyright Nexum Technologies SARL, 2011. All rights reserved.