Enum Class CaiPanelInfo

java.lang.Object
java.lang.Enum<CaiPanelInfo>
com._1c.g5.v8.dt.cai.model.util.CaiPanelInfo
All Implemented Interfaces:
Serializable, Comparable<CaiPanelInfo>, Constable

public enum CaiPanelInfo extends Enum<CaiPanelInfo>
Enumeration contains names and uuids for Standard panels of Client Application Interface
  • Enum Constant Details

    • SECTION_PANEL

      public static final CaiPanelInfo SECTION_PANEL
    • TOOLS_PANEL

      public static final CaiPanelInfo TOOLS_PANEL
    • FAVORITE_PANEL

      public static final CaiPanelInfo FAVORITE_PANEL
    • HISTORY_PANEL

      public static final CaiPanelInfo HISTORY_PANEL
    • OPENED_PANEL

      public static final CaiPanelInfo OPENED_PANEL
    • FUNCTIONS_PANEL

      public static final CaiPanelInfo FUNCTIONS_PANEL
  • Field Details

  • Method Details

    • values

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

      public static CaiPanelInfo valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getByName

      public static CaiPanelInfo getByName(String name)
      Get panel info by given panel name
      Parameters:
      panel - the panel name, cannot be null
      Returns:
      panel info, or null if no panel info appropriate for given panel.
    • getByUuid

      public static CaiPanelInfo getByUuid(UUID uuid)
      Get panel info by given panel uuid
      Parameters:
      panel - the panel uuid, cannot be null
      Returns:
      panel info, or null if no panel info appropriate for given panel.
    • getByPanel

      public static CaiPanelInfo getByPanel(CaiPanel panel)
      Get panel info by given panel
      Parameters:
      panel - the panel, cannot be null
      Returns:
      panel info, or null if no panel info appropriate for given panel.
    • getUUID

      public UUID getUUID()
      UUID of panel info
      Returns:
      the UUID of panel info
    • getName

      public String getName()
      Name of panel info
      Returns:
      the name of panel info
    • find

      public CaiPanel find(List<CaiPanel> panels)
      Find first panel appropriate to panel info from given list
      Parameters:
      panels - the list of panel for search in, cannot be null
      Returns:
      first panal appopriate to panel info, or null