Class FloatReference

All Implemented Interfaces:
EventListener, IGProp<ReferenceString>, IPropReference, IReferencingGProp, Cloneable

public class FloatReference extends FixedVirtualizedAbstractReference<UIFloat>
The reference from an owner panel or dialog to a Float: holding it is what makes the panel an owner of the Float.

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