Serializable
, Comparable<ContiguousSelectEvent.SelectionType>
public static enum ContiguousSelectEvent.SelectionType extends Enum<ContiguousSelectEvent.SelectionType>
Enum Constant | Description |
---|---|
ADDITIVE_CONTIGUOUS |
Represents an additive selection where the new selection should be added to the current selection.
|
ADDITIVE_NON_CONTIGUOUS |
Represents an additive selection where the new selection should be added to the current selection.
|
REPLACE_CONTIGUOUS |
Represents a normal selection that replace the previous selection.
|
REPLACE_NON_CONTIGUOUS |
Represents a normal selection that replace the previous selection.
|
Modifier and Type | Method | Description |
---|---|---|
static ContiguousSelectEvent.SelectionType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ContiguousSelectEvent.SelectionType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContiguousSelectEvent.SelectionType REPLACE_NON_CONTIGUOUS
public static final ContiguousSelectEvent.SelectionType REPLACE_CONTIGUOUS
public static final ContiguousSelectEvent.SelectionType ADDITIVE_NON_CONTIGUOUS
public static final ContiguousSelectEvent.SelectionType ADDITIVE_CONTIGUOUS
public static ContiguousSelectEvent.SelectionType[] values()
for (ContiguousSelectEvent.SelectionType c : ContiguousSelectEvent.SelectionType.values()) System.out.println(c);
public static ContiguousSelectEvent.SelectionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.