Package com._1c.g5.v8.dt.cai.model.util
Enum CaiPanelInfo
- java.lang.Object
-
- java.lang.Enum<CaiPanelInfo>
-
- com._1c.g5.v8.dt.cai.model.util.CaiPanelInfo
-
- All Implemented Interfaces:
Serializable,Comparable<CaiPanelInfo>
public enum CaiPanelInfo extends Enum<CaiPanelInfo>
Enumeration contains names and uuids for Standard panels of Client Application Interface
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAVORITE_PANELFUNCTIONS_PANELHISTORY_PANELOPENED_PANELSECTION_PANELTOOLS_PANEL
-
Field Summary
Fields Modifier and Type Field Description static List<CaiPanelInfo>VALUESList ofCaiPanelInfovalues
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CaiPanelfind(List<CaiPanel> panels)Find first panel appropriate to panel info from given liststatic CaiPanelInfogetByName(String name)Get panel info by given panel namestatic CaiPanelInfogetByPanel(CaiPanel panel)Get panel info by given panelstatic CaiPanelInfogetByUuid(UUID uuid)Get panel info by given panel uuidStringgetName()Name of panel infoUUIDgetUUID()UUID of panel infostatic CaiPanelInfovalueOf(String name)Returns the enum constant of this type with the specified name.static CaiPanelInfo[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
VALUES
public static final List<CaiPanelInfo> VALUES
List ofCaiPanelInfovalues
-
-
Method Detail
-
values
public static CaiPanelInfo[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CaiPanelInfo c : CaiPanelInfo.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CaiPanelInfo 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 nameNullPointerException- 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 benull- Returns:
- panel info, or
nullif 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 benull- Returns:
- panel info, or
nullif 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 benull- Returns:
- panel info, or
nullif 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
-
-