Package com._1c.g5.aef2.standard.events
Enum SelectionEvent.SelectionType
- java.lang.Object
-
- java.lang.Enum<SelectionEvent.SelectionType>
-
- com._1c.g5.aef2.standard.events.SelectionEvent.SelectionType
-
- All Implemented Interfaces:
Serializable
,Comparable<SelectionEvent.SelectionType>
- Enclosing class:
- SelectionEvent
public static enum SelectionEvent.SelectionType extends Enum<SelectionEvent.SelectionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DESELECT
DESELECT_ALL
NONE
SELECT
SELECT_ALL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SelectionEvent.SelectionType
of(ClientSelectionEvent.ClientSelectionType clientType)
Translates aClientSelectionEvent.ClientSelectionType
toSelectionEvent.SelectionType
.static SelectionEvent.SelectionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SelectionEvent.SelectionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SelectionEvent.SelectionType NONE
-
SELECT
public static final SelectionEvent.SelectionType SELECT
-
DESELECT
public static final SelectionEvent.SelectionType DESELECT
-
SELECT_ALL
public static final SelectionEvent.SelectionType SELECT_ALL
-
DESELECT_ALL
public static final SelectionEvent.SelectionType DESELECT_ALL
-
-
Method Detail
-
values
public static SelectionEvent.SelectionType[] 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 (SelectionEvent.SelectionType c : SelectionEvent.SelectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SelectionEvent.SelectionType 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
-
of
public static SelectionEvent.SelectionType of(ClientSelectionEvent.ClientSelectionType clientType)
Translates aClientSelectionEvent.ClientSelectionType
toSelectionEvent.SelectionType
.- Parameters:
clientType
- The sourceClientSelectionEvent.ClientSelectionType
- Returns:
- The corresponding
SelectionEvent.SelectionType
-
-