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.
|
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_TREE, CTRLTYPE_UNKNOWN, CTRLTYPE_USER, CTRLTYPES_COUNT, 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 |
|---|---|
protected void |
addNPObjects(ENPObject obj)
Gets the NPObject for the control.
|
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.
|
protected boolean |
equalsControl(PhantomControl c)
Checks for control equality.
|
String |
getControlObjectID()
Needs override by the control if the
object instance if not resolved in this class instance. |
int |
getDataSize(PhantomOutputFile outputFile)
Get the size when saved to file.
|
protected String |
getNPObjectExtra()
Gets the "Extra" String for the NPObject.
|
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.
|
void |
updateReferences(ApplicationReferences refs)
Updates the Applications References instance.
|
addControlID, addControlReference, addHostFieldReference, appendBaseTransaction, checkTextPromptReferences, checkTextPromptReferences, clone, create, createNPObject, equals, getApplicationData, getBackgroundColor, getDesignerControl, getForegroundColor, getHostField, getHostFieldID, getID, getIndex, getNPObjectID, getObject, getObject, getPanelData, getReferencedFiles, getTypeDescription, getTypeDescriptionID, initializeDesignerControls, 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
public PhantomCBusGraph(PhantomFile data, PhantomPanelData panelData, int index, PhantomControlBase controlBase) throws IOException
IOException - if an I/O error occurs.protected boolean equalsControl(PhantomControl c)
equalsControl in class PhantomControlpublic String getControlObjectID()
object instance if not resolved in this class instance.getControlObjectID in class PhantomControlpublic 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 getDataSize(PhantomOutputFile outputFile)
getDataSize in class PhantomControlpublic void updateReferences(ApplicationReferences refs)
updateReferences in class PhantomControlprotected void addNPObjects(ENPObject obj)
addNPObjects in class PhantomControlprotected String getNPObjectExtra()
getNPObjectExtra 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 Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.