public static enum SequenceAnnotationInterval.Direction extends Enum<SequenceAnnotationInterval.Direction>
leftToRight, rightToLeft, none or bothWays.| Enum Constant and Description |
|---|
bothWays |
leftToRight |
none |
rightToLeft |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDirectedLeft() |
boolean |
isDirectedRight() |
SequenceAnnotationInterval.Direction |
reverse()
The opposite direction from this one, i.e.
|
String |
toArrowString() |
static SequenceAnnotationInterval.Direction |
valueOf(boolean isDirectedLeft,
boolean isDirectedRight) |
static SequenceAnnotationInterval.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SequenceAnnotationInterval.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SequenceAnnotationInterval.Direction leftToRight
public static final SequenceAnnotationInterval.Direction rightToLeft
public static final SequenceAnnotationInterval.Direction none
public static final SequenceAnnotationInterval.Direction bothWays
public static SequenceAnnotationInterval.Direction[] values()
for (SequenceAnnotationInterval.Direction c : SequenceAnnotationInterval.Direction.values()) System.out.println(c);
public static SequenceAnnotationInterval.Direction 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 final boolean isDirectedLeft()
public final boolean isDirectedRight()
public static SequenceAnnotationInterval.Direction valueOf(boolean isDirectedLeft, boolean isDirectedRight)
isDirectedLeft - whether the desired direction should point leftisDirectedRight - whether the desired direction should point rightpublic SequenceAnnotationInterval.Direction reverse()
public String toArrowString()