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_UNKNOWN, CTRLTYPE_USER, namesCTRLFLAG_MOVEX, CTRLFLAG_MOVEY, CTRLFLAG_NEWGROUP, CTRLFLAG_SIZEX, CTRLFLAG_SIZEY, CTRLFLAG_SUBWIN, CTRLFLAG_TABSTOP, CTRLFLAG_TRANSPARENT| Constructor and Description |
|---|
PhantomCGroupBox(PhantomFile data,
PhantomPanelData panelData,
int index,
PhantomControlBase controlBase)
Creates an instance of the control class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getSaveSize()
Get the size when saved to file.
|
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.
|
addControlID, appendBaseTransaction, clone, create, getApplicationData, getBackgroundColor, getControlSize, getForegroundColor, getHostField, getHostFieldID, getID, getIndex, getObject, getObject, getPanelData, getReferencedFiles, 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 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 getSaveSize()
getSaveSize in class PhantomControlpublic void rebind()
rebind in class PhantomControlpublic void reloadObject()
reloadObject in class PhantomControlpublic boolean isTextPromptRefreshRequired()
public boolean isConnectToNextControlPropertySet()
Phantom® and NetPhantom® are registered trademarks of Nexum Technologies SARL.
© Copyright Nexum Technologies SARL, 2011. All rights reserved.