public static enum EventSelection.Location extends Enum<EventSelection.Location>
Enum Constant and Description |
---|
Center
Either the click occurred in-between the start and end time (but near neither),
or the click occurred very near to both the start and end times (either because
the timeline was zoomed in very far, or the event had the same start and end time).
|
End
The click occurred near the end time of the event.
|
Icon
The click occurred near the event icon.
|
Label
The click occurred near the event label.
|
Start
The click occurred near the start time of the event.
|
Modifier and Type | Method and Description |
---|---|
static EventSelection.Location |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventSelection.Location[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventSelection.Location Start
public static final EventSelection.Location End
public static final EventSelection.Location Center
public static final EventSelection.Location Icon
public static final EventSelection.Location Label
public static EventSelection.Location[] values()
for (EventSelection.Location c : EventSelection.Location.values()) System.out.println(c);
public static EventSelection.Location 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 nullCopyright © 2016 Metron, Inc.. All rights reserved.