Package com._1c.g5.v8.dt.cai.model.util
Enum Class CaiPanelInfo
- All Implemented Interfaces:
Serializable
,Comparable<CaiPanelInfo>
,Constable
Enumeration contains names and uuids for Standard panels of Client Application Interface
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionFind first panel appropriate to panel info from given liststatic CaiPanelInfo
Get panel info by given panel namestatic CaiPanelInfo
getByPanel
(CaiPanel panel) Get panel info by given panelstatic CaiPanelInfo
Get panel info by given panel uuidgetName()
Name of panel infogetUUID()
UUID of panel infostatic CaiPanelInfo
Returns the enum constant of this class with the specified name.static CaiPanelInfo[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SECTION_PANEL
-
TOOLS_PANEL
-
FAVORITE_PANEL
-
HISTORY_PANEL
-
OPENED_PANEL
-
FUNCTIONS_PANEL
-
-
Field Details
-
VALUES
List ofCaiPanelInfo
values
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getByName
Get panel info by given panel name- Parameters:
panel
- the panel name, cannot benull
- Returns:
- panel info, or
null
if no panel info appropriate for given panel.
-
getByUuid
Get panel info by given panel uuid- Parameters:
panel
- the panel uuid, cannot benull
- Returns:
- panel info, or
null
if no panel info appropriate for given panel.
-
getByPanel
Get panel info by given panel- Parameters:
panel
- the panel, cannot benull
- Returns:
- panel info, or
null
if no panel info appropriate for given panel.
-
getUUID
UUID of panel info- Returns:
- the UUID of panel info
-
getName
Name of panel info- Returns:
- the name of panel info
-
find
Find first panel appropriate to panel info from given list- Parameters:
panels
- the list of panel for search in, cannot benull
- Returns:
- first panal appopriate to panel info, or
null
-