Enum EUserPortalViewTab

java.lang.Object
java.lang.Enum<EUserPortalViewTab>
de.xima.fc.gui.model.portal.EUserPortalViewTab
All Implemented Interfaces:
Serializable, Comparable<EUserPortalViewTab>

public enum EUserPortalViewTab extends Enum<EUserPortalViewTab>
Enum for the tabs in the user portal UI.
  • Enum Constant Details

    • BASE

      public static final EUserPortalViewTab BASE
      Base tab with for editing e.g. the portal's name and description.
    • FORMS

      public static final EUserPortalViewTab FORMS
      Forms tab for editing the forms available in the portal.
    • CUSTOMIZATION

      public static final EUserPortalViewTab CUSTOMIZATION
      Customization tab for editing the portal's appearance (e.g. localized messages and files).
    • ADVANCED

      public static final EUserPortalViewTab ADVANCED
      Advanced tab for editing advanced settings such as custom properties.
  • Method Details

    • values

      public static EUserPortalViewTab[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EUserPortalViewTab valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • tabIndex

      public int tabIndex()
      Gets the index of the tab.
      Returns:
      Index of the tab.
    • byTabIndexOrNull

      public static EUserPortalViewTab byTabIndexOrNull(int activeTabIndex)
      Gets the tab by its index.
      Parameters:
      activeTabIndex - Index of the tab.
      Returns:
      The tab or null if no tab with the given index exists.