Package com.palantir.ptoss.cinch.swing
Enum OnClick.Button
- java.lang.Object
- 
- java.lang.Enum<OnClick.Button>
- 
- com.palantir.ptoss.cinch.swing.OnClick.Button
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<OnClick.Button>
 - Enclosing class:
- OnClick
 
 public static enum OnClick.Button extends java.lang.Enum<OnClick.Button> Enum specifying which mouse button is being bound by this binding.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static OnClick.ButtonvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OnClick.Button[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
LEFTpublic static final OnClick.Button LEFT 
 - 
CENTERpublic static final OnClick.Button CENTER 
 - 
RIGHTpublic static final OnClick.Button RIGHT 
 
- 
 - 
Method Detail- 
valuespublic static OnClick.Button[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OnClick.Button c : OnClick.Button.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static OnClick.Button valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-