public class PhantomCMLE extends PhantomControl
Modifier and Type | Field and Description |
---|---|
int |
fieldType
Field type.
|
static int |
FLAG_BACKGROUND
Background color.
|
static int |
FLAG_FOREGROUND
Foreground color.
|
static int |
FLAG_HINDI
Hindi digits.
|
static int |
FLAG_RTL
RTL.
|
static int |
FLAG_USERCHANGELIGHTEVENT
Should user change light event be sent for each document change.
|
int |
flags
Flags.
|
int |
font
Field font.
|
boolean |
hasHorzScroll
Flag for MLE has a horizontal scroll bar.
|
boolean |
hasNoBorder
Flag for no border.
|
boolean |
hasVertScroll
Flag for MLE has a vertical scroll bar.
|
PhantomHostField |
hostField
The host field (may be null if the panel doesn't have a screen name).
|
String |
hostFieldName
The host field name.
|
boolean |
isDirectChecked
Direct check of chars.
|
boolean |
isWordWrapped
Field word wraps.
|
int |
length
Field length.
|
String |
objectName
Object name.
|
boolean |
userChangeLightEvent
Should user change light event be sent for each document change.
|
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 |
---|
PhantomCMLE(PhantomFile data)
Constructor for Designer control.
|
PhantomCMLE(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.
|
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.
|
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 class 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, getID, getIndex, getNPObjectExtra, getNPObjectID, getObject, getObject, getPanelData, getReferencedFiles, getTypeDescription, getTypeDescriptionID, initializeDesignerControls, processColorConversion, processColorConversion, processColorConversion, processDisabledBackground, resolveComponentReferences, saveBase, setBackgroundColor, setForegroundColor, setIndex, updateGuiOnTheFlyValue
public static final int FLAG_FOREGROUND
public static final int FLAG_BACKGROUND
public static final int FLAG_RTL
public static final int FLAG_HINDI
public static final int FLAG_USERCHANGELIGHTEVENT
public int length
public String objectName
public int fieldType
public String hostFieldName
public PhantomHostField hostField
public int font
public boolean hasHorzScroll
public boolean hasVertScroll
public boolean isWordWrapped
public int flags
public boolean hasNoBorder
public boolean isDirectChecked
public boolean userChangeLightEvent
public PhantomCMLE(PhantomFile data, PhantomPanelData panelData, int index, PhantomControlBase controlBase) throws IOException
Base: + length USHORT + isRightJustified BYTE + id BYTE [9] + object BYTE [9] + fieldType USHORT + hostField BYTE [9] + reserved BYTE [2] + font USHORT + foregroundColor BYTE + hasHorzScroll BYTE + hasVertScroll BYTE + isWordWrapped BYTE + backgroundColor BYTE + flags BYTE + reserved BYTE [5] + hasNoBorder BYTE + isDirectChecked BYTE
IOException
- if an I/O error occurs.public PhantomCMLE(PhantomFile data) throws IOException
IOException
- if an I/O error occurs.public void rebind()
rebind
in class PhantomControl
public void save(PhantomOutputFile file) throws IOException
Base: + length USHORT + isRightJustified BYTE + id BYTE [9] + object BYTE [9] + fieldType USHORT + hostField BYTE [9] + reserved BYTE [2] + font USHORT + foregroundColor BYTE + hasHorzScroll BYTE + hasVertScroll BYTE + isWordWrapped BYTE + backgroundColor BYTE + flags BYTE + reserved BYTE [5] + hasNoBorder BYTE + isDirectChecked BYTE
save
in class PhantomControl
file
- IOException
- if an I/O error occurs.public int getDataSize(PhantomOutputFile outputFile)
getDataSize
in class PhantomControl
public String getHostFieldID()
getHostFieldID
in class PhantomControl
public void reloadObject() throws IOException
reloadObject
in class PhantomControl
IOException
public boolean isActionConnectedEnabled()
isActionConnectedEnabled
in class PhantomControl
public void updateReferences(ApplicationReferences refs)
updateReferences
in class PhantomControl
protected void addNPObjects(ENPObject obj)
addNPObjects
in class PhantomControl
public String getControlObjectID()
object
instance if not resolved in this class instance.getControlObjectID
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.