|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.nist.antd.java.util.AppConstants
This class contains constant values for applications in general.
This class was developed at the National Institute of Standards and Technology by employees of the Federal Government in the course of their official duties. Pursuant to title 17 Section 105 of the United States Code this software is not subject to copyright protection and is in the public domain.
NIST assumes no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic.
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
| Field Summary | |
static java.lang.String |
BTN_BACK
The name of the Back button. |
static java.lang.String |
BTN_CANCEL
The name of the Cancel button. |
static java.lang.String |
BTN_CLOSE
The name of the Close button. |
static java.lang.String |
BTN_CREDITS
The name of the Credits button. |
static java.lang.String |
BTN_EXIT
The name of the Exit button. |
static java.lang.String |
BTN_FORWARD
The name of the Forward button. |
static java.lang.String |
BTN_HELP
The name of the Help button. |
static java.lang.String |
BTN_HOME
The name of the Home button. |
static char |
BTN_NM_BACK
The mnemonik of the Back Button. |
static char |
BTN_NM_CANCEL
The mnemonik of the Cancel Button. |
static char |
BTN_NM_CLOSE
The mnemonik of the Close Button. |
static char |
BTN_NM_CREDITS
The mnemonik of the Credits Button. |
static char |
BTN_NM_EXIT
The mnemonik of the Exit Button. |
static char |
BTN_NM_FORWARD
The mnemonik of the Forward Button. |
static char |
BTN_NM_HELP
The mnemonik of the help Button. |
static char |
BTN_NM_HOME
The mnemonik of the Forward Button. |
static char |
BTN_NM_OK
The mnemonik of the OK Button. |
static char |
BTN_NM_OPEN
The mnemonik of the Open Button. |
static char |
BTN_NM_REPORT
The mnemonik of the Report Button. |
static java.lang.String |
BTN_OK
The name of the OK button. |
static java.lang.String |
BTN_OPEN
The name of the Open button. |
static java.lang.String |
BTN_REPORT
The name of the Report button. |
private static java.util.Properties |
CONFIG
The internal propertie file. |
static java.lang.String |
HINT_BTN_BACK
The hint text for the Back button. |
static java.lang.String |
HINT_BTN_CLOSE
The hint text for the Close button. |
static java.lang.String |
HINT_BTN_FORWARD
The hint text for the Forward button. |
static java.lang.String |
HINT_BTN_HOME
The hint text for the Home button. |
static java.lang.String |
IMG_BACK24
The image name for Backward. |
static java.lang.String |
IMG_BASE
The image base graphical. |
static java.lang.String |
IMG_BASE1
The image base general. |
static java.lang.String |
IMG_BASE2
The image base navigation. |
static java.lang.String |
IMG_CLOSE24
The image name for close. |
static java.lang.String |
IMG_FORWARD24
The image name for Forward. |
static java.lang.String |
IMG_HOME24
The image name for home. |
static java.lang.String |
MNU_ABOUT
The name of the About menu. |
static java.lang.String |
MNU_CLOSE
The name of the Close menu. |
static java.lang.String |
MNU_CONTENTS
The name of the Contents menu. |
static java.lang.String |
MNU_EXIT
The name of the Exit menu. |
static java.lang.String |
MNU_FILE
The name of the File menu. |
static java.lang.String |
MNU_HELP
The name of the Help menu. |
static java.lang.String |
MNU_KS_CONTENTS
The keystroke of the Contents Menu. |
static java.lang.String |
MNU_NEW
The name of the File menu. |
static char |
MNU_NM_ABOUT
The mnemonik of the About Menu. |
static char |
MNU_NM_CLOSE
The mnemonik of the Close Menu. |
static char |
MNU_NM_CONTENTS
The mnemonik of the Contents Menu. |
static char |
MNU_NM_EXIT
The mnemonik of the Exit Menu. |
static char |
MNU_NM_FILE
The mnemonik of the Help Menu. |
static char |
MNU_NM_HELP
The mnemonik of the Help Menu. |
static char |
MNU_NM_NEW
The mnemonik of the Help Menu. |
static char |
MNU_NM_OPEN
The mnemonik of the Open Menu. |
static char |
MNU_NM_SAVE
The mnemonik of the Save Menu. |
static char |
MNU_NM_SAVEAS
The mnemonik of the Save As Menu. |
static java.lang.String |
MNU_OPEN
The name of the Open menu. |
static java.lang.String |
MNU_SAVE
The name of the Save menu. |
static java.lang.String |
MNU_SAVEAS
The name of the Save As menu. |
| Constructor Summary | |
AppConstants()
|
|
| Method Summary | |
private static char |
getChar(java.lang.String name,
char alternate)
Returns the value read out of the configuration property file. |
private static java.lang.String |
getStr(java.lang.String name,
java.lang.String alternate)
Returns the value read out of the configuration property file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static java.util.Properties CONFIG
public static java.lang.String IMG_BASE
public static java.lang.String IMG_BASE1
public static java.lang.String IMG_BASE2
public static java.lang.String IMG_FORWARD24
public static java.lang.String IMG_BACK24
public static java.lang.String IMG_HOME24
public static java.lang.String IMG_CLOSE24
public static java.lang.String BTN_OK
public static char BTN_NM_OK
public static java.lang.String BTN_CANCEL
public static char BTN_NM_CANCEL
public static java.lang.String BTN_HELP
public static char BTN_NM_HELP
public static java.lang.String BTN_OPEN
public static char BTN_NM_OPEN
public static java.lang.String BTN_CLOSE
public static char BTN_NM_CLOSE
public static java.lang.String BTN_EXIT
public static char BTN_NM_EXIT
public static java.lang.String BTN_CREDITS
public static char BTN_NM_CREDITS
public static java.lang.String BTN_REPORT
public static char BTN_NM_REPORT
public static java.lang.String BTN_BACK
public static char BTN_NM_BACK
public static java.lang.String BTN_FORWARD
public static char BTN_NM_FORWARD
public static java.lang.String BTN_HOME
public static char BTN_NM_HOME
public static java.lang.String MNU_FILE
public static char MNU_NM_FILE
public static java.lang.String MNU_NEW
public static char MNU_NM_NEW
public static java.lang.String MNU_OPEN
public static char MNU_NM_OPEN
public static java.lang.String MNU_CLOSE
public static char MNU_NM_CLOSE
public static java.lang.String MNU_SAVE
public static char MNU_NM_SAVE
public static java.lang.String MNU_SAVEAS
public static char MNU_NM_SAVEAS
public static java.lang.String MNU_EXIT
public static char MNU_NM_EXIT
public static java.lang.String MNU_HELP
public static char MNU_NM_HELP
public static java.lang.String MNU_ABOUT
public static char MNU_NM_ABOUT
public static java.lang.String MNU_CONTENTS
public static char MNU_NM_CONTENTS
public static java.lang.String MNU_KS_CONTENTS
public static java.lang.String HINT_BTN_BACK
public static java.lang.String HINT_BTN_FORWARD
public static java.lang.String HINT_BTN_HOME
public static java.lang.String HINT_BTN_CLOSE
| Constructor Detail |
public AppConstants()
| Method Detail |
private static java.lang.String getStr(java.lang.String name,
java.lang.String alternate)
name - The subname of the key.alternate - The alternative value.
private static char getChar(java.lang.String name,
char alternate)
name - The subname of the key.alternate - The alternative value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||