|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.nite.gui.util.AbstractCallableToolConfig
public class AbstractCallableToolConfig
AbstractCallableToolConfig subclasses define all the different
settings needed in the abstract callable tool class. Subclasses of
this config class can define hardcoded settings (things that the
user should NOT be able to modify, such as whether you are allowed
to select text from multiple agents) and customizable settings
(through the nxtConfig.xml file, see also the NXTConfig
class.).
By overriding this class you can switch a setting from being
user-configurable to being hardcoded and vice versa.
The best example of the different possibilities of these
configurations is given by the DACoderConfig subclass, which shows
both the use of hardcoded settings and user-customizable settings
(e.g. name of dialogue act elements).
See also NXTConfig
| Constructor Summary | |
|---|---|
AbstractCallableToolConfig()
|
|
| Method Summary | |
|---|---|
void |
clearCachedValues()
Clears any cached values. |
boolean |
getAllowAnnotationSelect()
This boolean determines whether you can select annotation elements. |
boolean |
getAllowMultiAgentSelect()
If true, user can select a span of text, or set of annotation elements, that contains more than one agent's data. |
boolean |
getAllowTranscriptSelect()
This boolean determines whether you can select speech transcription elements. |
java.lang.String |
getApplicationName()
Default: applicationtitle attribute in guisettings |
java.util.Set |
getDisplayedAnnotationNames()
|
java.lang.String |
getHelpSetName()
|
NXTConfig |
getNXTConfig()
Returns the config object. |
java.lang.String |
getNXTConfigRootName()
Override if you need other rootname |
java.lang.String |
getSegmentationElementName()
Default: segmentationelementname attribute in corpussettings |
java.lang.String |
getSegmentToTextAttribute()
Default: transcriptionattribute attribute in corpussettings |
TranscriptionToTextDelegate |
getSegmentToTextDelegate()
Default: new instance of class defined in segmenttextdelegateclassname attribute in corpussettings |
java.lang.String |
getTranscriptionAttribute()
Default: transcriptionattribute attribute in corpussettings |
java.lang.String |
getTranscriptionLayerName()
Default: transcriptionlayername attribute in corpussettings |
TranscriptionToTextDelegate |
getTranscriptionToTextDelegate()
Default: new instance of class defined in transcriptiondelegateclassname attribute in corpussettings |
int |
getWordlevelSelectionType()
This String determines what units are selectable on the speech transcriptions (assuming transcriptselection is not false). |
void |
initDisplayedAnnotationNames()
Initializes value from settings... |
void |
loadConfig(java.lang.String newFile)
Set the file name of the config file. |
void |
reloadConfig()
Reload the current config file. |
void |
setCorpusSettings(java.lang.String corpussets)
set the name of the corpus-settings we will use |
void |
setGUISettings(java.lang.String guisets)
set the name of the gui-settings we will use |
void |
setMetaDataFile(java.lang.String newFile)
Set the file name of the metadata file. |
boolean |
showLogWindows()
showlogwindow attribute in guisettings |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractCallableToolConfig()
| Method Detail |
|---|
public void clearCachedValues()
public NXTConfig getNXTConfig()
public java.lang.String getNXTConfigRootName()
public void loadConfig(java.lang.String newFile)
throws java.io.IOException,
org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public void reloadConfig()
throws java.io.IOException,
org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXExceptionpublic void setMetaDataFile(java.lang.String newFile)
public java.lang.String getSegmentationElementName()
public java.lang.String getTranscriptionLayerName()
public java.lang.String getTranscriptionAttribute()
public TranscriptionToTextDelegate getTranscriptionToTextDelegate()
public TranscriptionToTextDelegate getSegmentToTextDelegate()
public java.lang.String getSegmentToTextAttribute()
public java.lang.String getApplicationName()
public boolean showLogWindows()
public void setCorpusSettings(java.lang.String corpussets)
public void setGUISettings(java.lang.String guisets)
public void initDisplayedAnnotationNames()
public java.util.Set getDisplayedAnnotationNames()
public int getWordlevelSelectionType()
public boolean getAllowTranscriptSelect()
default true.
See also the general documentation on NTranscriptionView selection
public boolean getAllowAnnotationSelect()
default true.
See also the general documentation on NTranscriptionView selection.
public boolean getAllowMultiAgentSelect()
default false.
See also the general documentation on NTranscriptionView selection.
public java.lang.String getHelpSetName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||