public class PhantomCRectangle extends PhantomControl
Modifier and Type | Field and Description |
---|---|
int |
depth
Depth for 3D (0-255).
|
controlBase, controlColor, id, index, isBackgroundConverted, isForegroundConverted, object, panelData, popupMenu, tooltipText
CTRLTYPE_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, names
CTRLFLAG_MOVEX, CTRLFLAG_MOVEY, CTRLFLAG_NEWGROUP, CTRLFLAG_SIZEX, CTRLFLAG_SIZEY, CTRLFLAG_SUBWIN, CTRLFLAG_TABSTOP, CTRLFLAG_TRANSPARENT
Constructor and Description |
---|
PhantomCRectangle(PhantomFile data)
Constructor for frame and rectangle Designer controls.
|
PhantomCRectangle(PhantomFile data,
PhantomPanelData panelData,
int index,
PhantomControlBase controlBase)
Creates an instance of the control class.
|
PhantomCRectangle(PhantomPanelData panelData,
PhantomControlBase controlBase) |
Modifier and Type | Method and Description |
---|---|
protected void |
addNPObjects(ENPObject obj)
Gets the NPObject for the control.
|
protected boolean |
equalsControl(PhantomControl c)
Checks for control equality.
|
int |
getDataSize(PhantomOutputFile outputFile)
Get the size when saved to file.
|
void |
rebind()
Re-bind the panel data.
|
void |
reloadObject()
Reload object reference.
|
void |
save(PhantomOutputFile file)
Saves the instance of the control class to file.
|
void |
updateReferences(ApplicationReferences refs)
Updates the Applications References instance.
|
addControlID, addControlReference, addHostFieldReference, appendBaseTransaction, checkTextPromptReferences, checkTextPromptReferences, clone, create, createNPObject, equals, getApplicationData, getBackgroundColor, getControlObjectID, getDesignerControl, getForegroundColor, getHostField, getHostFieldID, getID, getIndex, getNPObjectExtra, getNPObjectID, getObject, getObject, getPanelData, getReferencedFiles, getTypeDescription, getTypeDescriptionID, initializeDesignerControls, isActionConnectedEnabled, processColorConversion, processColorConversion, processColorConversion, processDisabledBackground, resolveComponentReferences, saveBase, setBackgroundColor, setForegroundColor, setIndex, updateGuiOnTheFlyValue
public PhantomCRectangle(PhantomFile data, PhantomPanelData panelData, int index, PhantomControlBase controlBase) throws IOException
Base (if there is any data, otherwise set members to zero): + color BYTE + depth BYTE
IOException
- if an I/O error occurs.public PhantomCRectangle(PhantomFile data) throws IOException
IOException
- if an I/O error occurs.public PhantomCRectangle(PhantomPanelData panelData, PhantomControlBase controlBase)
public void save(PhantomOutputFile file) throws IOException
Base (if there is any data, otherwise set members to zero): + color BYTE + depth BYTE
save
in class PhantomControl
file
- IOException
- if an I/O error occurs.public int getDataSize(PhantomOutputFile outputFile)
getDataSize
in class PhantomControl
public void rebind()
rebind
in class PhantomControl
public void reloadObject()
reloadObject
in class PhantomControl
public void updateReferences(ApplicationReferences refs)
updateReferences
in class PhantomControl
protected void addNPObjects(ENPObject obj)
addNPObjects
in class PhantomControl
protected boolean equalsControl(PhantomControl c)
equalsControl
in class PhantomControl
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.