public class PhantomCGroupBox extends PhantomControl
| Modifier and Type | Field and Description |
|---|---|
static int |
FLAG_3D
Flag: 3D effect for drawing.
|
static int |
FLAG_ALWAYSUPDATE
Flag: always update text.
|
static int |
FLAG_CENTER
Flag: center.
|
static int |
FLAG_MNEMONIC
Flag: use mnemonics.
|
static int |
FLAG_RIGHT
Flag: right justify.
|
int |
flags
The control flags.
|
int |
font
Font index.
|
int |
frameColor
Frame color index.
|
boolean |
isConnectedToNext
Connect state to next control.
|
String |
text
The text prompt.
|
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 |
|---|
PhantomCGroupBox(PhantomFile data)
Designer control constructor.
|
PhantomCGroupBox(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.
|
protected boolean |
equalsControl(PhantomControl c)
Checks for control equality.
|
int |
getDataSize(PhantomOutputFile outputFile)
Get the size when saved to file.
|
protected String |
getNPObjectExtra()
Gets the "Extra" String for the NPObject.
|
boolean |
isConnectToNextControlPropertySet()
Checks if the option "Connect to next control" property is set.
|
boolean |
isTextPromptRefreshRequired()
Checks if the static text always needs updates.
|
void |
rebind()
Re-bind the panel data.
|
void |
reloadObject()
Reload object reference.
|
void |
save(PhantomOutputFile file)
Saves the instance 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, getNPObjectID, getObject, getObject, getPanelData, getReferencedFiles, getTypeDescription, getTypeDescriptionID, initializeDesignerControls, isActionConnectedEnabled, processColorConversion, processColorConversion, processColorConversion, processDisabledBackground, resolveComponentReferences, saveBase, setBackgroundColor, setForegroundColor, setIndex, updateGuiOnTheFlyValuepublic static final int FLAG_3D
public static final int FLAG_RIGHT
public static final int FLAG_CENTER
public static final int FLAG_ALWAYSUPDATE
public static final int FLAG_MNEMONIC
public int font
public int frameColor
public boolean isConnectedToNext
public int flags
public String text
public PhantomCGroupBox(PhantomFile data, PhantomPanelData panelData, int index, PhantomControlBase controlBase) throws IOException
Base: + font USHORT + foregroundColor BYTE + frameColor BYTE + connectToNext BYTE + flags BYTE + text ZTSTRING
IOException - if an I/O error occurs.public PhantomCGroupBox(PhantomFile data) throws IOException
IOException - if an I/O error occurs.public void save(PhantomOutputFile file) throws IOException
Base: + font USHORT + foregroundColor BYTE + frameColor BYTE + connectToNext BYTE + flags BYTE + text ZTSTRING
save in class PhantomControlfile - IOException - if an I/O error occurs.public int getDataSize(PhantomOutputFile outputFile)
getDataSize in class PhantomControlpublic void rebind()
rebind in class PhantomControlpublic void reloadObject()
reloadObject in class PhantomControlpublic boolean isTextPromptRefreshRequired()
public boolean isConnectToNextControlPropertySet()
public void updateReferences(ApplicationReferences refs)
updateReferences in class PhantomControlprotected void addNPObjects(ENPObject obj)
addNPObjects in class PhantomControlprotected String getNPObjectExtra()
getNPObjectExtra in class PhantomControlprotected boolean equalsControl(PhantomControl c)
equalsControl in class PhantomControlPhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.