Class TabHandlers


  • public class TabHandlers
    extends Object
    Utility class with some pre-made TabHandlerss.
    Since:
    2020-04-30
    Author:
    miki
    • Field Detail

      • VISIBILITY_HANDLER

        public static final TabHandler VISIBILITY_HANDLER
        A TabHandler that toggles visibility. All tab contents is loaded to the dom structure.
      • REMOVING_HANDLER

        public static final TabHandler REMOVING_HANDLER
        A {TabHandler that adds and removes tab content.
    • Method Detail

      • selectedContentHasClassName

        public static TabHandler selectedContentHasClassName​(String selectedClassName)
        Returns an instance of TabHandler in which all contents are always visible, but a selected tab contents has a given class name.
        Parameters:
        selectedClassName - Class name to use.
        Returns:
        A TabHandler.