|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NLSBundleInfo
Field Summary | |
---|---|
static int |
INFOTYPE_DATAMAPPING
|
static int |
INFOTYPE_TEXTREPLACE
|
static int |
TEXTREPLACE_FORCOLUMN
|
static int |
TEXTREPLACE_FORFORMAT
|
static int |
TEXTREPLACE_FORLABEL
|
static int |
TEXTREPLACE_FORPROMPT
|
static int |
TEXTREPLACE_FORTOCANCHOR
|
Method Summary | |
---|---|
int |
getBundleUsage()
The usage of this info, which may be: INFOTYPE_TEXTREPLACE, INFOTYPE_DATAMAPPING, or INFOTYPE_DATAMAPPING + INFOTYPE_TEXTREPLACE. |
java.lang.String |
getDataMapped(java.lang.String dataValue)
This method will be called if getBundleUsage() is INFOTYPE_DATAMAPPING
or INFOTYPE_DATAMAPPING + INFOTYPE_TEXTREPLACE. |
java.lang.String[] |
getFontStyleReplace(java.lang.String fontFace,
double fs_inch)
This method will be called if getBundleUsage() is INFOTYPE_TEXTREPLACE
or INFOTYPE_DATAMAPPING + INFOTYPE_TEXTREPLACE. |
boolean |
getIsEmptyBundle()
|
java.lang.String |
getTextReplace(int replaceID,
java.lang.String originText)
This method will be called if getBundleUsage() is INFOTYPE_TEXTREPLACE
or INFOTYPE_DATAMAPPING + INFOTYPE_TEXTREPLACE. |
Field Detail |
---|
static final int INFOTYPE_TEXTREPLACE
static final int INFOTYPE_DATAMAPPING
static final int TEXTREPLACE_FORLABEL
static final int TEXTREPLACE_FORTOCANCHOR
static final int TEXTREPLACE_FORPROMPT
static final int TEXTREPLACE_FORFORMAT
static final int TEXTREPLACE_FORCOLUMN
Method Detail |
---|
int getBundleUsage()
java.lang.String getDataMapped(java.lang.String dataValue)
getBundleUsage()
is INFOTYPE_DATAMAPPING
or INFOTYPE_DATAMAPPING + INFOTYPE_TEXTREPLACE.
dataValue
- The original value.
java.lang.String getTextReplace(int replaceID, java.lang.String originText)
getBundleUsage()
is INFOTYPE_TEXTREPLACE
or INFOTYPE_DATAMAPPING + INFOTYPE_TEXTREPLACE.
replaceID
- The ID replaced by the text, which may be one of the following:
TEXTREPLACE_FORLABEL,TEXTREPLACE_FORTOCANCHOR,
TEXTREPLACE_FORPROMPT,TEXTREPLACE_FORFORMAT,
and TEXTREPLACE_FORCOLUMN.originText
-
java.lang.String[] getFontStyleReplace(java.lang.String fontFace, double fs_inch)
getBundleUsage()
is INFOTYPE_TEXTREPLACE
or INFOTYPE_DATAMAPPING + INFOTYPE_TEXTREPLACE.
fontFace
- Font face name.fs_inch
- Font size, whose unit is inch.
boolean getIsEmptyBundle()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |