Class FloatReference
- All Implemented Interfaces:
EventListener, IGProp<ReferenceString>, IPropReference, IReferencingGProp, Cloneable
An owner names ONE Float, under the property name floatRef; several owners may reference the same Float, and each of them owns it. That is the first version, and it matches the rule that only one Float is open at a time. Whether an owner may name several is left open on purpose: the guard scans every reference in the owner rather than one fixed name, so it does not have to change when that is decided.
The reference is fixed at virtualization: the virtualized owner keeps the non-virtualized Float as its target, which is the instance IUIFloatOpener opens. Sending the owner to a client never virtualizes the Float, the reference goes out as its reference string and nothing else.
A Float is never owned by another Float. This class refuses no parent, because a property does not choose where it is added: the rule is held by UIFloat.getOwnerError(UIPanelBase) at runtime and by UIFloat.verify(com.iizix.prop.PropVerification) in the Designer.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from interface IPropReference
IPropReference.IRefType, IPropReference.ReferenceChangeEvent, IPropReference.RefTypeField Summary
Fields inherited from class FixedVirtualizedAbstractReference
fixedTargetFields inherited from class AbstractReference
ERROR_ID, hasBeenValidated, QUICK_FIX_DELETE_PROP, referenceFields inherited from class 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_ATTR_STRING_SECRET, PROP_USER_1, PROP_USER_2Fields inherited from interface IGProp
EQC_ERROR_IGNORE_ALL, EQC_ERROR_IGNORE_REFERENCES, EQC_IGNORE_ARRAY, EQC_IGNORE_VOLATILE_OR_EDITOR, EQC_INCLUDE_PRIVATE, EQC_SAVE_FILE, EQC_SAVE_RELEVANT_ONLY, EXT_CONTAINER_EXTENDS, EXT_CONTAINER_EXTENDS_VALID, EXT_EXTENDED, EXT_FINAL, EXT_OVERRIDES, EXT_OVERRIDES_FINAL_ERR, EXT_PRIVATEConstructor Summary
ConstructorsConstructorDescriptionCreates a Float Reference property with no name and with a null value.FloatReference(Atom propertyAtom) Creates a Float Reference property with the specified name with a null value.FloatReference(Atom propertyAtom, String newValue) Creates a Float Reference property with the specified name and value.Method Summary
Modifier and TypeMethodDescriptionclone()Clones the Float reference.Gets the class wanted.Gets the reference Type.booleanisReferenceValid(GProp<?> property) Checks if the reference is valid.Methods inherited from class FixedVirtualizedAbstractReference
clearFixedTarget, getFixedTarget, informClearError, informError, informReference, informResolved, onBroken, onReferenceDisposed, onResolved, onVirtualizationCompleted, paramString, virtualizeMethods inherited from class AbstractReference
appendPropValue, assignError, assignNotFoundError, changeReference, checkCreateReference, clearError, createUpdateReference, disposeReference, doPostResolve, equalsErrors, equalValues, getAbsoluteReference, getDirectReferencedTarget, getDirectReferencedTargetSet, getLookupPropReference, getPropValue0, getReference, getReferenceString, getTargetReference, getTargetReference, getValueClasses, initializeValue, isPropErrorPersisted, isReferencingMultipleTargets, isValid, modifyPropValue, onEventSelf, onProjectNameChanged, onPropDispose, onPropParentChanged, onRefactored, onReferenceEvent, onReferenceEvent, setLookedUpReference, setPropValue, toNativeValue0, updateReference, validatePropType, validatePropValue, validateReferenceScope, wouldValidateMethods inherited from class GProp
addPropError, addPropListener, appendProp, convertPropError, dispose, equals, equals, equalsObj, equalsPropValue, equalsTree, 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, getPropBaseReference, 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, getVSReference, hasChanged, hasCircularReferencesError, hashCode, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeElement, initializeGElement, initializeGProp, initializeProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCommunicating, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropForEditor, isPropForEditorAtCreation, isPropNullable, isPropPrivate, isPropPrivateAtCreation, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropRootLoading, isPropRootTreeModificationsAllowed, isPropSaveRelevant, isPropSecret, isPropSecretCapable, isPropUSER, isPropValueTreeLockNeeded, isPropVirtualized, isPropVirtualizing, isPropVolatile, isPropVolatileOrEditorOnly, isProxied, isSibling, list, list, list, list, list, mapAliasToReference, mapAliasToReference, mapReferenceToAlias, mapReferenceToAlias, mapReferenceToProjectRelative, moveProp, moveProp, moveProp, onEvent, onInitialize, onPrepare, onPropInvalidateCache, onPropTreeInitialized, onPropValueSet, onRemoteEvent, paramString, paramValue, post, post, removePropError, removePropListener, removePropUSER, renameProp, renameProp2, resetChangedTree, resolveRuntimeReferences, setChanged, setConstraints, setConstraints, setCreateRequiredProp, setParent, setPrivateChangeEventProp, setPrivateCreateRequiredProp, setPropError, setPropErroredName, setPropExtended, setPropExtendsFinal, setPropExtendsPrivate, setPropForEditor, setPropNullable, setPropPrivate, setPropReadOnly, setPropSecret, setPropUSER, setPropValue, setPropValue, setPropValue, setPropValueIncognito, setPropVolatile, severe, severe, severe, shouldSerializeToXML, throwIfReadOnly, toElementString, toNativeValue, toShortString, toShortString, toString, toString, triggerRemoteEvent, triggerRemoteEvent, validateProp, verify, warning, warning, warningMethods inherited from interface IReferencingGProp
getParent, getReferencingOwner
Constructor Details
FloatReference
public FloatReference()Creates a Float Reference property with no name and with a null value.FloatReference
Creates a Float Reference property with the specified name with a null value.- Parameters:
propertyAtom- the property atom.
FloatReference
Method Details
clone
Clones the Float reference.- Overrides:
clonein classFixedVirtualizedAbstractReference<UIFloat>- Returns:
- The clone, with no current target.
getReferenceType
Gets the reference Type.- Specified by:
getReferenceTypein interfaceIPropReference- Specified by:
getReferenceTypein interfaceIReferencingGProp- Specified by:
getReferenceTypein classAbstractReference<UIFloat>- Returns:
IPropReference.RefType.Float.
getPropertyClass
Gets the class wanted.- Specified by:
getPropertyClassin classAbstractReference<UIFloat>- Returns:
- UIFloat.class.
isReferenceValid
Checks if the reference is valid.- Specified by:
isReferenceValidin interfaceIPropReference- Specified by:
isReferenceValidin classAbstractReference<UIFloat>- Parameters:
property- The property to validate.- Returns:
- true if valid, false otherwise.