|
Sweet Home 3D 3.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<HomePrintableComponent.Variable>
com.eteks.sweethome3d.swing.HomePrintableComponent.Variable
public static enum HomePrintableComponent.Variable
List of the variables that the user may insert in header and footer.
| Enum Constant Summary | |
|---|---|
DATE
|
|
HOME_NAME
|
|
HOME_PRESENTATION_NAME
|
|
PAGE_COUNT
|
|
PAGE_NUMBER
|
|
PLAN_SCALE
|
|
TIME
|
|
| Method Summary | |
|---|---|
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. |
| 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 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
| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic String getUserCode()
public String getFormatCode()
public static MessageFormat getMessageFormat(String format)
|
Sweet Home 3D 3.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
![]() |
© Copyrights 2006-2011 eTeks - All rights reserved
Distributed under GNU General Public License |