|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ParameterKey> net.sourceforge.jeuclid.ParameterKey
public enum ParameterKey
A class to hold parameters for the rendering process.
Each parameter is passed using the String datatype, and then converted back into the internal dataype. The following assumptions are made for the given datatypes:
Float.parseFloat(String)
.Boolean.parseBoolean(String)
.
Enum Constant Summary | |
---|---|
AntiAlias
Anti-Alias mode (boolean) for rendering. |
|
BackgroundColor
Default background color (String). |
|
DebugMode
Debug mode (boolean). |
|
FontsDoublestruck
Comma separated list of font families for double-struck. |
|
FontsFraktur
Comma separated list of font families for fraktur. |
|
FontSize
Font size (float) used for the output. |
|
FontsMonospaced
Comma separated list of font families for monospaced. |
|
FontsSanserif
Comma separated list of font families for sans-serif. |
|
FontsScript
Comma separated list of font families for script. |
|
FontsSerif
Comma separated list of font families for serif. |
|
ForegroundColor
Default foreground color (String). |
|
OutFileType
File type (String) for the output used by converter functions. |
Method Summary | |
---|---|
static ParameterKey |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ParameterKey[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ParameterKey OutFileType
public static final ParameterKey FontSize
public static final ParameterKey DebugMode
public static final ParameterKey AntiAlias
public static final ParameterKey ForegroundColor
public static final ParameterKey BackgroundColor
public static final ParameterKey FontsSanserif
ParameterKey
public static final ParameterKey FontsSerif
ParameterKey
public static final ParameterKey FontsMonospaced
ParameterKey
public static final ParameterKey FontsScript
ParameterKey
public static final ParameterKey FontsFraktur
ParameterKey
public static final ParameterKey FontsDoublestruck
ParameterKey
Method Detail |
---|
public static ParameterKey[] values()
for (ParameterKey c : ParameterKey.values()) System.out.println(c);
public static ParameterKey valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |