|
VTT Java 2010 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nlm.nls.vtt.Model.ConfigObj
public class ConfigObj
This class provides the Java object for configured variables.
History:
Constructor Summary | |
---|---|
ConfigObj()
Create a ConfigObj Java object with default values. |
|
ConfigObj(ConfigObj configObj)
Create a ConfigObj Java object by specifying a ConfigObj object. |
|
ConfigObj(Configuration conf)
Create a ConfigObj Java object by specifying a configuration object. |
Method Summary | |
---|---|
int |
GetBaseFontSize()
Get configuration variables: the base font size. |
java.io.File |
GetDocDir()
Get configuration variables: VTT documents directory. |
int |
GetFilePathDisplayLength()
Get configuration variables: the display length of file path. |
int |
GetLengthSize()
Get configuration variables: the size of field for length. |
int |
GetOffsetSize()
Get configuration variables: the size of field for offset. |
Tag |
GetSelectMarkupTag()
Get configuration variables: the tag for the selected markup. |
int |
GetTagCategorySize()
Get configuration variables: the size of field for tag category. |
java.io.File |
GetTagFile()
Get configuration variables: VTT documents directory. |
int |
GetTagNameSize()
Get configuration variables: the size of field for tag name. |
java.lang.String |
GetUserName()
Get configuration variables: VTT user name. |
java.lang.String |
GetVttDir()
Get configuration variables: VTT top directory. |
int |
GetVttFormat()
Get configuration variables: VTT format. |
int |
GetZoomFactor()
Get configuration variables: the zoom in/out factor. |
boolean |
IsOverwriteSelectBackgroundColor()
Get configuration variables: the boolean flag of overwriting background color on select markup. |
boolean |
IsOverwriteSelectBold()
Get configuration variables: the boolean flag of overwriting bold on select markup. |
boolean |
IsOverwriteSelectFont()
Get configuration variables: the boolean flag of overwriting font on select markup. |
boolean |
IsOverwriteSelectItalic()
Get configuration variables: the boolean flag of overwriting italic on select markup. |
boolean |
IsOverwriteSelectSize()
Get configuration variables: the boolean flag of overwriting size on select markup. |
boolean |
IsOverwriteSelectTextColor()
Get configuration variables: the boolean flag of overwriting text color on select markup. |
boolean |
IsOverwriteSelectUnderline()
Get configuration variables: the boolean flag of overwriting underline on select markup. |
boolean |
IsUseTextTagForNotDisplaySelectMarkup()
Get configuration variables: the boolean flag of use text tag for not display select markup. |
static void |
SaveFile(java.io.File configFile,
ConfigObj configObj)
Save configObj to file. |
void |
SetBaseFontSize(int baseFontSize)
Set configuration variables: the base font size. |
void |
SetDocDir(java.io.File docDir)
Set configuration variables: VTT documents directory. |
void |
SetFilePathDisplayLength(int filePathDisplayLength)
Set configuration variables: the display length of file path. |
void |
SetLengthSize(int lengthSize)
Set configuration variables: the size of field for length. |
void |
SetOffsetSize(int offsetSize)
Set configuration variables: the size of field for offset. |
void |
SetOverwriteSelectBackgroundColor(boolean overwriteSelectBackgroundColor)
Set configuration variables: the boolean flag of overwriting background color on select markup. |
void |
SetOverwriteSelectBold(boolean overwriteSelectBold)
Set configuration variables: the boolean flag of overwriting bold on select markup. |
void |
SetOverwriteSelectFont(boolean overwriteSelectFont)
Set configuration variables: the boolean flag of overwriting font on select markup. |
void |
SetOverwriteSelectItalic(boolean overwriteSelectItalic)
Set configuration variables: the boolean flag of overwriting italic on select markup. |
void |
SetOverwriteSelectSize(boolean overwriteSelectSize)
Set configuration variables: the boolean flag of overwriting size on select markup. |
void |
SetOverwriteSelectTextColor(boolean overwriteSelectTextColor)
Set configuration variables: the boolean flag of overwriting text color on select markup. |
void |
SetOverwriteSelectUnderline(boolean overwriteSelectUnderline)
Set configuration variables: the boolean flag of overwriting underline on select markup. |
void |
SetSelectMarkupTag(Tag selectMarkupTag)
Set configuration variables: the tag for the selected markup |
void |
SetTagCategorySize(int tagCategorySize)
Set configuration variables: the size of field for tag category. |
void |
SetTagFile(java.io.File tagFile)
Set configuration variables: VTT Tag file. |
void |
SetTagNameSize(int tagNameSize)
Set configuration variables: the size of field for tag name. |
void |
SetUserName(java.lang.String userName)
Set configuration variables: VTT user name. |
void |
SetUseTextTagForNotDisplaySelectMarkup(boolean useTextTagForNotDisplaySelectMarkup)
Set configuration variables: the boolean flag of use text tag for not display select markup. |
void |
SetVarsFromConfig(Configuration conf)
Set configuration variables by specifying a Configuration object. |
void |
SetVarsFromConfigObj(ConfigObj configObj)
Set configuration variables by specifying a ConfigObj object. |
void |
SetVttDir(java.lang.String vttDir)
Set configuration variables: VTT top directory. |
void |
SetVttFormat(int vttFormat)
Set configuration variables: VTT format. |
void |
SetZoomFactor(int zoomFactor)
Set configuration variables: the zoom in/out factor. |
java.lang.String |
ToString()
Convert the configObj to String |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigObj()
public ConfigObj(Configuration conf)
conf
- the configuration objectpublic ConfigObj(ConfigObj configObj)
configObj
- the ConfigObj objectMethod Detail |
---|
public void SetVarsFromConfigObj(ConfigObj configObj)
configObj
- the ConfigObj objectpublic void SetVarsFromConfig(Configuration conf)
conf
- the Configuration objectpublic void SetVttDir(java.lang.String vttDir)
vttDir
- the absolute path of VTT top directorypublic void SetDocDir(java.io.File docDir)
docDir
- the absolute path of VTT documents directorypublic void SetTagFile(java.io.File tagFile)
tagFile
- the absolute path of VTT Tag filepublic void SetUserName(java.lang.String userName)
userName
- the VTT user namepublic void SetVttFormat(int vttFormat)
vttFormat
- the VTT formatpublic void SetFilePathDisplayLength(int filePathDisplayLength)
filePathDisplayLength
- the display length of file pathpublic void SetBaseFontSize(int baseFontSize)
baseFontSize
- the base font sizepublic void SetZoomFactor(int zoomFactor)
zoomFactor
- the zoom factorpublic void SetOffsetSize(int offsetSize)
offsetSize
- the size of field for offsetpublic void SetLengthSize(int lengthSize)
lengthSize
- the size of field for lengthpublic void SetTagNameSize(int tagNameSize)
tagNameSize
- the size of field for tag namepublic void SetTagCategorySize(int tagCategorySize)
tagCategorySize
- the size of field for tag categorypublic void SetUseTextTagForNotDisplaySelectMarkup(boolean useTextTagForNotDisplaySelectMarkup)
useTextTagForNotDisplaySelectMarkup
- the boolean flag of use text
tag for not display select markuppublic void SetOverwriteSelectBold(boolean overwriteSelectBold)
overwriteSelectBold
- the boolean flag of overwriting bold on
select markuppublic void SetOverwriteSelectItalic(boolean overwriteSelectItalic)
overwriteSelectItalic
- the boolean flag of overwriting italic on
select markuppublic void SetOverwriteSelectUnderline(boolean overwriteSelectUnderline)
overwriteSelectUnderline
- the boolean flag of overwriting underline
on select markuppublic void SetOverwriteSelectFont(boolean overwriteSelectFont)
overwriteSelectFont
- the boolean flag of overwriting font on
select markuppublic void SetOverwriteSelectSize(boolean overwriteSelectSize)
overwriteSelectSize
- the boolean flag of overwriting size on
select markuppublic void SetOverwriteSelectTextColor(boolean overwriteSelectTextColor)
overwriteSelectTextColor
- the boolean flag of overwriting text
color on select markuppublic void SetOverwriteSelectBackgroundColor(boolean overwriteSelectBackgroundColor)
overwriteSelectBackgroundColor
- the boolean flag of overwriting
background color on select markuppublic void SetSelectMarkupTag(Tag selectMarkupTag)
selectMarkupTag
- the tag for the selected markuppublic java.lang.String GetVttDir()
public java.io.File GetDocDir()
public java.io.File GetTagFile()
public java.lang.String GetUserName()
public int GetVttFormat()
public int GetFilePathDisplayLength()
public int GetBaseFontSize()
public int GetZoomFactor()
public int GetOffsetSize()
public int GetLengthSize()
public int GetTagNameSize()
public int GetTagCategorySize()
public boolean IsUseTextTagForNotDisplaySelectMarkup()
public boolean IsOverwriteSelectBold()
public boolean IsOverwriteSelectItalic()
public boolean IsOverwriteSelectUnderline()
public boolean IsOverwriteSelectFont()
public boolean IsOverwriteSelectSize()
public boolean IsOverwriteSelectTextColor()
public boolean IsOverwriteSelectBackgroundColor()
public Tag GetSelectMarkupTag()
public static void SaveFile(java.io.File configFile, ConfigObj configObj)
configFile
- the config file to save toconfigObj
- the configObj object to be savedpublic java.lang.String ToString()
|
VTT Java 2010 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |