public interface NLSBundleInfo
Modifier and Type | Field and Description |
---|---|
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_FORTITLE |
static int |
TEXTREPLACE_FORTOCANCHOR |
Modifier and Type | Method and Description |
---|---|
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. |
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
static final int TEXTREPLACE_FORTITLE
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,TEXTREPLACE_FORCOLUMN and TEXTREPLACE_FORTITLEoriginText
- 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()