All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.virtualbox_4_2.jaxws.MouseButtonState Maven / Gradle / Ivy

There is a newer version: 4.2.8
Show newest version

package org.virtualbox_4_2.jaxws;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for MouseButtonState. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="MouseButtonState">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="LeftButton"/>
 *     <enumeration value="RightButton"/>
 *     <enumeration value="MiddleButton"/>
 *     <enumeration value="WheelUp"/>
 *     <enumeration value="WheelDown"/>
 *     <enumeration value="XButton1"/>
 *     <enumeration value="XButton2"/>
 *     <enumeration value="MouseStateMask"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "MouseButtonState") @XmlEnum public enum MouseButtonState { @XmlEnumValue("LeftButton") LEFT_BUTTON("LeftButton"), @XmlEnumValue("RightButton") RIGHT_BUTTON("RightButton"), @XmlEnumValue("MiddleButton") MIDDLE_BUTTON("MiddleButton"), @XmlEnumValue("WheelUp") WHEEL_UP("WheelUp"), @XmlEnumValue("WheelDown") WHEEL_DOWN("WheelDown"), @XmlEnumValue("XButton1") X_BUTTON_1("XButton1"), @XmlEnumValue("XButton2") X_BUTTON_2("XButton2"), @XmlEnumValue("MouseStateMask") MOUSE_STATE_MASK("MouseStateMask"); private final String value; MouseButtonState(String v) { value = v; } public String value() { return value; } public static MouseButtonState fromValue(String v) { for (MouseButtonState c: MouseButtonState.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy