public enum PortType extends Enum<PortType>
Java class for PortType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PortType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ANALOGOUT"/>
<enumeration value="BACKLIGHT"/>
<enumeration value="INPUT"/>
<enumeration value="LIGHT"/>
<enumeration value="MOTOR"/>
<enumeration value="SERVO"/>
<enumeration value="SOUND"/>
<enumeration value="SWITCH"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ANALOGOUT |
BACKLIGHT |
INPUT |
LIGHT |
MOTOR |
SERVO |
SOUND |
SWITCH |
| Modifier and Type | Method and Description |
|---|---|
static PortType |
fromValue(String v) |
String |
value() |
static PortType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PortType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortType ANALOGOUT
public static final PortType BACKLIGHT
public static final PortType INPUT
public static final PortType LIGHT
public static final PortType MOTOR
public static final PortType SERVO
public static final PortType SOUND
public static final PortType SWITCH
public static PortType[] values()
for (PortType c : PortType.values()) System.out.println(c);
public static PortType 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 String value()
Copyright © 2016. All rights reserved.