public class PhantomCOutputText extends PhantomControl
| Modifier and Type | Field and Description |
|---|---|
int | clientFlagsThe flags passed on to the client. |
boolean | doTranslateDo use translation table flag. |
static int | FLAG_BACKGROUNDBackground color conversion. |
static int | FLAG_FOCUSABLEFocusable flag. |
static int | FLAG_FOREGROUNDForeground color conversion. |
static int | FLAG_MNEMONICMnemonic processing. |
int | flagsControl flags. |
int | fontFont index. |
PhantomHostField | hostFieldThe host field (may be null if the panel doesn't have a screen name). |
String | hostFieldNameThe host field name. |
boolean | isMultiLineFlag for multiple lines. |
int | justificationJustification (0x00=left, 0x01=right, 0x02=center). |
String | objectNameObject name. |
String | textThe initial text when designing a panel. |
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 |
|---|
PhantomCOutputText(PhantomFile data)Creates an instance of the control class for the Designer control. |
PhantomCOutputText(PhantomFile data, PhantomPanelData panelData, int index, PhantomControlBase controlBase)Creates an instance of the control class. |
PhantomCOutputText(PhantomPanelData panelData, PhantomControlBase controlBase, boolean isRightJustified, PhantomHostField hostField)Creates an output text control for Gui-on-the-fly. |
| 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. |
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. |
String | getHostFieldID()Gets the host field ID for this control. |
protected String | getNPObjectExtra()Gets the "Extra" String for the NPObject. |
boolean | isFocusable()Checks if the output text is focusable. |
void | rebind()Re-bind the panel data. |
void | reloadObject()Reload object reference. |
void | save(PhantomOutputFile file)Saves an instance of the control class to file. |
void | updateGuiOnTheFlyValue(CRC32 crc32)Updates the CRC32 value of a Gui-on-the-fly value with the control's base data. |
void | updateReferences(ApplicationReferences refs)Updates the Applications References instance. |
addControlID, addControlReference, addHostFieldReference, appendBaseTransaction, checkTextPromptReferences, checkTextPromptReferences, clone, create, createNPObject, equals, getApplicationData, getBackgroundColor, getDesignerControl, getForegroundColor, getHostField, getID, getIndex, getNPObjectID, getObject, getObject, getPanelData, getReferencedFiles, getTypeDescription, getTypeDescriptionID, initializeDesignerControls, isActionConnectedEnabled, processColorConversion, processColorConversion, processColorConversion, processDisabledBackground, resolveComponentReferences, saveBase, setBackgroundColor, setForegroundColor, setIndexpublic static final int FLAG_FOREGROUND
public static final int FLAG_BACKGROUND
public static final int FLAG_MNEMONIC
public static final int FLAG_FOCUSABLE
public String objectName
public String hostFieldName
public PhantomHostField hostField
public int font
public int justification
public boolean isMultiLine
public boolean doTranslate
public int flags
public String text
public int clientFlags
public PhantomCOutputText(PhantomFile data, PhantomPanelData panelData, int index, PhantomControlBase controlBase) throws IOException
Base: + justification BYTE + reserved BYTE + initial text (skipped) BYTE [97] + id BYTE [9] + object BYTE [9] + hostField BYTE [9] + font USHORT + foregroundColor BYTE + isMultiLine BYTE + doTranslate BYTE + backgroundColor BYTE + flags BYTE + reserved BYTE [9]
IOException - if an I/O error occurs.public PhantomCOutputText(PhantomFile data) throws IOException
IOException - if an I/O error occurs.public PhantomCOutputText(PhantomPanelData panelData, PhantomControlBase controlBase, boolean isRightJustified, PhantomHostField hostField)
public void rebind()
rebind in class PhantomControlpublic void save(PhantomOutputFile file) throws IOException
Base: + justification BYTE + reserved BYTE + initial text (skipped) BYTE [97] + id BYTE [9] + object BYTE [9] + hostField BYTE [9] + font USHORT + foregroundColor BYTE + isMultiLine BYTE + doTranslate BYTE + backgroundColor BYTE + flags BYTE + reserved BYTE [9]
save in class PhantomControlIOException - if an I/O error occurs.public int getDataSize(PhantomOutputFile outputFile)
getDataSize in class PhantomControlpublic void reloadObject()
throws IOExceptionreloadObject in class PhantomControlIOExceptionpublic void updateGuiOnTheFlyValue(CRC32 crc32)
All controls that implements a Gui-on-the-fly constructor must always override this method and start by calling super.updateGuiOnTheFlyCRC32(crc32) before adding control specific data.
updateGuiOnTheFlyValue in class PhantomControlpublic String getHostFieldID()
getHostFieldID in class PhantomControlpublic boolean isFocusable()
public void updateReferences(ApplicationReferences refs)
updateReferences in class PhantomControlprotected void addNPObjects(ENPObject obj)
addNPObjects in class PhantomControlprotected String getNPObjectExtra()
getNPObjectExtra in class PhantomControlpublic String getControlObjectID()
object instance if not resolved in this class instance.getControlObjectID in class PhantomControlprotected boolean equalsControl(PhantomControl c)
equalsControl in class PhantomControlPhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.