|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Parameter>
net.sourceforge.jeuclid.context.Parameter
public enum Parameter
Possible parameters for the LayoutContext.
| Enum Constant Summary | |
|---|---|
ANTIALIAS
Anti-Alias mode (Boolean) for rendering. |
|
ANTIALIAS_MINSIZE
Minimum font size for which anti-alias is turned on. |
|
DEBUG
Debug mode (Boolean). |
|
DISPLAY
Display style (Display). |
|
FONTS_DOUBLESTRUCK
List<String> of font families for double-struck. |
|
FONTS_FRAKTUR
List<String> of font families for fraktur. |
|
FONTS_MONOSPACED
List<String> of font families for monospaced. |
|
FONTS_SANSSERIF
List<String> of font families for sans-serif. |
|
FONTS_SCRIPT
CList<String> of font families for script. |
|
FONTS_SERIF
List<String> of font families for serif. |
|
MATHBACKGROUND
Default background color (Color), may be null. |
|
MATHCOLOR
Default foreground color (Color). |
|
MATHSIZE
Font size (Float) used for the output. |
|
MFRAC_KEEP_SCRIPTLEVEL
If true, <mfrac> element will NEVER increase children's scriptlevel (in violation of the spec); otherwise it will behave with accordance to the spec. |
|
SCRIPTLEVEL
Script level (Integer), defaults to 0. |
|
SCRIPTMINSIZE
Font size (Float) for smallest script used. |
|
SCRIPTSIZEMULTIPLIER
Script size multiplier (Float), defaults to 0.71. |
|
| Method Summary | |
|---|---|
Object |
fromString(String value)
Attempts to convert a parameter value expressed as string into an instance of the appropriate (for this parameter) type. |
String |
getOptionDesc()
|
String |
getOptionName()
|
TypeWrapper |
getTypeWrapper()
|
String |
toString(Object value)
Attempts to convert a parameter value expressed as an object of the appropriate (for this parameter) type into a string representation. |
boolean |
valid(Object o)
Checks if the object is of a valid type for this parameter. |
static Parameter |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Parameter[] |
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 Parameter DISPLAY
public static final Parameter MATHSIZE
public static final Parameter SCRIPTMINSIZE
public static final Parameter SCRIPTSIZEMULTIPLIER
public static final Parameter SCRIPTLEVEL
public static final Parameter ANTIALIAS_MINSIZE
public static final Parameter DEBUG
public static final Parameter ANTIALIAS
public static final Parameter MATHCOLOR
public static final Parameter MATHBACKGROUND
public static final Parameter FONTS_SANSSERIF
Parameterpublic static final Parameter FONTS_SERIF
Parameterpublic static final Parameter FONTS_MONOSPACED
Parameterpublic static final Parameter FONTS_SCRIPT
Parameterpublic static final Parameter FONTS_FRAKTUR
Parameterpublic static final Parameter FONTS_DOUBLESTRUCK
Parameterpublic static final Parameter MFRAC_KEEP_SCRIPTLEVEL
| Method Detail |
|---|
public static Parameter[] values()
for (Parameter c : Parameter.values()) System.out.println(c);
public static Parameter 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 nullpublic TypeWrapper getTypeWrapper()
public String getOptionName()
public String getOptionDesc()
public boolean valid(Object o)
o - the object to check
public Object fromString(String value)
value - parameter value as string
public String toString(Object value)
value - parameter value as object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||