Class UIDialog

    • Field Detail

      • clientStyles

        protected Styles clientStyles
        The style container for client.
    • Constructor Detail

      • UIDialog

        public UIDialog()
        Creates the container without name with a null value.
      • UIDialog

        public UIDialog​(Atom propertyAtom)
        Creates the container with the specified name with a null value.
        Parameters:
        propertyAtom - the property atom.
    • Method Detail

      • createClientStyles

        protected Styles createClientStyles()
        Creates the Client Styles container (can be overridden by Designer to create EditorStyles).
      • addPredefinedProps

        public void addPredefinedProps()
                                throws PropException
        Adds the predefined containers for identifications, fields and actions. This method is overridden fully by the Editor versions of the class.
        Overrides:
        addPredefinedProps in class UIContainer
        Throws:
        PropException - For property exceptions.
      • getPredefinedProps

        public void getPredefinedProps()
        Gets the references to predefined properties. If the Styles is created, make sure to get it.
        Overrides:
        getPredefinedProps in class UIPanelBase
      • getClientAreaStyles

        public Styles getClientAreaStyles()
        Gets the client area styles.
        Returns:
        The client area styles container.
      • isPopupPanel

        public boolean isPopupPanel()
        Returns if this is a pop-up panel placed on top of main panels.
        Overrides:
        isPopupPanel in class UIPanelBase
        Returns:
        The default panel returns false.
      • getOnCreateExistingPanelProcessing

        public int getOnCreateExistingPanelProcessing()
        Returns how to process pop-up panels when this panel is virtualized.
        Overrides:
        getOnCreateExistingPanelProcessing in class UIPanelBase
        Returns:
        Mobile simple dialogs are never stacked, so this method returns PP_REPLACE_ALL_POPUPS = replace all pop-up panels with this one.
      • hasExplicitWidth

        public boolean hasExplicitWidth()
        Verifies if the component has a width.

        This means a width that is either present due to the component or that the width has explicitly been set, or that it is in a container that sets the outer bounds of the component.

        Overrides:
        hasExplicitWidth in class UIComp
        Returns:
        true if the width is defined and non-zero, false otherwise.
      • hasExplicitHeight

        public boolean hasExplicitHeight()
        Verifies if the component has an implicit height.

        This means a height that is either present due to the component or that the height has explicitly been set, or that it is in a container that sets the outer bounds of the component.

        Overrides:
        hasExplicitHeight in class UIComp
        Returns:
        true if the height is defined and non-zero, false otherwise.