Class WebApplicationFrameDepictor<C extends ApplicationFrame>

    • Field Detail

      • ACTION_INPUT_ID_SEGMENT

        protected static final java.lang.String ACTION_INPUT_ID_SEGMENT
        The ID segment for the hidden action input field.
        See Also:
        Constant Field Values
      • BUSY_ID_SEGMENT

        protected static final java.lang.String BUSY_ID_SEGMENT
        The ID segment for the busy information.
        See Also:
        Constant Field Values
      • FORM_ID_SEGMENT

        protected static final java.lang.String FORM_ID_SEGMENT
        The ID segment for the form.
        See Also:
        Constant Field Values
      • INIT_IFRAME_ID_SEGMENT

        protected static final java.lang.String INIT_IFRAME_ID_SEGMENT
        The ID segment for the layer to shield user input during initialization.
        See Also:
        Constant Field Values
      • GUISE_FLASH_ID

        protected static final java.lang.String GUISE_FLASH_ID
        The ID for the Guise SWF.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WebApplicationFrameDepictor

        public WebApplicationFrameDepictor()
        Default constructor using the XHTML body element.
    • Method Detail

      • getActionInputID

        public static java.lang.String getActionInputID​(ApplicationFrame applicationFrame)
        Determines the ID to be used for the hidden field associated with the given application frame.
        Parameters:
        applicationFrame - The frame for which an input ID should be returned.
        Returns:
        The ID of the hidden field that holds any action value.
      • getBusyID

        public static java.lang.String getBusyID​(ApplicationFrame applicationFrame)
        Determines the ID to be used for an element containing busy component information.
        Parameters:
        applicationFrame - The frame for which a busy ID should be returned.
        Returns:
        An ID appropriate for creating an element to contain busy component information.
      • getFormID

        public static java.lang.String getFormID​(ApplicationFrame applicationFrame)
        Determines the ID to be used for a form associated with the given application frame.
        Parameters:
        applicationFrame - The frame for which a form ID should be returned.
        Returns:
        An ID appropriate for creating a form in the given frame.
      • getInitIFrameID

        public static java.lang.String getInitIFrameID​(ApplicationFrame applicationFrame)
        Determines the ID to be used for an IFrame used for shielding the UI from user input during initialization.
        Parameters:
        applicationFrame - The frame for which an init IFrame ID should be returned.
        Returns:
        An ID appropriate for creating an init IFrame.
      • depictBegin

        protected void depictBegin()
                            throws java.io.IOException
        Begins the depiction process.

        This version renders the beginning XML element information, if there is any, leaving the beginning tag open for attributes.

        This version writes common XHTML attributes.

        This version renders an outer html element.

        Overrides:
        depictBegin in class AbstractWebComponentDepictor<C extends ApplicationFrame>
        Throws:
        java.io.IOException - if there is an error updating the depiction.
      • hasResourceImportControl

        protected static boolean hasResourceImportControl​(Component component)
        Determines whether the given component or any of its children contains a resource import control (a control with a resource import value model).
        Parameters:
        component - The component to check for a resource input value model.
        Returns:
        true if the component or any of its children contain a resource import control.
        See Also:
        ValueControl, ValueModel, ResourceImport