public enum TextWidth extends Enum<TextWidth>
Copyright (c) 2013-2019 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 |
---|
WIDTH_CONDENSED
condensed font.
|
WIDTH_EXTENDED
extended font.
|
WIDTH_REGULAR
regular font.
|
WIDTH_SEMI_CONDENSED
moderately condensed font.
|
WIDTH_SEMI_EXTENDED
moderately extended font.
|
Modifier and Type | Method and Description |
---|---|
protected Number |
getValue() |
static TextWidth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextWidth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextWidth WIDTH_CONDENSED
public static final TextWidth WIDTH_SEMI_CONDENSED
public static final TextWidth WIDTH_REGULAR
public static final TextWidth WIDTH_SEMI_EXTENDED
public static final TextWidth WIDTH_EXTENDED
public static TextWidth[] values()
for (TextWidth c : TextWidth.values()) System.out.println(c);
public static TextWidth 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 nullprotected final Number getValue()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.