public enum ViewCategory extends Enum<ViewCategory>
| Modifier and Type | Method and Description |
|---|---|
static ViewCategory |
getTypeByString(String category) |
int |
getVal() |
static ViewCategory |
lookup(int val) |
static ViewCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ViewCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewCategory OTHER
public static final ViewCategory STOCK
public static ViewCategory[] values()
for (ViewCategory c : ViewCategory.values()) System.out.println(c);
public static ViewCategory 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 int getVal()
public static ViewCategory lookup(int val)
public static ViewCategory getTypeByString(String category)
Copyright © 2025. All rights reserved.