public static enum TreeConfig.StockImage extends java.lang.Enum<TreeConfig.StockImage>
ThinClient.addGlobalImage(int, String, byte[]).| Enum Constant and Description |
|---|
COLLAPSED_NODE
Collapsed tree node image
|
EXPANDED_NODE
Expanded tree node image
|
LEAF_NODE
Leaf (no children) tree node image
|
| Modifier and Type | Field and Description |
|---|---|
private int |
id
Image Id
|
| Modifier and Type | Method and Description |
|---|---|
static TreeConfig.StockImage |
fromId(int id)
Returns the enum value corresponding to the supplied id.
|
int |
getId()
Returns the assigned id of the stock image.
|
static TreeConfig.StockImage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TreeConfig.StockImage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreeConfig.StockImage COLLAPSED_NODE
public static final TreeConfig.StockImage EXPANDED_NODE
public static final TreeConfig.StockImage LEAF_NODE
public static TreeConfig.StockImage[] values()
for (TreeConfig.StockImage c : TreeConfig.StockImage.values()) System.out.println(c);
public static TreeConfig.StockImage valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static TreeConfig.StockImage fromId(int id)
id - Image id.null if no match is found.public int getId()