com.explodingpixels.macwidgets
public static enum SourceListClickListener.Button extends Enum<SourceListClickListener.Button>
Modifier and Type | Method and Description |
---|---|
static SourceListClickListener.Button |
getButton(int correspondingMouseEventButton) |
static SourceListClickListener.Button |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceListClickListener.Button[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceListClickListener.Button LEFT
public static final SourceListClickListener.Button MIDDLE
public static final SourceListClickListener.Button RIGHT
public static SourceListClickListener.Button[] values()
for (SourceListClickListener.Button c : SourceListClickListener.Button.values()) System.out.println(c);
public static SourceListClickListener.Button 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 static SourceListClickListener.Button getButton(int correspondingMouseEventButton)