com.metsci.glimpse.painter.info
Enum AnnotationPainter.AnnotationFont
java.lang.Object
java.lang.Enum<AnnotationPainter.AnnotationFont>
com.metsci.glimpse.painter.info.AnnotationPainter.AnnotationFont
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AnnotationPainter.AnnotationFont>
- Enclosing class:
- AnnotationPainter
public static enum AnnotationPainter.AnnotationFont
- extends java.lang.Enum<AnnotationPainter.AnnotationFont>
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Monospace_8_BY_13
public static final AnnotationPainter.AnnotationFont Monospace_8_BY_13
Monospace_9_BY_15
public static final AnnotationPainter.AnnotationFont Monospace_9_BY_15
Times_Roman_10
public static final AnnotationPainter.AnnotationFont Times_Roman_10
Times_Roman_24
public static final AnnotationPainter.AnnotationFont Times_Roman_24
Helvetical_10
public static final AnnotationPainter.AnnotationFont Helvetical_10
Helvetical_12
public static final AnnotationPainter.AnnotationFont Helvetical_12
Helvetical_18
public static final AnnotationPainter.AnnotationFont Helvetical_18
values
public static AnnotationPainter.AnnotationFont[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AnnotationPainter.AnnotationFont c : AnnotationPainter.AnnotationFont.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AnnotationPainter.AnnotationFont valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getFont
public int getFont()
getHeight
public int getHeight()
Copyright © 2012 Metron, Inc.. All Rights Reserved.