Package com.iizix.term.prop
Class TerminalProps
java.lang.Object
com.iizix.prop.GProp<GProp<?>[]>
com.iizix.prop.PropCnr
com.iizix.prop.SocketCommProps
com.iizix.term.prop.TelnetCommProps
com.iizix.term.prop.TerminalProps
- All Implemented Interfaces:
- EventListener,- IGProp<GProp<?>[]>,- IPropCnr,- Cloneable
- Direct Known Subclasses:
- EditorTerminalProps
This property container contains all properties required for the terminal connector in terms of flags, colors, etc.
- Author:
- Christopher Mindus
- Nested Class SummaryNested Classes
- Field Summary- Fields inherited from class com.iizix.term.prop.TelnetCommProps- DEFAULT_AUTO_RECONNECT_ATTEMPTS, DEFAULT_AUTO_RECONNECT_INTERVAL, DEFAULT_KEEP_ALIVE_INTERVAL- 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 terminal properties container without a name.- TerminalProps- (Atom propertyAtom) Creates the terminal properties container with the specified name.
- Method SummaryModifier and TypeMethodDescription- clone()Creates a clone of the terminal properties.- createTerminalHost- (AppSessionGyro appGyro) Creates a terminal host that becomes associated with this property.Gets the EE file name, used when the host session is displaying a single captured screen.Gets the terminal host that has been created from this property for the application session gyro instance using- createTerminalHost(AppSessionGyro).Gets the description of the terminal session configuration.- boolean- getDescription- (String descr) Sets the description of the terminal session configuration.Gets the EEM file name.Gets the keyboard mapper to use.- booleanGets the printer properties container and initializes the TerminalPrinterSettings POJO class members accordingly.Gets the terminal type.- booleanChecks if client-local field editing is enabled for this session.- booleanReturns if the terminal session should be pre-started when a user session is started.- booleanChecks if a 3270 printer is associated.- booleanChecks if type-ahead is enabled for this session.- booleanChecks if 3270 box drawing is enabled.- booleanChecks if PC Insert mode is enabled.- booleanChecks if smart-insert mode is enabled (spaces are treated like null's at the end of the field).- protected voidCalled when the property is disposed of.- voidSets the EE file name, used when the host session is displaying a single captured screen.- void- setClientLocalFieldEditing- (boolean enabled) Sets if client-local field editing is enabled for this session.- void- setEEMFileName- (String fn) Sets the EEM file name.- void- setPrinterAssociated- (boolean associate) Sets if a 3270 printer is associated.- booleanSets the printer properties container from a TerminalPrinterSettings POJO.- voidSets the terminal type.- void- setTypeAheadEnabled- (boolean enabled) Sets if type-ahead is enabled for this session.- void- setUser3270BoxDrawingEnabled- (boolean enabled) Sets if 3270 box drawing is enabled.- void- setUserPCInsertModeEnabled- (boolean enabled) Sets if PC Insert mode is enabled.- void- setUserSmartInsertMode- (boolean enabled) Sets the smart-insert mode (spaces are treated like null's at the end of the field).- Methods inherited from class com.iizix.term.prop.TelnetCommProps- do3270NumericFieldOverride, doAutoReconnect, doTN3270E, get5250KbdType, getAutoReconnectAttempts, getAutoReconnectInterval, getHostCodepage, getKeepAliveTimeout, getLUName, getTerminalTypes, set3270NumericFieldOverride, set5250KbdType, setAutoReconnect, setAutoReconnectAttempts, setAutoReconnectInterval, setDoTN3270E, setHostCodepage, setKeepAliveNOP, setKeepAliveTimeout, setLUName, setTerminalTypes, useKeepAliveNOP- Methods inherited from class com.iizix.prop.SocketCommProps- createSecureProps, doResolveHostNames, getBindAddress, getHost, getPort, getProxyHost, getProxyPort, getProxyPW, getProxyPW, getProxyType, getProxyUser, getSecureProps, isSecure, isVerbose, setBindAddress, setHost, setPort, setProxyHost, setProxyPort, setProxyType, setProxyUser, setResolveHostNames, setSecure, setSecureProps, setVerbose, setWebSocket, useWebSocket- 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, usesPropIndex, 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
- Constructor Details- TerminalPropspublic TerminalProps()Creates the terminal properties container without a name. The name must be set in all cases using the- setPropertyAtomcall.
- TerminalPropsCreates the terminal properties 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- cloneCreates a clone of the terminal properties.- Overrides:
- clonein class- SocketCommProps
 
- onPropDisposedprotected void onPropDisposed()Called when the property is disposed of.
- isPreStartedpublic boolean isPreStarted()Returns if the terminal session should be pre-started when a user session is started.- Returns:
- The flag to prestart session or not.
 
- getDescriptionGets the description of the terminal session configuration.- Returns:
- The description set, or null for none.
 
- getDescriptionSets the description of the terminal session configuration.- Parameters:
- descr- The description to set, or null to remove it.
- Returns:
- true for changed, false for no change.
 
- getTerminalTypeGets the terminal type.- Returns:
- The terminal type (if none is set, 3270 is default).
 
- setTerminalTypeSets the terminal type.- Parameters:
- type- The terminal type.
 
- getEEMFileNameGets the EEM file name.- Returns:
- null for none (default), otherwise the file name that is relative the root of the server.
 
- setEEMFileNameSets the EEM file name. The file name should be relative the root directory of the server.- Parameters:
- fn- The EEM file name or empty string for none.
 
- getCaptureFileNameGets the EE file name, used when the host session is displaying a single captured screen.- Returns:
- File name or null for none.
 
- setCaptureFileNameSets the EE file name, used when the host session is displaying a single captured screen.- Parameters:
- fn- The file name for EE capture.
 
- isUserSmartInsertModeEnabledpublic boolean isUserSmartInsertModeEnabled()Checks if smart-insert mode is enabled (spaces are treated like null's at the end of the field).- Returns:
- true if enabled (default), false otherwise.
 
- setUserSmartInsertModepublic void setUserSmartInsertMode- (boolean enabled) Sets the smart-insert mode (spaces are treated like null's at the end of the field).- Parameters:
- enabled- The enabled flag.
 
- isUser3270BoxDrawingEnabledpublic boolean isUser3270BoxDrawingEnabled()Checks if 3270 box drawing is enabled.- Returns:
- true if enabled (default), false otherwise.
 
- setUser3270BoxDrawingEnabledpublic void setUser3270BoxDrawingEnabled- (boolean enabled) Sets if 3270 box drawing is enabled.- Parameters:
- enabled- The enabled flag.
 
- isUserPCInsertModeEnabledpublic boolean isUserPCInsertModeEnabled()Checks if PC Insert mode is enabled.- Returns:
- true if enabled (default), false otherwise.
 
- setUserPCInsertModeEnabledpublic void setUserPCInsertModeEnabled- (boolean enabled) Sets if PC Insert mode is enabled.- Parameters:
- enabled- The enabled flag.
 
- isTypeAheadEnabledpublic boolean isTypeAheadEnabled()Checks if type-ahead is enabled for this session.- Returns:
- true if enabled (default), false otherwise.
 
- setTypeAheadEnabledpublic void setTypeAheadEnabled- (boolean enabled) Sets if type-ahead is enabled for this session.- Parameters:
- enabled- The enabled flag.
 
- isClientLocalFieldEditingpublic boolean isClientLocalFieldEditing()Checks if client-local field editing is enabled for this session.- Returns:
- true if enabled (default), false otherwise.
 
- setClientLocalFieldEditingpublic void setClientLocalFieldEditing- (boolean enabled) Sets if client-local field editing is enabled for this session.- Parameters:
- enabled- The enabled flag.
 
- isPrinterAssociatedpublic boolean isPrinterAssociated()Checks if a 3270 printer is associated.- Returns:
- true if associated, false (default) otherwise.
 
- setPrinterAssociatedpublic void setPrinterAssociated- (boolean associate) Sets if a 3270 printer is associated.- Parameters:
- associate- true if associated, false otherwise.
 
- getPrinterSettingsGets the printer properties container and initializes the TerminalPrinterSettings POJO class members accordingly.- Parameters:
- pojo- The printer properties instance.
- Returns:
- true if successfully completed the operation, i.e. the printer properties were defined in the TerminalProps.
 
- setPrinterSettingsSets the printer properties container from a TerminalPrinterSettings POJO.- Parameters:
- pojo- The printer properties instance.
- Returns:
- true if successfully completed the operation, i.e. the printer properties were defined in the TerminalProps.
 
- getKeyboardRemapperGets the keyboard mapper to use. This method creates a new KeyboardRemapper instance every time this method is called, so use it carefully!- Returns:
- A new instance of the KeyboardRemapper.
 
- createTerminalHostCreates a terminal host that becomes associated with this property.- Parameters:
- appGyro- The application gyro for the session.
- Returns:
- A new instance of the terminal session, or the previously started one.
 
- getCreatedTerminalHostGets the terminal host that has been created from this property for the application session gyro instance using- createTerminalHost(AppSessionGyro).- Returns:
- The terminal host created, or null for none.