Class ScreenFieldProp
- All Implemented Interfaces:
- EventListener,- IGProp<GProp<?>[]>,- IPropCnr,- IVSColumnBestValueListener,- IVSColumnListener,- IVSComponentListener,- IVSComponentReferenceProvider,- IVSComponentState,- IVSFieldListener,- Cloneable
- Direct Known Subclasses:
- EditorScreenFieldProp
- Nested Class Summary- Nested classes/interfaces inherited from interface com.iizix.prop.vs.IVSComponentState- IVSComponentState.State
- Field SummaryFieldsModifier and TypeFieldDescription- static final intLeft justification.- static final intNo justification.- static final intRight justification.- static final intField type: Alphanumeric characters only.- static final intField type: Alpha characters only.- static final intField type: Any character allowed.- static final intField type: Digits only.- static final intField type: Implied decimal number.- static final intField type: Katakana shift.- static final intField type: Marked field.- static final intField type: Numeric only.- static final intField type: Numeric shift.- static final intField type: Signed numeric.- static final intField type: Upper case any character.- static final String- static final StringName for the relative VirtualSpace connection property.- static final String- Fields inherited from class com.iizix.prop.PropCnr- EMPTY, EMPTY_CLASSES, EMPTY_CNRS, EXTENDS_FRAMEWORK_ERROR_ID, nameTable- Fields inherited from class com.iizix.prop.GProp- GPDEBUG, PROP_ATTR_STRING_EDITOR_PROP, PROP_ATTR_STRING_ERRORED_NAME, PROP_ATTR_STRING_EXTENDS, PROP_ATTR_STRING_EXTENDS_FINAL, PROP_ATTR_STRING_EXTENDS_PRIVATE, PROP_ATTR_STRING_NULLABLE, PROP_ATTR_STRING_PRIVATE, PROP_ATTR_STRING_PRIVATE_CHANGE_EVENT, PROP_ATTR_STRING_READ_ONLY, PROP_USER_1, PROP_USER_2- Fields inherited from interface com.iizix.prop.IGProp- EQC_ERROR_IGNORE_ALL, EQC_ERROR_IGNORE_REFERENCES, EQC_IGNORE_ARRAY, EQC_IGNORE_VOLATILE_OR_EDITOR, EQC_PRIVATE, EQC_SAVE_FILE, EXT_CONTAINER_EXTENDS, EXT_CONTAINER_EXTENDS_VALID, EXT_EXTENDED, EXT_FINAL, EXT_OVERRIDES, EXT_OVERRIDES_FINAL_ERR, EXT_PRIVATE
- Constructor SummaryConstructorsConstructorDescriptionCreates the Screen Field property container without a name.- ScreenFieldProp- (Atom propertyAtom) Creates the Screen Field property container with the specified name.
- Method SummaryModifier and TypeMethodDescription- clone()Creates a clone out of this property.- boolean- doesScreenMatch- (HostScreen screen) Checks if this host field belongs to a screen that is currently matching or not.- boolean- doesScreenMatch- (HostSession hostSession) Checks if this host field belongs to a screen that is currently matching or not.- getBestVSColumnHeaderValueType- (VSRelativeReference<?> reference) Requests the value type that would best suit the listener.- getBestVSFieldValueType- (VSRelativeReference<?> reference) Requests the value type that would best suit the listener.- int- getColor- (HostScreen screen) Gets the CGA color of this field.- int- getColor- (HostScreen screen, boolean isDynamic) Gets the CGA color of this field.- int- getColor- (HostScreen screen, int line) Gets the CGA color of a line in this field.- int- getColor- (HostScreen screen, int line, boolean doCheckMatch) Gets the CGA color of a line in this field.- int- getColor2- (HostScreen screen, boolean doCheckMatch) Gets the CGA color of this field.- getCurrentHostSession- (String logMsg) Gets the current host session from the Application properties.- int- getCX()Get the width.- int- getCY()Get the height.Gets the class reference for the field processing used to getting/setting host field and providing conversion/mapping/translation support.- getHiddenHostFieldColumn- (HostScreen screen) Gets an array of all host field cells in a column.- getHiddenHostString- (HostScreen screen) Gets the contents of this host field.- getHiddenHostString- (HostScreen screen, boolean isDynamic) Gets the contents of this host field.- getHiddenHostString- (HostScreen screen, boolean isDynamic, boolean dontWrap) Gets the contents of this host field.- getHiddenHostString- (HostScreen screen, int line) Gets the contents of this host field.- getHostField- (HostScreen screen) Gets the corresponding host field on the current host screen.- getHostField- (HostScreen screen, boolean isDynamic) Gets the corresponding host field on the current host screen.- getHostField- (HostScreen screen, int line) Gets the corresponding host field on the current host screen.- getHostFieldColumn- (HostScreen screen) Gets an array of all host field cells in a column.- getHostFieldColumn- (HostScreen screen, boolean doGetHidden) Gets an array of all host field cells in a column.- getHostString- (HostScreen screen) Gets the contents of this host field.- getHostString- (HostScreen screen, boolean doGetHidden) Gets the contents of this host field.- getHostString- (HostScreen screen, boolean doGetHidden, boolean isDynamic) Gets the contents of this host field.- getHostString- (HostScreen screen, boolean doGetHidden, boolean isDynamic, boolean dontWrap, boolean doCheckMatch) Gets the contents of this host field.- getHostString- (HostScreen screen, boolean doGetHidden, int line) Gets the contents of this host field at a certain line.- getHostString- (HostScreen screen, boolean doGetHidden, int line, boolean doCheckMatch) Gets the contents of this host field at a certain line.- getHostString- (HostScreen screen, int line) Gets the contents of this host field.Gets the IHostFieldData instance.- intGets the line count in this host field.Gets the next continued field.Gets the reference Type.Gets the screen property.- intGet this field total width.- int- getTotalWidth- (HostScreen screen, boolean isDynamic) Get this field total width.- int- getTotalWidth- (HostScreen screen, boolean isDynamic, boolean dontWrap) Get this field total width.- int- getType()Gets the type.Gets the field type string.- static String- getTypeString- (int type) Gets the string for a field type.Gets the VS Column Header connected to the screen field.Gets the VSComponentReference.- Class<?>[]Gets the possible component classes for the references, i.e.Gets the VS Field connected to the screen field.Gets the relative VS connection.- int- getWidth- (int line) Gets the with of a specific line in the host field.- int- getX()Get the horizontal position.- int- getY()Get the vertical position.- booleanChecks for connection to VS.- booleanChecks if this field is a continuation of a field, i.e.- booleanChecks if the field is continued, i.e.- booleanGets the definition of the dynamic property "snap".- booleanCheck if data is to be retrieved from this screen and it's not the current pop-up screen, rather a "main screen" behind, then methods fetching data using "relative" methods should use "absolute" ones instead.- boolean- isVSComponentReferenceValid- (Atom refAtom, VSComponent component) Validates the VS component reference that has been looked up when the reference property doesn't exist.- booleanGets the definition of the dynamic property "wrap".- void- onBroken- (VSRelativeReference<?> reference, VSColumnHeader column) Called when the property reference has been broken, i.e.- void- onBroken- (VSRelativeReference<?> reference, VSField field) Called when the property reference has been broken, i.e.- void- onCellValueChanged- (VSColumnHeader column, VSField cell, Value value, GProp<?> trigger, IPostEventProcessing postProcessing) Called when the cell value is set in the column.- void- onParentStateChanged- (IVSComponent parent, IVSComponentState.State state, boolean on) Called when the column changes state.- void- onResolved- (VSRelativeReference<?> reference, VSColumnHeader column) Called when the property reference has been resolved.- void- onResolved- (VSRelativeReference<?> reference, VSField field) Called when the property reference has been resolved.- void- onRowAdded- (VSColumnHeader column, VSRow row, int rowIndex) Called when a row has been added to the table.- void- onRowRemoved- (VSColumnHeader column, VSRow row, int rowIndex) Called when a row has been removed from the table.- void- onSelectionChanged- (VSColumnHeader column, VSRow row, int rowIndex, boolean isSelected) Called when the row selection is changed to forward to column listeners.- void- onSingleSelectionChanged- (VSColumnHeader column, int rowIndex) Called when the row selection in table single-selection mode is changed to forward to column listeners.- void- onStateChanged- (VSColumnHeader table, IVSComponentState.State state, boolean on) Called when the table changes state.- void- onStateChanged- (VSColumnHeader column, VSField cell, IVSComponentState.State state, boolean on) Called when a cell in the column changes state.- void- onStateChanged- (VSField field, IVSComponentState.State state, boolean on) Called when the field changes state.- void- onValueChanged- (VSField field, Value value, GProp<?> trigger, IPostEventProcessing postProcessing) Called when the field value is set.- boolean- setCursor- (HostSession hostSession) Set cursor to the position of this field, first line.- boolean- setCursor- (HostSession hostSession, boolean isDynamic) Set cursor to the position of this field, first line.- boolean- setCursor- (HostSession hostSession, int line) Set cursor to the position of this field with line offset.- boolean- setCursor- (HostSession hostSession, int line, int charpos) Set cursor to the position of this field with line offset and the character offset.- setHostField- (HostSession hostSession, String text) Sets the corresponding host field on the current host screen to the specified string.- setHostField- (HostSession hostSession, String text, boolean isDynamic) Sets the corresponding host field on the current host screen to the specified string.- setHostField- (HostSession hostSession, String text, int line) Sets the corresponding host field on the current host screen to the specified string.- protected voidUpdates the cached values.- booleanThis property is index based.- Methods inherited from class com.iizix.prop.PropCnr- __transferChildProps, addPredefinedProps, addProp, addProp, addProp2, addProp2, appendPropValue, canRequestFocus, completeVirtualize, containsProp, containsProp, convertLoadedProp, couldRequestFocusIfVirtualized, createCopyOfAtom, createUniqueAtom, createUniqueAtom, createUniqueAtom, createVSReference, doPropEqualsArrayValues, enablePropCommunication, enablePropHashMap, equalsTree, equalsTree, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getBool, getBool, getBool, getBool, getChildPropError, getChildPropError, getChildPropErrorSeverity, getChildPropErrorSeverity, getErrorsProp, getExtendsContainer, getExtendsError, getExtendsName, getExtendsOverride, getExtendsPossibleClasses, getFirstProp, getFirstProp, getFocusEngine, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getNumber, getNumber, getNumber, getNumber, getPossibleChildren, getPredefinedProps, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getPropBaseReference, getPropCnr, getPropCount, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue0, getRetargetedVerifyContainer, getString, getString, getString, getString, getValueClasses, getVSReference, hasFocus, hasSendData, initializeElement, initializeExtendsFramework, initializeProp, initializeValue, initPropCnr, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsPropertyValid, isExtendsRoot, isPropAddRemoveAllowed, isPropCommunicating, isPropExtended, isSibling, list, list, logPropNotFound, maybeAddProp, onInsertProp, onPropDispose, onPropRemoved, onPropTreeInitialized, onReferenceEvent, onVirtualContainerCreated, onVirtualizationCompleted, paramString, prepare, removeAllProps, removeAllProps2, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, reorderProps, replaceProps, requestFocus, requestFocus, requestFocusEx, requestFocusEx, resolveReferences, resolveRuntimeReferences, setBool, setBool, setBool, setBool, setCreateRequiredProp, setExtendsName, setExtendsOverride, setInt, setInt, setInt, setLong, setLong, setLong, setLong, setNumber, setNumber, setNumber, setNumber, setProp, setProp, setProp, setProp2, setProp2, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setString, setString, setString, setString, shouldCreateProps, shouldSerializeToXML, toElementString, toNativeValue0, usePropHashMap, validateChildPropInValue, validateClassInstances, validatePropType, validatePropValue, verify, verifyInternalUseOnly, verifyTree, virtualize- Methods inherited from class com.iizix.prop.GProp- addPropError, addPropListener, convertPropError, dispose, equals, equals, equalsErrors, equalsObj, equalsPropValue, equalValues, extendsClone, finalize, fine, fine, finer, finer, finest, finest, fromElementString, getAliasName, getAppSessionGyro, getAppWorker, getAtomPath, getAttribute, getChildReferencePropName, getClientSessionGyro, getClientWorker, getConstraints, getEnvironment, getErroredPropItems, getErroredProps, getErrorsProp, getExtendsRootContainer, getFullPropName, getFullPropName, getFullPropNameDebug, getFullPropNameDebug, getListeners, getModuleFolder, getModuleFolder, getParent, getParent, getProjectName, getPropAtom, getPropError, getPropError, getPropErroredName, getPropErrorSeverity, getPropExtendsFlags, getPropFromPath, getPropFromPath, getPropFromReference, getPropFromReference, getPropIndex, getPropName, getPropPath, getPropPath, getPropReferenceTarget, getPropRootPropMgr, getPropTreeErrorSeverity, getPropValue, getPropValue, getPropValueObject, getReferencePropName, getReferencePropNameNoAssert, getRelativePropName, getRootFromName, getRootName, getRootParent, getRootParentNoAssert, getTreeLock, hasChanged, hasCircularReferencesError, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropForEditor, isPropNullable, isPropPrivate, isPropPrivateAtCreation, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropRootLoading, isPropRootTreeModificationsAllowed, isPropUSER, isPropValueTreeLockNeeded, isPropVirtualized, isPropVirtualizing, isPropVolatile, isPropVolatileOrEditorOnly, isProxied, list, list, list, mapAliasToReference, mapAliasToReference, mapReferenceToAlias, mapReferenceToAlias, mapReferenceToProjectRelative, modifyPropValue, moveProp, moveProp, moveProp, onEvent, onEventSelf, onPrepare, onPropInvalidateCache, onPropParentChanged, onPropValueSet, onRemoteEvent, paramString, paramValue, post, post, removePropError, removePropListener, removePropUSER, renameProp, renameProp2, resetChangedTree, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPrivateCreateRequiredProp, setPropError, setPropErroredName, setPropExtended, setPropExtendsFinal, setPropExtendsPrivate, setPropForEditor, setPropNullable, setPropPrivate, setPropReadOnly, setPropUSER, setPropValue, setPropValue, setPropValue, setPropValueIncognito, setPropVolatile, severe, severe, severe, shouldSerializeToXML, throwIfReadOnly, toNativeValue, toString, toString, triggerRemoteEvent, triggerRemoteEvent, validateProp, warning, warning, warning- Methods inherited from class java.lang.Object- getClass, hashCode, notify, notifyAll, wait, wait, wait- Methods inherited from interface com.iizix.prop.IGProp- addPropError, addPropListener, dispose, equals, fine, fine, finer, finer, finest, finest, fromElementString, getAppSessionGyro, getAtomPath, getClientSessionGyro, getConstraints, getEnvironment, getErroredPropItems, getErroredProps, getErrorsProp, getExtendsRootContainer, getFullPropName, getFullPropNameDebug, getModuleFolder, getModuleFolder, getParent, getParent, getPropAtom, getPropError, getPropError, getPropErrorSeverity, getPropExtendsFlags, getPropFromPath, getPropFromReference, getPropIndex, getPropName, getPropPath, getPropPath, getPropRootPropMgr, getPropTreeErrorSeverity, getPropValue, getPropValue, getReferencePropName, getRelativePropName, getRootParent, getTreeLock, hasChanged, hasCircularReferencesError, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropNullable, isPropPrivate, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropVirtualized, list, list, list, mapAliasToReference, mapReferenceToAlias, mapReferenceToProjectRelative, moveProp, moveProp, moveProp, onEvent, onEventSelf, onRemoteEvent, removePropError, removePropListener, renameProp, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPropError, setPropExtendsFinal, setPropExtendsPrivate, setPropNullable, setPropPrivate, setPropReadOnly, setPropValue, setPropValue, severe, severe, severe, toNativeValue, triggerRemoteEvent, triggerRemoteEvent, validateProp, warning, warning, warning- Methods inherited from interface com.iizix.prop.IPropCnr- canRequestFocus, canRequestFocus, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized- Methods inherited from interface com.iizix.prop.vs.IVSComponentReferenceProvider- isVSComponentReferenceValid
- Field Details- RELATIVE_VIRTUALSPACEName for the relative VirtualSpace connection property.- See Also:
 
- ADJ_LEFTpublic static final int ADJ_LEFTLeft justification.- See Also:
 
- ADJ_RIGHTpublic static final int ADJ_RIGHTRight justification.- See Also:
 
- ADJ_NONEpublic static final int ADJ_NONENo justification.- See Also:
 
- FT_Markedpublic static final int FT_MarkedField type: Marked field.- See Also:
 
- FT_AnyCharacterpublic static final int FT_AnyCharacterField type: Any character allowed.- See Also:
 
- FT_AlphaOnlypublic static final int FT_AlphaOnlyField type: Alpha characters only.- See Also:
 
- FT_Alphanumericpublic static final int FT_AlphanumericField type: Alphanumeric characters only.- See Also:
 
- FT_UpperOnlypublic static final int FT_UpperOnlyField type: Upper case any character.- See Also:
 
- FT_NumericOnlypublic static final int FT_NumericOnlyField type: Numeric only.- See Also:
 
- FT_DigitsOnlypublic static final int FT_DigitsOnlyField type: Digits only.- See Also:
 
- FT_SignedNumericpublic static final int FT_SignedNumericField type: Signed numeric.- See Also:
 
- FT_ImpliedDecimalpublic static final int FT_ImpliedDecimalField type: Implied decimal number.- See Also:
 
- FT_NumericShiftpublic static final int FT_NumericShiftField type: Numeric shift.- See Also:
 
- FT_KatakanaShiftpublic static final int FT_KatakanaShiftField type: Katakana shift.- See Also:
 
- SCREEN_NULL- See Also:
 
- NO_MATCH- See Also:
 
 
- Constructor Details- ScreenFieldProppublic ScreenFieldProp()Creates the Screen Field property container without a name. The name must be set in all cases using the- setPropertyAtomcall.
- ScreenFieldPropCreates the Screen Field property container with the specified name. All system-reserved names for components begins with "$".- Parameters:
- propertyAtom- the name of the component, unique within it's parent.
 
 
- Method Details- getTypeStringGets the string for a field type.
- usesPropIndexpublic boolean usesPropIndex()This property is index based.- Specified by:
- usesPropIndexin interface- IPropCnr
- Overrides:
- usesPropIndexin class- PropCnr
- Returns:
- true.
 
- cloneCreates a clone out of this property. The cloning is overridden by the subclasses in order to handle cloning of its class variables appropriately.- Cloning is used for "virtualization" of a property tree in the server. Client property classes will therefore throw - CloneNotSupportedException.- Once a tree has been cloned, the change-flag is reset, and the create-flag is set. All listeners are also removed! The new cloned property is an orphan, i.e. has no parent set. All children properties are also (deep) cloned. - Note that the cloning process is done WITHOUT thread synchronization for performance reasons, thus no modifications should be done to the tree! - Overrides:
- clonein class- PropCnr
- Throws:
- CloneNotSupportedException- If a subclass doesn't allow cloning, e.g. the client properties.
 
- updateCachedValuesprotected void updateCachedValues()Updates the cached values.
- getTypepublic int getType()Gets the type.
- getTypeStringGets the field type string.
- isDynamicpublic boolean isDynamic()Gets the definition of the dynamic property "snap".- Returns:
- true if defined as dynamic screen field, false otherwise.
 
- isWrappingAllowedpublic boolean isWrappingAllowed()Gets the definition of the dynamic property "wrap".- Returns:
- true if dynamic screen fields are allowed to wrap, false otherwise.
 
- isContinuedpublic boolean isContinued()Checks if the field is continued, i.e. if there is a next-continued field.
- getNextContinuedGets the next continued field.- Returns:
- null for none.
 
- isContinuationpublic boolean isContinuation()Checks if this field is a continuation of a field, i.e. a "child" field.
- getScreenGets the screen property.
- doesScreenMatchChecks if this host field belongs to a screen that is currently matching or not.
- doesScreenMatchChecks if this host field belongs to a screen that is currently matching or not.
- getXpublic int getX()Get the horizontal position.
- getYpublic int getY()Get the vertical position.
- getCXpublic int getCX()Get the width.
- getCYpublic int getCY()Get the height.
- getWidthpublic int getWidth- (int line) Gets the with of a specific line in the host field. If the index is negative, the total with is returned.- Returns:
- -1 if not found, otherwise the width.
- See Also:
 
- getTotalWidthpublic int getTotalWidth()Get this field total width. If the field is continued or has multiple lines, the entire size is calculated. This size is mostly used for e.g. an entry field that is connected to a host field that wraps over the screen (and is therefore continued).
- getTotalWidthGet this field total width. If the field is continued or has multiple lines, the entire size is calculated. This size is mostly used for e.g. an entry field that is connected to a host field that wraps over the screen (and is therefore continued).
- getTotalWidthGet this field total width. If the field is continued or has multiple lines, the entire size is calculated. This size is mostly used for e.g. an entry field that is connected to a host field that wraps over the screen (and is therefore continued).- The "dontWrap" flag is only valid when the flag "isDynamic" is true. 
- isScreenNonCurrentPopuppublic boolean isScreenNonCurrentPopup()Check if data is to be retrieved from this screen and it's not the current pop-up screen, rather a "main screen" behind, then methods fetching data using "relative" methods should use "absolute" ones instead.- Typically his would be used when e,g, REXX used HostGetFld('MAINSCREEN','SOMEFLD') and without this method it wouldn't work. - Returns:
- true if this PhantomScreen is not a pop-up.
 
- getLineCountpublic int getLineCount()Gets the line count in this host field.
- getHostStringGets the contents of this host field. Hidden characters are returned as spaces.- Returns:
- null if the host field is not inside screen (because there has been a screen change).
 
- getHostStringGets the contents of this host field. Hidden characters are returned as spaces.- Returns:
- null if the host field is not inside screen (because there has been a screen change).
 
- getHostStringGets the contents of this host field.- Returns:
- null if the host field is not inside screen (because there has been a screen change).
 
- getHostStringGets the contents of this host field.- Returns:
- null if the host field is not inside screen (because there has been a screen change).
 
- getHostStringpublic String getHostString- (HostScreen screen, boolean doGetHidden, boolean isDynamic, boolean dontWrap, boolean doCheckMatch) Gets the contents of this host field.- The "dontWrap" flag is only valid when "isDynamic" is true. - Returns:
- null if the host field is not inside screen (because there has been a screen change).
 
- getHostStringGets the contents of this host field at a certain line.- Returns:
- null if the host field is not inside screen (because there has been a screen change).
 
- getHostStringGets the contents of this host field at a certain line.- Returns:
- null if the host field is not inside screen (because there has been a screen change).
 
- getHiddenHostStringGets the contents of this host field.- Returns:
- null if the host field is not inside screen (because there has been a screen change).
 
- getHiddenHostStringGets the contents of this host field.- Returns:
- null if the host field is not inside screen (because there has been a screen change).
 
- getHiddenHostStringGets the contents of this host field.- The "dontWrap" flag is only valid when "isDynamic" is true. - Returns:
- null if the host field is not inside screen (because there has been a screen change).
 
- getHiddenHostStringGets the contents of this host field.- Returns:
- null if the host field is not inside screen (because there has been a screen change).
 
- getColorGets the CGA color of this field.- Returns:
- -1 if the host field is not inside screen (because there has been a screen change).
 
- getColor2Gets the CGA color of this field.- Returns:
- -1 if the host field is not inside screen (because there has been a screen change).
 
- getColorGets the CGA color of this field.- Returns:
- -1 if the host field is not inside screen (because there has been a screen change).
 
- getColorGets the CGA color of a line in this field.- Returns:
- -1 if the host field is not inside screen (because there has been a screen change).
 
- getColorGets the CGA color of a line in this field.- Returns:
- -1 if the host field is not inside screen (because there has been a screen change).
 
- getHostFieldGets the corresponding host field on the current host screen.- Returns:
- null if the host field is not found. or if the host field is not inside screen (because there has been a screen change).
 
- getHostFieldGets the corresponding host field on the current host screen.- Returns:
- null if the host field is not found. or if the host field is not inside screen (because there has been a screen change).
 
- getHostFieldGets the corresponding host field on the current host screen. The line number indicates the Y offset in the Phantom Host Field.- Returns:
- null if the host field is not found. or if the host field is not inside screen (because there has been a screen change).
 
- setCursorSet cursor to the position of this field with line offset. If line offset is larger than field height, search for continue field.- Returns:
- false if cursor cannot be set or if line is invalid.
 
- setCursorSet cursor to the position of this field with line offset and the character offset. If line offset is larger than field height, search for continue field.- Returns:
- false if cursor cannot be set or if line is invalid.
 
- setCursorSet cursor to the position of this field, first line.- Returns:
- false if cursor cannot be set in the host session.
 
- setCursorSet cursor to the position of this field, first line.- Returns:
- false if cursor cannot be set in the host session.
 
- setHostFieldSets the corresponding host field on the current host screen to the specified string.- Returns:
- null for success, otherwise an error message.
 
- setHostFieldSets the corresponding host field on the current host screen to the specified string.- Returns:
- null for success, otherwise an error message.
 
- setHostFieldSets the corresponding host field on the current host screen to the specified string.- The line number indicates the Y offset in the Phantom Host Field. - Returns:
- null for success, otherwise an error message.
 
- getHiddenHostFieldColumnGets an array of all host field cells in a column. This is typically used with list boxes and business graphics.- Returns:
- null if the host session is not the current one.
 
- getHostFieldColumnGets an array of all host field cells in a column. This is typically used with list boxes and business graphics.- Returns:
- null if the host session is not the current one.
 
- getHostFieldColumnGets an array of all host field cells in a column. This is typically used with list boxes and business graphics.- Returns:
- null if the host session is not the current one.
 
- hasRelateVirtualSpaceConnectionpublic boolean hasRelateVirtualSpaceConnection()Checks for connection to VS.
- getVSRelativeReferenceGets the relative VS connection.
- getFieldClassReferenceGets the class reference for the field processing used to getting/setting host field and providing conversion/mapping/translation support. The class implements the- IHostFieldDatainterface.- Returns:
- The ClassReference, or null for none.
 
- getIHostFieldDataGets the IHostFieldData instance.- The instance is created if one is present. - Returns:
- The IHostFieldData instance or null for none.
 
- getCurrentHostSessionGets the current host session from the Application properties.- Parameters:
- logMsg- Message to prepend an error in the host session, null to avoid logging.
- Returns:
- The current host session, or null for none (always null when not running in Server or Server Development modes).
 
- getVSComponentReferenceClassesGets the possible component classes for the references, i.e. combination of VSTable, VSColumnHeader, VSField.- Specified by:
- getVSComponentReferenceClassesin interface- IVSComponentReferenceProvider
- Parameters:
- ref- The reference holder.
- Returns:
- An array of the valid classes.
 
- isVSComponentReferenceValidValidates the VS component reference that has been looked up when the reference property doesn't exist.- Specified by:
- isVSComponentReferenceValidin interface- IVSComponentReferenceProvider
- Parameters:
- refAtom- The reference holder's atom.
- component- The VS component to validate.
- Returns:
- true if valid, false otherwise.
 
- getReferenceTypeGets the reference Type.- Specified by:
- getReferenceTypein interface- IVSComponentReferenceProvider
- Parameters:
- ref- The reference holder.
- Returns:
- The reference type, generally a value from the enum IPropReference.RefType, otherwise a static final implementation of the reference type with locale support. Returns e.g.RefType.VSFieldorRefType.VSTable.
 
- getVSComponentReferenceGets the VSComponentReference.- Returns:
- The reference instance, or null for none.
 
- getBestVSFieldValueTypeRequests the value type that would best suit the listener.- Specified by:
- getBestVSFieldValueTypein interface- IVSFieldListener
- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- Returns:
- null if none is available.
 
- getVSFieldGets the VS Field connected to the screen field.- Returns:
- The field, or null for none.
 
- onResolvedCalled when the property reference has been resolved. UI components use this method to set its state according to the field.- Specified by:
- onResolvedin interface- IVSFieldListener
- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- field- The target reference.
 
- onBrokenCalled when the property reference has been broken, i.e. unresolved.- Specified by:
- onBrokenin interface- IVSFieldListener
- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- field- The target reference.
 
- onStateChangedCalled when the field changes state.- Specified by:
- onStateChangedin interface- IVSFieldListener
- Parameters:
- field- The VS field.
- state- The state change.
- on- New state.
 
- onValueChangedpublic void onValueChanged- (VSField field, Value value, GProp<?> trigger, IPostEventProcessing postProcessing) Called when the field value is set.- Specified by:
- onValueChangedin interface- IVSFieldListener
- Parameters:
- field- The VS field.
- value- The value, never null, but- value.isNull()could be true.
- trigger- The trigger property that may be null.
- postProcessing- Post-processing instance.
 
- getBestVSColumnHeaderValueTypeRequests the value type that would best suit the listener.- Specified by:
- getBestVSColumnHeaderValueTypein interface- IVSColumnBestValueListener
- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- Returns:
- null if none is available.
 
- getVSColumnHeaderGets the VS Column Header connected to the screen field.- Returns:
- The column header, or null for none.
 
- onResolvedCalled when the property reference has been resolved. UI components use this method to set its state according to the field.- Specified by:
- onResolvedin interface- IVSColumnListener
- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- column- The target reference.
 
- onBrokenCalled when the property reference has been broken, i.e. unresolved.- Specified by:
- onBrokenin interface- IVSColumnListener
- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- column- The target reference.
 
- onStateChangedCalled when the table changes state.- Specified by:
- onStateChangedin interface- IVSColumnListener
- Parameters:
- table- The VS table column.
- state- The state change.
- on- New state.
 
- onParentStateChangedCalled when the column changes state.- Specified by:
- onParentStateChangedin interface- IVSComponentListener
- Parameters:
- parent- The parent who's state was changed.
- state- The state change, possible values PARENT_ENABLED, PARENT_READONLY, PARENT_VISIBLE.
- on- New state.
 
- onSingleSelectionChangedCalled when the row selection in table single-selection mode is changed to forward to column listeners.- Specified by:
- onSingleSelectionChangedin interface- IVSColumnListener
- Parameters:
- column- The column.
- rowIndex- The row index selected, -1 for none.
 
- onSelectionChangedCalled when the row selection is changed to forward to column listeners.- Specified by:
- onSelectionChangedin interface- IVSColumnListener
- Parameters:
- column- The column.
- row- The row that was changed.
- rowIndex- The row index.
- isSelected- The selected state.
 
- onRowAddedCalled when a row has been added to the table.- Specified by:
- onRowAddedin interface- IVSColumnListener
- Parameters:
- column- The column.
- row- The row that was added.
- rowIndex- The row index where it was inserted.
 
- onRowRemovedCalled when a row has been removed from the table.- Specified by:
- onRowRemovedin interface- IVSColumnListener
- Parameters:
- column- The column.
- row- The row that was removed.
- rowIndex- The row index before removal.
 
- onStateChangedpublic void onStateChanged- (VSColumnHeader column, VSField cell, IVSComponentState.State state, boolean on) Called when a cell in the column changes state.- Specified by:
- onStateChangedin interface- IVSColumnListener
- Parameters:
- column- The VS column.
- cell- The VS field.
- state- The state change.
- on- New state.
 
- onCellValueChangedpublic void onCellValueChanged- (VSColumnHeader column, VSField cell, Value value, GProp<?> trigger, IPostEventProcessing postProcessing) Called when the cell value is set in the column.- Specified by:
- onCellValueChangedin interface- IVSColumnListener
- Parameters:
- column- The VS column.
- cell- The VS field.
- value- The value, never null, but- value.isNull()could be true.
- trigger- The trigger property that may be null.
- postProcessing- Post-processing instance.