public class PrefsMediator extends Object
| Constructor and Description |
|---|
PrefsMediator()
Instantiates a new prefs mediator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fieldFocusLost()
Field focus lost.
|
String |
getEncoding()
Gets the encoding.
|
String |
getInputDir()
Gets the input dir.
|
String |
getInputFileFormat()
Gets the input file format.
|
String |
getLanguage()
Gets the language.
|
Boolean |
getLenient()
Gets the lenient.
|
String |
getOutputDir()
Gets the output dir.
|
File |
getStylemapFile()
returns the new edited stylemap file.
|
String |
getTAEfile()
Gets the TA efile.
|
String |
getTAEFileNameRoot()
Gets the TAE file name root.
|
String |
getTAEPath()
get the path to the TAE that is where the StyleMap file should be written.
|
String |
getViewType()
Gets the view type.
|
String |
getXmlTag()
Gets the xml tag.
|
void |
restorePreferences()
Restore preferences.
|
void |
savePreferences()
Save preferences.
|
void |
setDocButtons(JButton run,
JButton inter,
JButton view)
Sets the doc buttons.
|
void |
setEncoding(String encoding)
Sets the encoding.
|
void |
setFileSelectors(FileSelector input,
FileSelector output,
FileSelector xml)
Sets the file selectors.
|
void |
setInputDir(String inputDir)
Sets the input dir.
|
void |
setInputFileFormat(String inputFileFormat)
Sets the input file format.
|
void |
setLanguage(String language)
Sets the language.
|
void |
setLenient(Boolean lenient)
Sets the lenient.
|
void |
setOutputDir(String outputDir)
Sets the output dir.
|
void |
setOutputDirForInteractiveMode(String outputDir,
String outputDirToSave)
Special case of setOutpuDir needed for interactive mode.
|
void |
setTAEfile(String edir)
Sets the TA efile.
|
void |
setViewType(String viewType)
Sets the view type.
|
void |
setXmlTag(String xmlTag)
Sets the xml tag.
|
public void restorePreferences()
public void savePreferences()
public String getInputDir()
public void setInputDir(String inputDir)
inputDir - The inputDir to set.public String getOutputDir()
public void setOutputDir(String outputDir)
outputDir - The outputDir to set.public void setOutputDirForInteractiveMode(String outputDir, String outputDirToSave)
outputDir - the output dir to setoutputDirToSave - the output dir to save to the preferencespublic String getTAEfile()
public String getTAEPath()
public String getTAEFileNameRoot()
public void setTAEfile(String edir)
edir - set the TAE directorypublic String getEncoding()
public void setEncoding(String encoding)
encoding - The encoding to set.public String getInputFileFormat()
public void setInputFileFormat(String inputFileFormat)
inputFileFormat - The input file format to set.public String getLanguage()
public void setLanguage(String language)
language - The language to set.public String getViewType()
public void setViewType(String viewType)
viewType - The view type to set.public String getXmlTag()
public void setXmlTag(String xmlTag)
xmlTag - The xmlTag to set.public Boolean getLenient()
public void setLenient(Boolean lenient)
lenient - The lenient to set.public File getStylemapFile()
public void setDocButtons(JButton run, JButton inter, JButton view)
run - the runinter - the interview - the viewpublic void setFileSelectors(FileSelector input, FileSelector output, FileSelector xml)
input - the inputoutput - the outputxml - the xmlpublic void fieldFocusLost()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.