public enum SnapStep extends Enum<SnapStep>
| Modifier and Type | Method and Description |
|---|---|
Integer |
getMinutes() |
static SnapStep |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnapStep[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapStep ONE_HOUR
public static final SnapStep HALF_HOUR
public static final SnapStep QUARTER
public static SnapStep[] values()
for (SnapStep c : SnapStep.values()) System.out.println(c);
public static SnapStep 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 nullpublic Integer getMinutes()
Copyright © 2021–2026 Vaadin Ltd. All rights reserved.