public static enum HomePrintableComponent.Variable extends 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 |
---|---|
String |
getFormatCode()
Returns a format usable code matching this field.
|
static MessageFormat |
getMessageFormat(String format)
Returns the message format built from a format that uses variables.
|
String |
getUserCode()
Returns a user readable code matching this field.
|
static HomePrintableComponent.Variable |
valueOf(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(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 String getUserCode()
public String getFormatCode()
public static MessageFormat getMessageFormat(String format)
© Copyrights 2006-2016 Emmanuel PUYBARET / eTeks
Distributed under GNU General Public License