Class UIPanelBase
- 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:
- MUISimpleDialog,- UIDialog,- UIPanel,- UIPanelPart
- Author:
- Christopher Mindus
- Nested Class Summary- Nested classes/interfaces inherited from interface com.iizix.gyro.IMessageBox- IMessageBox.Icon- Nested classes/interfaces inherited from interface com.iizix.gyro.IUIPanelAnimation- IUIPanelAnimation.Direction, IUIPanelAnimation.Speed, IUIPanelAnimation.Type- Nested classes/interfaces inherited from interface com.iizix.prop.vs.IVSComponentState- IVSComponentState.State
- Field SummaryFieldsModifier and TypeFieldDescription- static final UIPanelBase[]An empty panel array.- static final intHow to process pop-up panels when this panel is virtualized: 3 = add this pop-up panel.- static final intHow to process pop-up panels when this panel is virtualized: 0 = replace all panels with this one.- static final intHow to process pop-up panels when this panel is virtualized: 1 = replace all pop-up panels with this one.- static final intHow to process pop-up panels when this panel is virtualized: 2 = replace last pop-up panel (if any).- static final intRemote event for panel removal.- static final StringThe property name of the VS Back action: "vsBack".- Fields inherited from class com.iizix.prop.ui.UIContainer- UICOMP_CLASS, VS_STATE_FOCUS_PROP_NAME, WARN_EMPTY_PROP_NAME- Fields inherited from class com.iizix.prop.ui.UIComp- EMPTY, REMOTE_FOCUS_EVENT, styles, vsField- Fields inherited from class com.iizix.prop.PropCnr- EMPTY_CLASSES, EMPTY_CNRS, EXTENDS_FRAMEWORK_ERROR_ID- 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.IClassReferenceOwner- RETRIEVE_CLASS_REFERENCE_INSTANCE- 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_INCLUDE_PRIVATE, EQC_SAVE_FILE, EXT_CONTAINER_EXTENDS, EXT_CONTAINER_EXTENDS_VALID, EXT_EXTENDED, EXT_FINAL, EXT_OVERRIDES, EXT_OVERRIDES_FINAL_ERR, EXT_PRIVATE- Fields inherited from interface com.iizix.gyro.IMessageBox- ICON_ERROR, ICON_INFORMATION, ICON_MAP, ICON_NONE, ICON_QUESTION, ICON_WARNING- Fields inherited from interface com.iizix.prop.ui.IUIComp- ERROR, INFORMATION, NONE, REMOTE_FOCUS_EVENT, WARNING- Fields inherited from interface com.iizix.gyro.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_SLIDE
- Constructor SummaryConstructorsConstructorDescriptionCreates the container without name with a null value.- UIPanelBase- (Atom propertyAtom) Creates the container with the specified name with a null value.
- Method SummaryModifier and TypeMethodDescription- clone()Creates a clone out of this property.- protected PanelDataCreate the layout property.- createVSReference- (Atom refAtom, PropCnr[] returnParent) Creates a VSReference instance from the container or any parent containers.Returns the Application Session Gyro instance of this virtualized property.Returns the Client Session Gyro instance of this virtualized property.Gets the default text table of the panel.- intGets the device type: -1=mobile, 0=both, 1=desktop.- int- getGroupID- (GroupNameProp groupName) Gets the unique ID for a group name.Gets the layout properties of this component.Gets the non-virtualized instance of this panel.- intReturns how to process pop-up panels when this panel is virtualized.- final VSMappingsGets the panels components that refer to the VirtualSpace in question, and their mappings to the VSComponent's.- final UIPanelBaseGets the panel owner.Returns the given description of the referrer participant.Returns the given type of the referrer participant.- voidGets potential references to predefined properties for this container.The panel is the base component base reference.Gets the configured themes for the panel.Gets the VirtualSpace for this panel.Gets the VSParticipant instance.- getVSReference- (Atom refAtom) Gets a VSReference instance from the container or any parent containers.- booleanReturns if this panel is being replaced by another, but has not had the time to be removed from the client yet.- void- invokeOnUIConnectMethod- (IClientSessionGyro clientGyro) Invoke the create event methods of the component and the panel.- protected void- invokeOnUIFocusMethod- (boolean isFocusGained, UIComp component, UIComp opposite, IGProp<?> trigger) Invoke the focus event methods of the component and the panel.- void- invokeOnUISelectionMethod- (IUISelectionComp source, GProp<?> trigger, IUISelection selection) Invoke the focus event method.- void- invokeOnUITextChangeMethod- (UIComp component, GProp<?> trigger) Invoke the onUITextChange event methods of the component and the panel.- void- invokeOnUIValueChangeMethod- (UIComp component, GProp<?> trigger) Invoke the onUIValueChange event methods of the component and the panel.- final booleanReturns if the animation property is private or not.- booleanChecks if this panel is of desktop type.- boolean- isDeviceTypeMatching- (int deviceType) Returns if the device type is compatible with this panel.- booleanChecks if this panel is of mobile type.- final boolean- isParticipating- (EnvProps envProps) Checks if this panel is participating in the VirtualSpace, i.e.- booleanReturns if this is a pop-up panel placed on top of main panels.- booleanChecks if this panel is primary or not.- void- onEventSelf- (GEvent event) Invalidates cached mappings.- protected void- onPrepare- (IAppOwner appOwner, IModuleOwner moduleOwner, boolean isPostCall, List<Throwable> errors) Called when the application is being prepared.- protected voidCalled when a property is disposed of by delete/remove in a container, or by the dispose method.- void- onRemoteEvent- (RemoteEvent event) Called when a remote property event should be processed by this property.- protected final void- onVirtualizationCompleted- (IAppSessionGyro appGyro, IClientSessionGyro clientGyro, VirtualSpace virtualSpace, boolean isPostResolve) Called when virtualization completed.- void- onVirtualSpaceVirtualized- (IAppSessionGyro appGyro, VirtualSpace virtualizedVirtualSpace) Called when the VirtualSpace has been virtualized, giving the opportunity for e.g.- booleanRequests the removal of the panel with the specified animation.- booleanSets the default text table to use for the panel.- boolean- setPanelType- (IComplexOperation op, int type) Sets the panel type, i.e.- protected boolean- shouldCreateProps- (Element element) Checks if a child Element should be created as properties or if it should be skipped.- boolean- verify- (PropVerification verification) Verifies this property container.- virtualize- (IAppSessionGyro appGyro, IClientSessionGyro clientGyro, VirtualSpace virtualSpace) Call this method to "virtualize" a property tree.- Methods inherited from class com.iizix.prop.ui.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, verifyComponentScope- Methods inherited from class com.iizix.prop.ui.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, hasExplicitHeight, hasExplicitWidth, 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, setVSFieldToComponent- Methods inherited from class com.iizix.prop.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, initializeValue, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsPropertyValid, isExtendsRoot, isPropAddRemoveAllowed, isPropCommunicating, isPropExtended, 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, verifyTree- Methods inherited from class com.iizix.prop.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, 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, isSibling, list, list, list, mapAliasToReference, mapAliasToReference, mapReferenceToAlias, mapReferenceToAlias, mapReferenceToProjectRelative, modifyPropValue, moveProp, moveProp, moveProp, onEvent, 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, 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.IClassReferenceOwner- getClassReference, getClassReferenceRuntimeInstance, getProp, getRuntimeClassInstance, getRuntimeClassInstance- Methods inherited from interface com.iizix.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, setVisible- Methods inherited from interface com.iizix.prop.ICustomDataProvider- forbiddenGetCustomDataMap, getCustomData, putCustomData, putCustomDataIfAbsent- Methods inherited from interface com.iizix.gyro.IFocusComp- requestFocus, requestFocus, requestFocusEx, requestFocusEx- Methods inherited from interface com.iizix.prop.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, warning- Methods inherited from interface com.iizix.gyro.IMessageBox- messageBox, messageBox, messageBox- Methods inherited from interface com.iizix.prop.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, validateClassInstances- Methods inherited from interface com.iizix.prop.ISelectorOwner- getSelector, getSelectorReference, hasSelector, isSelectorSelected- Methods inherited from interface com.iizix.prop.ui.IUIClassReferenceOwner- getClassReference, getClassReferenceAtom, getClassReferenceImplementsInterface, getClassReferenceRequiredAnnotation, isClassReferenceAnnotationBackReferenceRequired- Methods inherited from interface com.iizix.prop.ui.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, setVSFieldToComponent- Methods inherited from interface com.iizix.prop.ui.IUIContextMenuOwner- getContainedContextMenu, getContextMenu, getReferencedContextMenu, isContextMenuSupported, onBroken, onResolved- Methods inherited from interface com.iizix.prop.ui.IUIFocusComp- onFocusGained, onFocusLost- Methods inherited from interface com.iizix.prop.ui.IUIGroupSeparator- getRadioSelectionComponents, setRadioSelectionComponent, setRadioSelectionComponent- Methods inherited from interface com.iizix.gyro.IUIPanelAnimation- getAnimation, getAnimation, getAnimationDescription, getAnimationDirection, getAnimationSpeed, getAnimationType, setAnimation, setAnimation- Methods inherited from interface com.iizix.prop.vs.IVSComponentListener- onParentStateChanged- Methods inherited from interface com.iizix.prop.vs.IVSFieldListener- getBestVSFieldValueType, onBroken, onResolved, onStateChanged, onValueChanged- Methods inherited from interface com.iizix.prop.vs.IVSParticipant- assignVirtualSpace, getVSParticipantAtom
- Field Details- EMPTY_ARRAYAn empty panel array.
- VS_BACK_PROP_NAMEThe property name of the VS Back action: "vsBack".- See Also:
 
- PP_REPLACE_ALLpublic static final int PP_REPLACE_ALLHow to process pop-up panels when this panel is virtualized: 0 = replace all panels with this one.- See Also:
 
- PP_REPLACE_ALL_POPUPSpublic static final int PP_REPLACE_ALL_POPUPSHow to process pop-up panels when this panel is virtualized: 1 = replace all pop-up panels with this one.- See Also:
 
- PP_REPLACE_LAST_POPUPpublic static final int PP_REPLACE_LAST_POPUPHow to process pop-up panels when this panel is virtualized: 2 = replace last pop-up panel (if any).- See Also:
 
- PP_ADD_PANELpublic static final int PP_ADD_PANELHow to process pop-up panels when this panel is virtualized: 3 = add this pop-up panel.- See Also:
 
- REMOTE_REMOVE_EVENTpublic static final int REMOTE_REMOVE_EVENTRemote event for panel removal.- See Also:
 
 
- Constructor Details- UIPanelBasepublic UIPanelBase()Creates the container without name with a null value.
- UIPanelBaseCreates the container with the specified name with a null value.- Parameters:
- propertyAtom- the property atom.
 
 
- Method Details- getPredefinedPropspublic void getPredefinedProps()Gets potential references to predefined properties for this container. This method is called once just after cloning of the property container.- The method should get reference to using the - getProp(...)methods. This allows the subclass to be able to retrieve the new instances to the properties created during- addPredefinedProps()if stored in instance variables.- Subclasses must override this method to do the appropriate initialization, as this method does nothing for the PropCnr class implementation. - Overrides:
- getPredefinedPropsin class- UIContainer
 
- createLayoutCreate the layout property.- Returns:
- A new instance of EPanelData named Atom.LAYOUT.
 
- getLayoutGets the layout properties of this component. If the properties are not present, they are created.
- shouldCreatePropsChecks if a child Element should be created as properties or if it should be skipped. Override this method (and call- super.shouldCreateProps(element)) if the container creates other child elements.- Overrides:
- shouldCreatePropsin class- PropCnr
- Parameters:
- element- The element in question.
- Returns:
- true to create properties out of it, false to ignore the element.
 
- cloneCreates a clone out of this property. The cloning is overridden by the subclasses in order to handle cloning of its class variables appropriately.- Cloning is used for "virtualization" of a property tree in the server. Client property classes will therefore throw - CloneNotSupportedException.- Once a tree has been cloned, the change-flag is reset, and the create-flag is set. All listeners are also removed! The new cloned property is an orphan, i.e. has no parent set. All children properties are also (deep) cloned. - Note that the cloning process is done WITHOUT thread synchronization for performance reasons, thus no modifications should be done to the tree! - Overrides:
- clonein class- UIContainer
 
- onPropDisposeprotected void onPropDispose()Called when a property is disposed of by delete/remove in a container, or by the dispose method.- This call is done just at the end of the delete/remove routine in the container, without synchronization. - During this call, whatever components that e.g. the client needs to disposed of is done. - Subclasses needing to perform some intelligent operations upon deletion should do it by overloading this method and always call the - super.onPropDispose()method.- Overrides:
- onPropDisposein class- UIComp
 
- virtualizepublic UIPanelBase virtualize- (IAppSessionGyro appGyro, IClientSessionGyro clientGyro, VirtualSpace virtualSpace) throws CloneNotSupportedException, PropException Call this method to "virtualize" a property tree. This method is used at runtime in the Server for the application session of virtual instances of VirtualSpace, but also virtual instances of panels, for the individual client session. The VirtualSpace is virtualized once for the application session and is shared for parallel client sessions.- This method is similar to cloning, but enables references that are already resolved to remain if they point to a shared instance, e.g. the VirtualSpace pointing to its participants in the application property container shared instance, or a panel with references to text IDs, assets, etc. - It is up to the property class to handle this by overriding this method. - Overrides:
- virtualizein class- PropCnr
- Parameters:
- appGyro- The application gyro instance performing the virtualization.
- clientGyro- The client gyro session, can be- nullif not initialized from the client gyro.
- virtualSpace- The virtualized or virtualizing VirtualSpace.
- Returns:
- The virtualized property.
- Throws:
- CloneNotSupportedException- If a subclass doesn't allow cloning, e.g. the client properties.
- PropException- For property errors during the virtualization.
 
- getNonVirtualizedGets the non-virtualized instance of this panel.- Returns:
- The non-virtualized panel, always non-null.
 
- getAppSessionGyroReturns the Application Session Gyro instance of this virtualized property.- Specified by:
- getAppSessionGyroin interface- IGProp<GProp<?>[]>
- Overrides:
- getAppSessionGyroin class- GProp<GProp<?>[]>
- Returns:
- The Application Session Gyro if this instance is virtualized, null otherwise.
 
- getClientSessionGyroReturns the Client Session Gyro instance of this virtualized property. This method only work for properties in a panel tree. Data connectors may sometimes also provide- IClientSessionGyro- To get the - IClientSessionGyro- IClientSessionGyro.getSessionInstance()- IClientSessionGyro.getSessionInstance(SessionInfo)- Specified by:
- getClientSessionGyroin interface- IGProp<GProp<?>[]>
- Overrides:
- getClientSessionGyroin class- GProp<GProp<?>[]>
- Returns:
- The Client Session Gyro if this instance is virtualized and is in a UIPanelBase(panels) tree (or for certain data connectors), null otherwise.
 
- onVirtualizationCompletedprotected final void onVirtualizationCompleted- (IAppSessionGyro appGyro, IClientSessionGyro clientGyro, VirtualSpace virtualSpace, boolean isPostResolve) Called when virtualization completed.- This method is called to the entire tree of the newly virtualized property container. - Overrides:
- onVirtualizationCompletedin class- PropCnr
- Parameters:
- appGyro- The application gyro instance performing the virtualization.
- clientGyro- The client gyro session, can be- nullif not initialized from the client gyro.
- virtualSpace- The virtualized VirtualSpace.
- isPostResolve- Flag indicating this call is done after references are attempted to be resolved.
 
- getPanelOwnerGets the panel owner.- Specified by:
- getPanelOwnerin interface- IUIPanelOwner
- Returns:
- The panel itself.
 
- isPopupPanelpublic boolean isPopupPanel()Returns if this is a pop-up panel placed on top of main panels.- Returns:
- The default panel returns false.
 
- getPropBaseReferenceThe panel is the base component base reference.- Specified by:
- getPropBaseReferencein interface- IGProp<GProp<?>[]>
- Overrides:
- getPropBaseReferencein class- PropCnr
- Returns:
- This UIPanelBase instance.
 
- getDeviceTypepublic int getDeviceType()Gets the device type: -1=mobile, 0=both, 1=desktop.- Specified by:
- getDeviceTypein interface- IUIComp
- Overrides:
- getDeviceTypein class- UIContainer
 
- getVSReferenceGets a VSReference instance from the container or any parent containers. The method is used by- VSRelativeReferenceto look up the- VSReferenceinstance in order to resolve the relative path to the target property.- Specified by:
- getVSReferencein interface- IGProp<GProp<?>[]>
- Overrides:
- getVSReferencein class- PropCnr
- Parameters:
- refAtom- The property atom of the requesting relative reference property.
- Returns:
- The instance of the VSParticipant(that extends VSReference) ornullif unassigned.
 
- createVSReferenceCreates a VSReference instance from the container or any parent containers. The method is used in the Designer to create a VirtualSpace connection for- VSRelativeReferenceto look up the- VSReferenceinstance in order to resolve the relative path to the target property.- This method needs to be overridden by subclasses of - PropCnrthat has a VSReference as property, and *SHOULD* match- getVSReference(Atom).- The default is to re-target the call to the parent container, and if the root, a folder or a file property is reached, - nullis returned.- Overrides:
- createVSReferencein class- PropCnr
- Parameters:
- refAtom- The property asking for the VSReference.
- returnParent- An array of PropCnr [1] that will be filled in with the parent property of the VSRefernce.
- Returns:
- The instance of the VSReferenceornullif unassigned. The returned instance could also be a VSParticipant and should therefore be processed accordingly.For this method, it's a VSParticipant. 
 
- getVSParticipantGets the VSParticipant instance. This is also an instance of- VSReference.- Specified by:
- getVSParticipantin interface- IUIPanelOwner
- Returns:
- The instance of the VSParticipant, or null if not yet defined.
 
- getVirtualSpaceGets the VirtualSpace for this panel.- Method for IVSParticipant: Gets the referrer's back-reference to the VirtualSpace. This is used by the VSParticipantReference when verifying its references. - Specified by:
- getVirtualSpacein interface- IUIComp
- Specified by:
- getVirtualSpacein interface- IVSAccessor
- Overrides:
- getVirtualSpacein class- UIComp
- Returns:
- The VirtualSpace, or null for none.
 
- getParticipantDescriptionReturns the given description of the referrer participant.- Specified by:
- getParticipantDescriptionin interface- IReferrerParticipant
- Returns:
- The string the Designer entered in the Description field, or "n/a" for none.
 
- getParticipantTypeReturns the given type of the referrer participant.- Specified by:
- getParticipantTypein interface- IReferrerParticipant
 
- isPrimaryParticipantpublic boolean isPrimaryParticipant()Checks if this panel is primary or not. A primary participant is chosen in the selection processing when multiple participants are ordered in a VSParticipantsHolder container.- Specified by:
- isPrimaryParticipantin interface- IReferrerParticipant
- Returns:
- The default implementation returns true.
 
- getGroupIDGets the unique ID for a group name.- Specified by:
- getGroupIDin interface- IUIGroupSeparator
- Parameters:
- groupName- The group name. Return The unique for the group name.
 
- onPrepareprotected void onPrepare- (IAppOwner appOwner, IModuleOwner moduleOwner, boolean isPostCall, List<Throwable> errors) throws PropException Called when the application is being prepared. The order of- onPreparecalls is always parent first, the children. The method is called twice, first time with- isPostCallset to- false, then a second time with- true.- Overrides:
- onPreparein class- UIComp
- Parameters:
- appOwner- The application owner.
- moduleOwner- The Module owner.
- isPostCall- Flag indicating this is a post-call.
- errors- A list of errors that occurred but did not cause an abort.
- Throws:
- PropException- For property errors during the application preparation to need to abort.
 
- invokeOnUIConnectMethodInvoke the create event methods of the component and the panel.- This method is not intended to be called, it is used by the framework. - Parameters:
- clientGyro- The client gyro.
 
- invokeOnUIFocusMethodprotected void invokeOnUIFocusMethod- (boolean isFocusGained, UIComp component, UIComp opposite, IGProp<?> trigger) Invoke the focus event methods of the component and the panel.- This method is not intended to be called, it is used by the UI focus engine. - Parameters:
- isFocusGained- Flag for focus gained operation.
- component- The UI component.
- opposite- The opposite UI component.
- trigger- The trigger property.
 
- invokeOnUITextChangeMethodInvoke the onUITextChange event methods of the component and the panel.- Parameters:
- component- The UI component.
- trigger- The trigger property.
 
- invokeOnUIValueChangeMethodInvoke the onUIValueChange event methods of the component and the panel.- Parameters:
- component- The UI component.
- trigger- The trigger property.
 
- invokeOnUISelectionMethodpublic void invokeOnUISelectionMethod- (IUISelectionComp source, GProp<?> trigger, IUISelection selection) Invoke the focus event method.- Parameters:
- source- The selection UI component source.
- trigger- The trigger, null for none.
- selection- The selection.
 
- isParticipatingChecks if this panel is participating in the VirtualSpace, i.e. if it's used in the current user session or if it's e.g. the wrong resolution or device.- Specified by:
- isParticipatingin interface- IReferrerParticipant
- Parameters:
- envProps- The Client Environment instance of the current client connection.
- Returns:
- The participation state, by default true.
 
- getPanelMappingsGets the panels components that refer to the VirtualSpace in question, and their mappings to the VSComponent's. Only resolved references are returned.- The return value is cached, and refreshed when required, i.e. if panel components are added or removed. - Returns:
- The map of components to a VirtualSpace, null when panel is not mapped to a VirtualSpace.
 
- onEventSelfInvalidates cached mappings.- Specified by:
- onEventSelfin interface- IGProp<GProp<?>[]>
- Overrides:
- onEventSelfin class- UIComp
- Parameters:
- event- The property event.
 
- onRemoteEventCalled when a remote property event should be processed by this property.- A subclass can override this method to perform appropriate processing and is not required to call - super.onRemoteEvent(e).- The onRemoteEvent is NOT called when in a proxied property container, but rather the normal onEventSelf method. - Specified by:
- onRemoteEventin interface- IGProp<GProp<?>[]>
- Overrides:
- onRemoteEventin class- UIComp
- Parameters:
- event- The remote event.
 
- isDesktopTypepublic boolean isDesktopType()Checks if this panel is of desktop type. (For now, this is the same as not mobile type...)- Returns:
- true if this panel is of desktop type.
 
- isMobileTypepublic boolean isMobileType()Checks if this panel is of mobile type.- Returns:
- true if this panel is of mobile type, i.e. for touch, and using mobile themes.
 
- isDeviceTypeMatchingpublic boolean isDeviceTypeMatching- (int deviceType) Returns if the device type is compatible with this panel.- Parameters:
- deviceType- The device type: -1=mobile, 0=both, 1=desktop.
- Returns:
- true for match, false otherwise (also for invalid device type).
 
- setPanelTypeSets the panel type, i.e. desktop, mobile or future values.- Parameters:
- op- The complex operation, or null for none.
- type- 0=desktop, 1=mobile. (For now...)
- Returns:
- true if changed, false otherwise.
- Throws:
- IllegalArgumentException- If type is not 0 or 1.
 
- getThemesGets the configured themes for the panel.- Returns:
- The panel themes, or null if not configured.
 
- verifyVerifies this property container. The check performed is the extension of classes and that no circular reference is present.- Specified by:
- verifyin interface- IGProp<GProp<?>[]>
- Overrides:
- verifyin class- UIContainer
- Parameters:
- verification- The property verification class.
- Returns:
- true if verification should proceed, false if disposed of and verification should not take place.
 
- isAnimationPropPrivatepublic final boolean isAnimationPropPrivate()Returns if the animation property is private or not.- Specified by:
- isAnimationPropPrivatein interface- IUIPanelAnimation
- Returns:
- true for actions.
 
- getDefaultTextTableGets the default text table of the panel. This text table may be derived from another base table, and the default input language code can also be checked.- Returns:
- The default text table, or null if not defined.
 
- setDefaultTextTableSets the default text table to use for the panel.- Parameters:
- ref- The text table reference, null for none.
- Returns:
- true for changed, false for no change.
 
- getOnCreateExistingPanelProcessingpublic int getOnCreateExistingPanelProcessing()Returns how to process pop-up panels when this panel is virtualized.- Returns:
- PP_REPLACE_ALL = replace all panels with this one,
 PP_REPLACE_ALL_POPUPS = replace all pop-up panels with this one,
 PP_REPLACE_LAST_POPUP = replace last pop-up panel (if any),
 PP_ADD_PANEL = add this pop-up panel.The default processing for main panel is to return PP_REPLACE_ALL. 
 
- requestRemovepublic boolean requestRemove()Requests the removal of the panel with the specified animation. This call is not intended to be called elsewhere than from the client Gyro.- Returns:
- true for success, false if panel is already removed.
 
- hasBeenRemovedpublic boolean hasBeenRemoved()Returns if this panel is being replaced by another, but has not had the time to be removed from the client yet.
- onVirtualSpaceVirtualizedpublic void onVirtualSpaceVirtualized- (IAppSessionGyro appGyro, VirtualSpace virtualizedVirtualSpace) Called when the VirtualSpace has been virtualized, giving the opportunity for e.g. data connectors to prepare it's virtualized counterparts if this is required.- This call is done to the non-virtualized instance of the VirtualSpace participant. - Specified by:
- onVirtualSpaceVirtualizedin interface- IVSParticipant
- Parameters:
- appGyro- The application gyro instance.
- virtualizedVirtualSpace- The virtualized VirtualSpace instance.