Interface UserServicePaneWriter

    • Method Detail

      • setCurrentObject

        void setCurrentObject​(ObjectKey anObjectKey)
        Sets the current object that will be used to resolve path expressions.
        Parameters:
        anObjectKey - the key of an object of the current object context or null if no current object.
        See Also:
        UIFormWriter.getPrefixedPath(Path)
      • getCurrentObjectKey

        ObjectKey getCurrentObjectKey()
        Returns the key of the current object.
        Returns:
        The object key or null if no current object.
      • addPane

        void addPane​(UserServicePane aPane)
        Adds a pane.
        Parameters:
        aPane - the pane to be added.
      • newSubmitButton

        UIButtonSpecSubmit newSubmitButton​(String aLabel,
                                           UserServiceEvent aCallback)
        Creates a specification for a submit button.
        Parameters:
        aLabel - the button's label.
        aCallback - the callback.
        Returns:
        the button specification.
      • newSubmitButton

        UIButtonSpecSubmit newSubmitButton​(UserMessage aLabel,
                                           UserServiceEvent aCallback)
        Creates a localized specification for a submit button.
        Parameters:
        aLabel - the button's label.
        aCallback - the callback.
        Returns:
        the button specification.
      • newTabbedPane

        UserServiceTabbedPane newTabbedPane()
        Creates a tabbed pane.

        If this pane is added to a page whose structure may vary at each display, one should consider using instead the method {newTabbedPane(String).

        Returns:
        the new tabbed pane.
      • newTabbedPane

        UserServiceTabbedPane newTabbedPane​(String anId)
        Creates a tabbed pane.
        Parameters:
        anId - The id for the pane. If this pane is added to a page whose structure may vary at each display, id should be a fixed, non-null value. Not doing so prevents EBX® from reselecting previously selected tabs after a redisplay.
        Returns:
        the new tabbed pane.
      • getPreviousTabSelected

        String getPreviousTabSelected​(String aTabbedPaneId)
        Returns the id of the selected tab of a tabbed pane prior to last submit or null if the tabbed pane was not yet submitted.
        Parameters:
        aTabbedPaneId - A valid id of a tabbed pane.
        Returns:
        the tab id selected prior to the last submit or null if the tabbed pane was not yet submitted or if id is unknown.