Serializable
, Comparable<Opacity>
public enum Opacity extends Enum<Opacity>
Modifier and Type | Method | Description |
---|---|---|
double |
getOpacity() |
Gets the opacity.
|
static Opacity |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Opacity[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Opacity SHOW
public static final Opacity HIDE
public static final Opacity DRAG
public static Opacity[] values()
for (Opacity c : Opacity.values()) System.out.println(c);
public static Opacity 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 double getOpacity()
Copyright © 2018. All rights reserved.