Package com.iizix.term.prop
Class ScreenIdentificationProp
- All Implemented Interfaces:
- EventListener,- IGProp<GProp<?>[]>,- IPropCnr,- Cloneable,- Comparable<ScreenIdentificationProp>
- Direct Known Subclasses:
- EditorScreenIdentificationProp
public class ScreenIdentificationProp extends PropCnr implements Comparable<ScreenIdentificationProp>
This Screen identification property container for a terminal host screen.
- Field SummaryFieldsModifier and TypeFieldDescription- static final intIdentification type: Alphanumeric.- static final intIdentification type: Alphanumeric Without Space.- static final intIdentification type: Exact Rectangle contents.- static final intIdentification type: Field: same position and length.- static final intIdentification type: No Space.- static final intIdentification type: Not rectangle contents.- static final intIdentification type: Not pop-up window.- static final intIdentification type: Numeric (0-9).- static final intIdentification type: Only Space.- static final intIdentification type: Numeric (0-9, +-,.:).- static final StringThe property name for "match" data string.- static final StringThe property name for "type" of identification.- static final String[]The types.- 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 identification property container without a name.- ScreenIdentificationProp- (Atom propertyAtom) Creates the screen identification property container with the specified name.
- Method SummaryModifier and TypeMethodDescription- intCompares two screen identifications by type then rectangle positions and then size.- int- getCX()Gets the width.- int- getCY()Gets the height.Gets the matching string for this identification.- int- getType()Gets the type.- static String- getTypeDescription- (int type) Gets the type string for an identification type.- int- getX()Gets the X position.- int- getY()Gets the Y position.- boolean- isMatching- (HostScreen screen, int xOffset, int yOffset) Checks if this identification matches the host screen.- static boolean- isMatchingLax- (int type, String data, int x, int y, int cx, int cy, HostScreen screen, int xOffset, int yOffset) Checks if this identification matches the host screen.- void- setMatchString- (String data) Sets the matching string for this identification.- 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, clone, 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
- Field Details- NAME_TYPEThe property name for "type" of identification.- See Also:
 
- NAME_MATCHThe property name for "match" data string.- See Also:
 
- ID_EXACTpublic static final int ID_EXACTIdentification type: Exact Rectangle contents.- See Also:
 
- ID_ALPHApublic static final int ID_ALPHAIdentification type: Alphanumeric.- See Also:
 
- ID_ALPHANOSPACEpublic static final int ID_ALPHANOSPACEIdentification type: Alphanumeric Without Space.- See Also:
 
- ID_NUMpublic static final int ID_NUMIdentification type: Numeric (0-9).- See Also:
 
- ID_VALUEpublic static final int ID_VALUEIdentification type: Numeric (0-9, +-,.:).- See Also:
 
- ID_NOSPACEpublic static final int ID_NOSPACEIdentification type: No Space.- See Also:
 
- ID_SPACEpublic static final int ID_SPACEIdentification type: Only Space.- See Also:
 
- ID_FIELDLENpublic static final int ID_FIELDLENIdentification type: Field: same position and length.- See Also:
 
- ID_NOTEXACTpublic static final int ID_NOTEXACTIdentification type: Not rectangle contents.- See Also:
 
- ID_NOTPOPUPWINpublic static final int ID_NOTPOPUPWINIdentification type: Not pop-up window.- See Also:
 
- TYPESThe types.
 
- Constructor Details- ScreenIdentificationProppublic ScreenIdentificationProp()Creates the screen identification property container without a name. The name must be set in all cases using the- setPropertyAtomcall.
- ScreenIdentificationPropCreates the screen identification 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- getTypeDescriptionGets the type string for an identification type.- Parameters:
- type- The identification type as ID_* value.
- Returns:
- A descriptive text.
 
- usesPropIndexpublic boolean usesPropIndex()This property is index based.- Specified by:
- usesPropIndexin interface- IPropCnr
- Overrides:
- usesPropIndexin class- PropCnr
- Returns:
- true.
 
- updateCachedValuesprotected void updateCachedValues()Updates the cached values.
- getXpublic int getX()Gets the X position.- Returns:
- X, zero based.
 
- getYpublic int getY()Gets the Y position.- Returns:
- Y, zero based.
 
- getCXpublic int getCX()Gets the width.- Returns:
- Character width.
 
- getCYpublic int getCY()Gets the height.- Returns:
- Character height.
 
- getTypepublic int getType()Gets the type.- Returns:
- Value for the identification type ID_*.
 
- getMatchStringGets the matching string for this identification. It should not be called if the type is not ID_EXACT or ID_NOTEXACT, otherwise the string returned is null.- Returns:
- The match string or null for ID_EXACT or ID_NOTEXACT.
 
- setMatchStringSets the matching string for this identification.- Parameters:
- data- Match string, not null.
 
- isMatchingChecks if this identification matches the host screen.- Parameters:
- screen- The screen.
- xOffset- Offset on screen for pop-up window, zero-based.
- yOffset- Offset on screen for pop-up window, zero-based.
- Returns:
- Match flag.
 
- isMatchingLaxpublic static boolean isMatchingLax- (int type, String data, int x, int y, int cx, int cy, HostScreen screen, int xOffset, int yOffset) Checks if this identification matches the host screen.
- compareToCompares two screen identifications by type then rectangle positions and then size.- Specified by:
- compareToin interface- Comparable<ScreenIdentificationProp>