Class UIFloat
- All Implemented Interfaces:
EventListener, IFocusComp, IMessageBox, IUIPanelAnimation, IComponent, IClassReferenceOwner, ICustomDataProvider, IGProp<GProp<?>[]>, IPropCnr, IReferrerParticipant, ISelectorOwner, IUIClassReferenceOwner, IUIComp, IUIContainer, IUIContextMenuOwner, IUIFocusComp, IUIGroupSeparator, IUIPanelOwner, IVSAccessor, IVSComponentListener, IVSComponentState, IVSFieldListener, IVSGenericComponentListener, IVSParticipant, Cloneable
- Direct Known Subclasses:
EUIFloat
A Float is a panel, authored in its own .iiziPanel file with the root tag UIFloat. It is never shown by VirtualSpace focus alone: it is owned by one or more top-level panels or dialogs, each holding a FloatReference to it, and it is opened through IUIFloatOpener.
The rules this class states, and the guards that hold them:
- A Float is owned by a top-level panel or dialog, never by another Float and never by a panel part:
getOwnerError(UIPanelBase)is the runtime guard,verify(PropVerification)the Designer one. - Only one Float is open at a time in a client session. The rule is owned by
IUIFloatOpener, not by this class. - A closed Float is disposed of, as any panel is.
A Float is a pop-up panel (isPopupPanel()) that is added to the panels already shown (UIPanelBase.PP_ADD_PANEL): opening one never replaces its owner.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from interface IMessageBox
IMessageBox.IconNested classes/interfaces inherited from interface IUIPanelAnimation
IUIPanelAnimation.Direction, IUIPanelAnimation.Speed, IUIPanelAnimation.TypeNested classes/interfaces inherited from interface IVSComponentState
IVSComponentState.StateField Summary
FieldsModifier and TypeFieldDescriptionstatic final intAnimation: fade.static final intAnimation: grow from the anchor point (default).static final intAnimation: none, the Float appears and disappears instantly.static final intAnimation: a small lift.static final intAnimation: slide in on the docked axis.static final intAnimation: unfold from the anchored edge.static final intBackdrop: as the modality has it (default): a modal Float dims the page beneath it, a light Float leaves it as it is.static final intBackdrop: the page beneath the Float is blurred and dimmed; a Browser that cannot blur what lies beneath an element dims.static final intBackdrop: the page beneath the Float is dimmed with the scrim colour of the theme.static final intBackdrop: the page beneath the Float is left as it is, for a modal Float too.static final intThe blur radius of the blur backdrop in pixels whenPN_BLUR_RADIUSis undefined.static final intEasing: the CSS keywordsease-outwhen opening,ease-inwhen closing.static final intEasing: linear.static final intEasing: decelerate when opening, accelerate when closing (default).static final intModality: a press outside the Float closes it and is swallowed (default).static final intModality: input to everything underneath the Float is blocked.static final intModality: nothing is blocked, the panels underneath stay live.static final intPhone mode: never a sheet: on a phone the Float is placed beside its anchor and held to the viewport, as on a desktop.static final intPhone mode: automatic (default): on a phone the Float is a sheet when no side of its anchor holds it whole or its contents exceed the viewport, else it is placed beside its anchor.static final intPhone mode: the whole viewport on a phone.static final intPhone mode: always a sheet on a phone: at the bottom of the viewport, as wide as it.static final StringProperty name: the anchor StringProp, the path of the component the Float is placed around.static final StringProperty name: animation type IntProp, one of theANIM_*values.static final StringProperty name: backdrop IntProp, what the scrim beneath a light or a modal Float shows of the page:BACKDROP_AUTO(default),BACKDROP_NONE,BACKDROP_DIMorBACKDROP_BLUR.static final StringProperty name: the blur radius UnitProp of the blur backdrop.static final StringProperty name: BoolProp for the graceful close of the Float that is open when another one is opened.static final StringProperty name: the fixed width GUnit, used when the size mode isSIZE_FIXED.static final StringProperty name: the fixed height GUnit, used when the size mode isSIZE_FIXED.static final StringProperty name: easing IntProp, one of theEASING_*values.static final Stringstatic final StringProperty name: phone mode IntProp, how the Float is shown on a phone:PHONE_AUTO(default),PHONE_ANCHORED,PHONE_SHEETorPHONE_FULLSCREEN.static final StringProperty name: the scrim colour ColorProp, the colour (with its alpha) the scrim beneath a light or a modal Float is painted with for the dim and the blur backdrop.static final StringProperty name: size mode IntProp,SIZE_AUTOorSIZE_FIXED.static final StringProperty name: animation speed IntProp, one of theSPEED_*values.static final intThe remote event the client sends when the Float has been closed for a cause that arose on the client: a press outside a light Float, a dialog opening, another Float taking its place in the Float layer.static final intSize mode: the Float is sized to fit its contents (default).static final intSize mode: the Float has the fixed size of itscxandcyproperties.static final intSpeed: fast.static final intSpeed: normal (default).static final intSpeed: slow.static final intSpeed: slower.static final intSpeed: slowest.Fields inherited from class UIPanelBase
EMPTY_ARRAY, PP_ADD_PANEL, PP_REPLACE_ALL, PP_REPLACE_ALL_POPUPS, PP_REPLACE_LAST_POPUP, REMOTE_ESCAPE_EVENT, REMOTE_REMOVE_EVENT, VS_BACK_PROP_NAMEFields inherited from class UIContainer
UICOMP_CLASS, VS_STATE_FOCUS_PROP_NAME, WARN_EMPTY_PROP_NAMEFields inherited from class UIComp
EMPTY, REMOTE_FOCUS_EVENT, styles, vsFieldFields inherited from class PropCnr
EMPTY_CLASSES, EMPTY_CNRS, EXTENDS_FRAMEWORK_ERROR_IDFields 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 IClassReferenceOwner
RETRIEVE_CLASS_REFERENCE_INSTANCEFields 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_PRIVATEFields inherited from interface IMessageBox
ICON_ERROR, ICON_INFORMATION, ICON_MAP, ICON_NONE, ICON_QUESTION, ICON_WARNINGFields inherited from interface IUIComp
ERROR, INFORMATION, NONE, REMOTE_FOCUS_EVENT, WARNINGFields inherited from interface IUIPanelAnimation
ANIMATION_DEFAULT, ANIMATION_FADE_FAST, ANIMATION_FADE_NORMAL, ANIMATION_FADE_SLOW, ANIMATION_FADE_SLOWER, ANIMATION_FADE_SLOWEST, ANIMATION_NO_CSS3_FLAG, ANIMATION_NO_SCROLL_FLAG, ANIMATION_NONE, ANIMATION_PROP_NAME, ANIMATION_SPEED_FAST, ANIMATION_SPEED_NORMAL, ANIMATION_SPEED_SLOW, ANIMATION_SPEED_SLOWER, ANIMATION_SPEED_SLOWEST, ANIMATION_TYPE_COVER, ANIMATION_TYPE_FADE, ANIMATION_TYPE_NONE, ANIMATION_TYPE_REVEAL, ANIMATION_TYPE_SLIDEConstructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionclone()Clones the Float.intGets the backdrop: what the scrim beneath a light or a modal Float shows of the page.Gets the blur radius of the blur backdrop.intGets the easing.intGets the animation type.intGets the animation speed.intGets the modality.final intReturns how to process the panels shown when this panel is virtualized.getOwnerError(UIPanelBase owner) The runtime guard of the ownership rule: checks that a panel is a legal owner of this Float.Returns the given type of the referrer participant.intGets the phone mode: how the Float is shown on a phone.Gets the scrim colour: what the scrim beneath a light or a modal Float is painted with for the dim and the blur backdrop.intGets the size mode.booleanVerifies if the component has an implicit height.booleanVerifies if the component has a width.booleanReturns if the Float that is open when this one is opened is closed gracefully, i.e.booleanReturns if this is a pop-up panel placed on top of main panels.protected booleanonBackWithoutHandler(IClientSessionGyro clientGyro) Back on a Float that has no handler of its own closes the Float instead of running a history backward operation (ruling FL-5 of 2026-09-27): the client sends Back to the topmost panel, which is the open Float, and the Float is what leaves first, as a dialog does.voidonRemoteEvent(RemoteEvent event) Called when the property receives a remote event from its corresponding remote counterpart.booleanverify(PropVerification verification) Verifies this property container: the Designer guard of the ownership rule.Methods inherited from class UIPanelBase
createLayout, createVSReference, getAppSessionGyro, getClientSessionGyro, getDefaultTextTable, getDeviceType, getGroupID, getLayout, getNonVirtualized, getPanelMappings, getPanelOwner, getParticipantDescription, getPredefinedProps, getPropBaseReference, getThemes, getVirtualSpace, getVSParticipant, getVSReference, hasBeenRemoved, invokeOnUIConnectMethod, invokeOnUIFocusMethod, invokeOnUISelectionMethod, invokeOnUITextChangeMethod, invokeOnUIValueChangeMethod, isAnimationPropPrivate, isDesktopType, isDeviceTypeMatching, isMobileType, isParticipating, isPrimaryParticipant, onEventSelf, onPrepare, onPropDispose, onVirtualizationCompleted, onVirtualSpaceVirtualized, requestRemove, setDefaultTextTable, setPanelType, shouldCreateProps, virtualizeMethods inherited from class UIContainer
addPredefinedProps, addPredefinedPropsImpl, canAcceptUIContainerFocus, createCompsCnr, doIssueEmptyContainerWarning, getApproximateSize, getComponentCount, getComponents, getCompsCnr, getFirstContainerVSStateFocus, getFirstUIComponent, getFirstUIComponentNull, getRadioSelectionComponents, getSelectedRadioComponent, getUIComponent, getUIComponentNull, getVSStateFocus, hasImplicitAlignFillX, hasImplicitAlignFillY, invokeOnUICreateTree, isEmptyContainerAllowed, isMobileContextMenuSupported, mustHaveHeight, mustHaveWidth, onBroken, onComponentSelectedInParent, onResolved, onSelectionChanged, onSelectionChanged, onStateChanged, onVirtualContainerCreated, onVSComponentSelectionChanged, resetComponentID, setRadioSelectionComponent, setUIContainerFocus, updateUICompsReference, verifyComponentScopeMethods inherited from class UIComp
add, addMappings, assignFontInfoResolver, canAlignX, canAlignY, canFillX, canFillY, canRequestFocus, canRequestFocus, clearErrorMessage, couldRequestFocusIfVirtualized, createStyles, createTitleProp, disconnectVSField, doUpdateVSFieldFromUIComponent, enterVSProcessing, exitVSProcessing, fireSelection, fireSelection, forbiddenGetCustomDataMap, getBadge, getBestVSFieldValueType, getComponentID, getComponentMappings, getCSSClassNames, getErrorMessage, getErrorMessage, getErrorMessageEx, getErrorMessageString, getErrorMessageString, getErrorMessageStringEx, getFixHeight, getFixWidth, getFontInfo, getForcedAlignX, getForcedAlignY, getKStringText, getLayoutMgr, getLayoutMgr, getMappedVSComponent, getMessage, getMessageText, getPixelHeight, getPixelWidth, getSize, getStyles, getStyles, getText, getTitle, getTitleKS, getTitlePKS, getTooltip, getTooltipText, getTrigger, getUIPanel, getUIParent, getValue, getValue, getVSField, hasFocus, hasImplicitHeight, hasImplicitWidth, hasSelectionChanged, initPropCnr, isEnabled, isMobile, isReadOnly, isRTL, isVisible, isVSFieldDisconnected, mustHaveExplicitHeight, mustHaveExplicitWidth, onBroken, onFocusGained, onNotifySelectionChanged, onParentStateChanged, onPrepare, onResolved, onStateChanged, onValueChanged, processVSComponentSelection, reconnectVSField, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusEx, requestFocusEx, requestFocusEx, requestFocusEx, setBadge, setBadge, setComponentToVSField, setCSSClassNames, setCSSClassNames2, setEnabled, setEnabled, setErrorMessage, setErrorMessage, setErrorMessage, setErrorMessage, setHTMLText, setLayoutMgr, setMessage, setMessage, setReadOnly, setReadOnly, setText, setText, setTitle, setTitle, setTitle, setTooltip, setTooltip, setVisible, setVisible, setVSFieldMessageToComponent, setVSFieldToComponentMethods inherited from class PropCnr
__transferChildProps, addProp, addProp, addProp2, addProp2, appendPropValue, completeVirtualize, containsProp, containsProp, convertLoadedProp, createCopyOfAtom, createUniqueAtom, createUniqueAtom, createUniqueAtom, 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, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getPropCnr, getPropCount, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue0, getRetargetedVerifyContainer, getString, getString, getString, getString, getValueClasses, hasSendData, initializeElement, initializeExtendsFramework, initializeProp, initializePropTree, initializeValue, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsPropertyValid, isExtendsRoot, isPropAddRemoveAllowed, isPropCommunicating, isPropExtended, isPropValueTreeLockNeeded, list, list, logPropNotFound, maybeAddProp, onInsertProp, onPropRemoved, onPropTreeInitialized, onReferenceEvent, paramString, prepare, removeAllProps, removeAllProps2, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, reorderProps, replaceProps, requestFocus, 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, shouldSerializeToXML, toElementString, toNativeValue0, usePropHashMap, usesPropIndex, validateChildPropInValue, validateClassInstances, validatePropType, validatePropValue, verifyInternalUseOnly, verifyTreeMethods inherited from class GProp
addPropError, addPropListener, appendProp, convertPropError, dispose, equals, equals, equalsErrors, equalsObj, equalsPropValue, equalValues, finalize, fine, fine, finer, finer, finest, finest, fromElementString, getAliasName, getAppWorker, getAtomPath, getAttribute, getChildReferencePropName, 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, hashCode, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCreateRequired, isPropErrorPersisted, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropForEditor, isPropForEditorAtCreation, isPropNullable, isPropPrivate, isPropPrivateAtCreation, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropRootLoading, isPropRootTreeModificationsAllowed, isPropSaveRelevant, isPropSecret, isPropSecretCapable, isPropUSER, isPropVirtualized, isPropVirtualizing, isPropVolatile, isPropVolatileOrEditorOnly, isProxied, isSibling, list, list, list, mapAliasToReference, mapAliasToReference, mapReferenceToAlias, mapReferenceToAlias, mapReferenceToProjectRelative, modifyPropValue, moveProp, moveProp, moveProp, onEvent, onInitialize, onPropInvalidateCache, onPropParentChanged, onPropValueSet, 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, setPropSecret, setPropUSER, setPropValue, setPropValue, setPropValue, setPropValueIncognito, setPropVolatile, severe, severe, severe, shouldSerializeToXML, throwIfReadOnly, toNativeValue, toShortString, toShortString, toString, toString, triggerRemoteEvent, triggerRemoteEvent, validateProp, warning, warning, warningMethods inherited from interface IClassReferenceOwner
getClassReference, getClassReferenceRuntimeInstance, getProp, getRuntimeClassInstance, getRuntimeClassInstanceMethods inherited from interface IComponent
clearErrorMessage, getBadge, getKStringText, getLayoutMgr, getMessage, getMessageText, getStyles, getText, getTooltip, getTooltipText, getUIPanel, getUIParent, isEnabled, isReadOnly, isVisible, messageBox, requestFocus, requestFocus, requestFocusEx, requestFocusEx, setBadge, setBadge, setEnabled, setErrorMessage, setErrorMessage, setHTMLText, setLayoutMgr, setMessage, setMessage, setReadOnly, setText, setText, setTooltip, setTooltip, setVisibleMethods inherited from interface ICustomDataProvider
forbiddenGetCustomDataMap, getCustomData, putCustomData, putCustomDataIfAbsentMethods inherited from interface IFocusComp
requestFocus, requestFocus, requestFocusEx, requestFocusExMethods inherited from interface IGProp
addPropError, addPropListener, dispose, equals, fine, fine, finer, finer, finest, finest, fromElementString, getAtomPath, 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, getValueClasses, hasChanged, hasCircularReferencesError, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCommunicating, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropNullable, isPropPrivate, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropVirtualized, isSibling, list, list, list, list, list, mapAliasToReference, mapReferenceToAlias, mapReferenceToProjectRelative, moveProp, moveProp, moveProp, onEvent, onPropTreeInitialized, removePropError, removePropListener, renameProp, resolveRuntimeReferences, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPropError, setPropExtendsFinal, setPropExtendsPrivate, setPropNullable, setPropPrivate, setPropReadOnly, setPropValue, setPropValue, severe, severe, severe, toElementString, toNativeValue, triggerRemoteEvent, triggerRemoteEvent, validateProp, validatePropType, validatePropValue, warning, warning, warningMethods inherited from interface IMessageBox
messageBox, messageBox, messageBoxMethods inherited from interface IPropCnr
addProp, addProp, addProp2, addProp2, canRequestFocus, canRequestFocus, canRequestFocus, containsProp, containsProp, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, createCopyOfAtom, createUniqueAtom, createUniqueAtom, enablePropCommunication, enablePropHashMap, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getBool, getBool, getBool, getBool, getChildPropError, getChildPropError, getChildPropErrorSeverity, getChildPropErrorSeverity, getErrorsProp, getExtendsError, getExtendsName, getExtendsPossibleClasses, getFirstProp, getFirstProp, getFocusEngine, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getNumber, getNumber, getNumber, getNumber, getPossibleChildren, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getPropCnr, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getString, getString, getString, getString, hasFocus, initializeExtendsFramework, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsRoot, isPropAddRemoveAllowed, isPropExtended, removeAllProps, removeAllProps2, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, reorderProps, requestFocus, requestFocusEx, setBool, setBool, setBool, setBool, 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, usePropHashMap, usesPropIndex, validateClassInstancesMethods inherited from interface ISelectorOwner
getSelector, getSelectorReference, hasSelector, isSelectorSelectedMethods inherited from interface IUIClassReferenceOwner
getClassReference, getClassReferenceAtom, getClassReferenceImplementsInterface, getClassReferenceRequiredAnnotation, isClassReferenceAnnotationBackReferenceRequiredMethods inherited from interface IUIComp
disconnectVSField, getComponentID, getComponentMappings, getContainerFirstUIComponent, getContainerFirstUIComponentNull, getCSSClassNames, getErrorMessage, getErrorMessage, getFixHeight, getFixWidth, getLayoutMgr, getPanelUIComponent, getPanelUIComponentNull, getUIRef, getValue, getValue, getVSField, isMobile, isRTL, isVSFieldDisconnected, reconnectVSField, setComponentToVSField, setCSSClassNames, setCSSClassNames2, setErrorMessage, setErrorMessage, setVSFieldMessageToComponent, setVSFieldToComponentMethods inherited from interface IUIContextMenuOwner
getContainedContextMenu, getContextMenu, getReferencedContextMenu, isContextMenuSupported, onBroken, onResolvedMethods inherited from interface IUIFocusComp
onFocusGained, onFocusLostMethods inherited from interface IUIGroupSeparator
getRadioSelectionComponents, setRadioSelectionComponent, setRadioSelectionComponentMethods inherited from interface IUIPanelAnimation
getAnimation, getAnimation, getAnimationDescription, getAnimationDirection, getAnimationSpeed, getAnimationType, setAnimation, setAnimationMethods inherited from interface IVSComponentListener
onParentStateChangedMethods inherited from interface IVSFieldListener
getBestVSFieldValueType, onBroken, onResolved, onStateChanged, onValueChangedMethods inherited from interface IVSParticipant
assignVirtualSpace, getVSParticipantAtom
Field Details
PN_SIZE_MODE
Property name: size mode IntProp,SIZE_AUTOorSIZE_FIXED.- See Also:
PN_MODALITY
PN_ANIMATION
Property name: animation type IntProp, one of theANIM_*values.- See Also:
PN_SPEED
Property name: animation speed IntProp, one of theSPEED_*values.- See Also:
PN_EASING
Property name: easing IntProp, one of theEASING_*values.- See Also:
PN_CLOSE_OTHERS_ANIMATED
Property name: BoolProp for the graceful close of the Float that is open when another one is opened. Default false: the open Float is closed without animation, in the same frame, because the user has already left it.- See Also:
PN_BACKDROP
Property name: backdrop IntProp, what the scrim beneath a light or a modal Float shows of the page:BACKDROP_AUTO(default),BACKDROP_NONE,BACKDROP_DIMorBACKDROP_BLUR. A modeless Float has no scrim and so no backdrop. Read by the client (floatlayer.js), which also decides what a Browser that cannot blur shows.- See Also:
PN_SCRIM_COLOR
Property name: the scrim colour ColorProp, the colour (with its alpha) the scrim beneath a light or a modal Float is painted with for the dim and the blur backdrop. Undefined (the default) is the theme's scrim colour (ScrimBackground, which follows the light and the dark scheme); defined, the colour is painted as given, a named theme colour following the scheme as every referenced colour does on the client (CC-FIX-FLOAT-COMPLETE-V5-C, FC-D-15).- See Also:
PN_BLUR_RADIUS
Property name: the blur radius UnitProp of the blur backdrop. Undefined (the default) isDEFAULT_BLUR_RADIUS_PXpixels; defined, that radius, for the blur backdrop only (CC-FIX-FLOAT-COMPLETE-V5-C, FC-D-15).- See Also:
PN_PHONE_MODE
Property name: phone mode IntProp, how the Float is shown on a phone:PHONE_AUTO(default),PHONE_ANCHORED,PHONE_SHEETorPHONE_FULLSCREEN. "A phone" is a viewport no wider than 600 CSS pixels (floatplace.js SHEET_MAX_WIDTH); on a desktop every value places the Float beside its anchor (CC-FIX-FLOAT-COMPLETE-V5-C, FC-D-14).- See Also:
PN_ANCHOR
Property name: the anchor StringProp, the path of the component the Float is placed around. It exists on a virtualized Float only: the client session sets it when it opens the Float, it is never authored and never saved.- See Also:
REMOTE_CLOSED_EVENT
public static final int REMOTE_CLOSED_EVENTThe remote event the client sends when the Float has been closed for a cause that arose on the client: a press outside a light Float, a dialog opening, another Float taking its place in the Float layer. The client has closed it for the eye only, and the server answers by requesting the removal, as for every panel.It is 2 because a panel has 1 taken in both directions: from the client 1 is Back, which a Float being closed is not.
- See Also:
PN_CX
Property name: the fixed width GUnit, used when the size mode isSIZE_FIXED.- See Also:
PN_CY
Property name: the fixed height GUnit, used when the size mode isSIZE_FIXED.- See Also:
SIZE_AUTO
public static final int SIZE_AUTOSize mode: the Float is sized to fit its contents (default).- See Also:
SIZE_FIXED
public static final int SIZE_FIXEDSize mode: the Float has the fixed size of itscxandcyproperties.- See Also:
MODELESS
public static final int MODELESSModality: nothing is blocked, the panels underneath stay live.- See Also:
LIGHT
public static final int LIGHTModality: a press outside the Float closes it and is swallowed (default).- See Also:
MODAL
public static final int MODALModality: input to everything underneath the Float is blocked.- See Also:
BACKDROP_AUTO
public static final int BACKDROP_AUTOBackdrop: as the modality has it (default): a modal Float dims the page beneath it, a light Float leaves it as it is.- See Also:
BACKDROP_NONE
public static final int BACKDROP_NONEBackdrop: the page beneath the Float is left as it is, for a modal Float too.- See Also:
BACKDROP_DIM
public static final int BACKDROP_DIMBackdrop: the page beneath the Float is dimmed with the scrim colour of the theme.- See Also:
BACKDROP_BLUR
public static final int BACKDROP_BLURBackdrop: the page beneath the Float is blurred and dimmed; a Browser that cannot blur what lies beneath an element dims.- See Also:
DEFAULT_BLUR_RADIUS_PX
public static final int DEFAULT_BLUR_RADIUS_PXThe blur radius of the blur backdrop in pixels whenPN_BLUR_RADIUSis undefined.- See Also:
PHONE_AUTO
public static final int PHONE_AUTOPhone mode: automatic (default): on a phone the Float is a sheet when no side of its anchor holds it whole or its contents exceed the viewport, else it is placed beside its anchor.- See Also:
PHONE_ANCHORED
public static final int PHONE_ANCHOREDPhone mode: never a sheet: on a phone the Float is placed beside its anchor and held to the viewport, as on a desktop.- See Also:
PHONE_SHEET
public static final int PHONE_SHEETPhone mode: always a sheet on a phone: at the bottom of the viewport, as wide as it.- See Also:
PHONE_FULLSCREEN
public static final int PHONE_FULLSCREENPhone mode: the whole viewport on a phone.- See Also:
ANIM_NONE
public static final int ANIM_NONEAnimation: none, the Float appears and disappears instantly.- See Also:
ANIM_FADE
public static final int ANIM_FADEAnimation: fade.- See Also:
ANIM_GROW
public static final int ANIM_GROWAnimation: grow from the anchor point (default).- See Also:
ANIM_UNFOLD
public static final int ANIM_UNFOLDAnimation: unfold from the anchored edge.- See Also:
ANIM_SLIDE
public static final int ANIM_SLIDEAnimation: slide in on the docked axis.- See Also:
ANIM_RISE
public static final int ANIM_RISEAnimation: a small lift.- See Also:
SPEED_FAST
public static final int SPEED_FASTSpeed: fast. The speeds are the five of the panel animations, same order.- See Also:
SPEED_NORMAL
public static final int SPEED_NORMALSpeed: normal (default).- See Also:
SPEED_SLOW
public static final int SPEED_SLOWSpeed: slow.- See Also:
SPEED_SLOWER
public static final int SPEED_SLOWERSpeed: slower.- See Also:
SPEED_SLOWEST
public static final int SPEED_SLOWESTSpeed: slowest.- See Also:
EASING_STANDARD
public static final int EASING_STANDARDEasing: decelerate when opening, accelerate when closing (default).- See Also:
EASING_EASE
public static final int EASING_EASEEasing: the CSS keywordsease-outwhen opening,ease-inwhen closing.- See Also:
EASING_LINEAR
public static final int EASING_LINEAREasing: linear.- See Also:
Constructor Details
UIFloat
public UIFloat()Creates the container without name with a null value.UIFloat
Creates the container with the specified name with a null value.- Parameters:
propertyAtom- the property atom.
Method Details
clone
getParticipantType
Returns the given type of the referrer participant.- Specified by:
getParticipantTypein interfaceIReferrerParticipant- Overrides:
getParticipantTypein classUIPanelBase
isPopupPanel
public boolean isPopupPanel()Returns if this is a pop-up panel placed on top of main panels.- Overrides:
isPopupPanelin classUIPanelBase- Returns:
- true, always: a Float never is a main panel.
getOnCreateExistingPanelProcessing
public final int getOnCreateExistingPanelProcessing()Returns how to process the panels shown when this panel is virtualized.- Overrides:
getOnCreateExistingPanelProcessingin classUIPanelBase- Returns:
UIPanelBase.PP_ADD_PANEL, always: a Float is added above its owner and never replaces a panel. Closing the Float that is already open is the single-Float rule ofIUIFloatOpener, not a replace policy.
getSizeMode
public int getSizeMode()Gets the size mode.- Returns:
SIZE_AUTO(default, also for a value out of range) orSIZE_FIXED.
getModality
getBackdrop
public int getBackdrop()Gets the backdrop: what the scrim beneath a light or a modal Float shows of the page.- Returns:
- One of the
BACKDROP_*values,BACKDROP_AUTOby default and for a value out of range.
getScrimColor
Gets the scrim colour: what the scrim beneath a light or a modal Float is painted with for the dim and the blur backdrop.- Returns:
- The colour, with its alpha, or null when undefined: the theme's scrim colour, which follows the light and the dark scheme.
getBlurRadius
Gets the blur radius of the blur backdrop.- Returns:
- The radius, or null when undefined:
DEFAULT_BLUR_RADIUS_PXpixels.
getPhoneMode
public int getPhoneMode()Gets the phone mode: how the Float is shown on a phone.- Returns:
- One of the
PHONE_*values,PHONE_AUTOby default and for a value out of range.
getFloatAnimation
public int getFloatAnimation()Gets the animation type.- Returns:
- One of the
ANIM_*values,ANIM_GROWby default and for a value out of range.
getFloatSpeed
public int getFloatSpeed()Gets the animation speed.- Returns:
- One of the
SPEED_*values,SPEED_NORMALby default and for a value out of range.
getEasing
public int getEasing()Gets the easing.- Returns:
- One of the
EASING_*values,EASING_STANDARDby default and for a value out of range.
isCloseOthersAnimated
public boolean isCloseOthersAnimated()Returns if the Float that is open when this one is opened is closed gracefully, i.e. with its animation.- Returns:
- false by default: the open Float is closed at once, without animation.
hasExplicitWidth
public boolean hasExplicitWidth()Verifies if the component has a width.- Overrides:
hasExplicitWidthin classUIComp- Returns:
- true if the size mode is fixed and the width is defined and non-zero, false otherwise: an auto-sized Float takes its width from its contents.
hasExplicitHeight
public boolean hasExplicitHeight()Verifies if the component has an implicit height.- Overrides:
hasExplicitHeightin classUIComp- Returns:
- true if the size mode is fixed and the height is defined and non-zero, false otherwise: an auto-sized Float takes its height from its contents.
onRemoteEvent
Called when the property receives a remote event from its corresponding remote counterpart.- Specified by:
onRemoteEventin interfaceIGProp<GProp<?>[]>- Overrides:
onRemoteEventin classUIPanelBase- Parameters:
event- The remote event.
onBackWithoutHandler
Back on a Float that has no handler of its own closes the Float instead of running a history backward operation (ruling FL-5 of 2026-09-27): the client sends Back to the topmost panel, which is the open Float, and the Float is what leaves first, as a dialog does. A Float whose class has an@OnUIBackmethod or that has avsBackaction keeps Back for that handler, as every panel does; the owner's handler is not consulted, because the owner is not the panel Back was sent to. The focus then returns to the field that opened the Float, else to the owner panel (ruling FL-6), which the host does when it closes the Float.- Overrides:
onBackWithoutHandlerin classUIPanelBase- Parameters:
clientGyro- The client session that sent the Back event.- Returns:
- true when the client session hosts Floats: the Float is closed, or already was. false when it does not, which is logged: the history backward operation then runs as before.
getOwnerError
The runtime guard of the ownership rule: checks that a panel is a legal owner of this Float.A legal owner is a top-level panel or dialog, never a Float and never a panel part, that holds a
FloatReferenceresolving to this Float. The owner may be virtualized or not, and so may this Float: both are compared by their non-virtualized instances.- Parameters:
owner- The panel to check, the top-level panel of the component that opens the Float.- Returns:
- null if the panel is a legal owner, otherwise the reason it is refused, in English, for the log.
verify
Verifies this property container: the Designer guard of the ownership rule. A Float that holds a reference to a Float would own it, which is refused.- Specified by:
verifyin interfaceIGProp<GProp<?>[]>- Overrides:
verifyin classUIPanelBase- Parameters:
verification- The property verification class.- Returns:
- true if verification should proceed, false if disposed of and verification should not take place.