public static enum HomePrintableComponent.Variable extends java.lang.Enum<HomePrintableComponent.Variable>
Enum Constant and Description |
---|
DATE |
HOME_NAME |
HOME_PRESENTATION_NAME |
LEVEL_NAME |
PAGE_COUNT |
PAGE_NUMBER |
PLAN_SCALE |
TIME |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFormatCode()
Returns a format usable code matching this field.
|
static java.text.MessageFormat |
getMessageFormat(java.lang.String format)
Returns the message format built from a format that uses variables.
|
java.lang.String |
getUserCode()
Returns a user readable code matching this field.
|
static HomePrintableComponent.Variable |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HomePrintableComponent.Variable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HomePrintableComponent.Variable PAGE_NUMBER
public static final HomePrintableComponent.Variable PAGE_COUNT
public static final HomePrintableComponent.Variable PLAN_SCALE
public static final HomePrintableComponent.Variable DATE
public static final HomePrintableComponent.Variable TIME
public static final HomePrintableComponent.Variable HOME_PRESENTATION_NAME
public static final HomePrintableComponent.Variable HOME_NAME
public static final HomePrintableComponent.Variable LEVEL_NAME
public static HomePrintableComponent.Variable[] values()
for (HomePrintableComponent.Variable c : HomePrintableComponent.Variable.values()) System.out.println(c);
public static HomePrintableComponent.Variable valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getUserCode()
public java.lang.String getFormatCode()
public static java.text.MessageFormat getMessageFormat(java.lang.String format)
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License