Interface IUIAnimatedSingleIndexedSelectionComp

    • Method Detail

      • isAnimated

        boolean isAnimated()
        Returns the animation flag.
        Returns:
        If the selection is done with animation or not.
      • setSelection

        java.lang.String setSelection​(int index,
                                      boolean isAnimated)
        Sets the selection as a single selected item at specified index.
        Parameters:
        index - The single item to select at index, -1 to clear the selection.
        isAnimated - The animation flag.
        Returns:
        null for success, otherwise an error message why the selection failed.
      • setSelection

        default java.lang.String setSelection​(int index)
        Sets the selection as a single selected item at specified index without animation.
        Specified by:
        setSelection in interface IUIIndexedSelectionComp
        Parameters:
        index - The single item to select at index, -1 to clear the selection.
        Returns:
        null for success, otherwise an error message why the selection failed.