public static enum StripeAnimation.TYPE extends Enum<StripeAnimation.TYPE>
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Enum Constant and Description |
|---|
BLOCK
Block : allow to cross in both directions.
|
DASHED
Dashes ¦ allow to cross in both directions.
|
DOUBLE
Double solid line ||, don't cross.
|
LEFTONLY
Line |¦ allow to go to left, but not to right.
|
RIGHTONLY
Line ¦| allow to go to right, but not to left.
|
SOLID
Single solid line.
|
| Modifier and Type | Method and Description |
|---|---|
static StripeAnimation.TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StripeAnimation.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StripeAnimation.TYPE SOLID
public static final StripeAnimation.TYPE LEFTONLY
public static final StripeAnimation.TYPE RIGHTONLY
public static final StripeAnimation.TYPE DASHED
public static final StripeAnimation.TYPE DOUBLE
public static final StripeAnimation.TYPE BLOCK
public static StripeAnimation.TYPE[] values()
for (StripeAnimation.TYPE c : StripeAnimation.TYPE.values()) System.out.println(c);
public static StripeAnimation.TYPE 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 nullCopyright © 2014–2018 Delft University of Technology. All rights reserved.