public static enum AnnotationPainter.AnnotationFont extends Enum<AnnotationPainter.AnnotationFont>
Enum Constant and Description |
---|
Helvetical_10 |
Helvetical_12 |
Helvetical_18 |
Monospace_8_BY_13 |
Monospace_9_BY_15 |
Times_Roman_10 |
Times_Roman_24 |
Modifier and Type | Method and Description |
---|---|
int |
getFont() |
int |
getHeight() |
static AnnotationPainter.AnnotationFont |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationPainter.AnnotationFont[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationPainter.AnnotationFont Monospace_8_BY_13
public static final AnnotationPainter.AnnotationFont Monospace_9_BY_15
public static final AnnotationPainter.AnnotationFont Times_Roman_10
public static final AnnotationPainter.AnnotationFont Times_Roman_24
public static final AnnotationPainter.AnnotationFont Helvetical_10
public static final AnnotationPainter.AnnotationFont Helvetical_12
public static final AnnotationPainter.AnnotationFont Helvetical_18
public static AnnotationPainter.AnnotationFont[] values()
for (AnnotationPainter.AnnotationFont c : AnnotationPainter.AnnotationFont.values()) System.out.println(c);
public static AnnotationPainter.AnnotationFont 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 int getFont()
public int getHeight()
Copyright © 2013 Metron, Inc.. All rights reserved.