|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DisplayStrategy
DisplayStrategy implementations are used as delegates to display information annotated on speech transcriptions in a NTranscriptionView.
The single most important class in this package is the
NTranscriptionView
class.
It has been designed to display speech transcriptions from a corpus of interactions, display extra
information annotated on these transcriptions (e.g. dialogue acts or adjacency pairs)
and provide a variety of GUI interface methods for selecting transcriptions and/or
annotations.
When the basic transcription text has been displayed in the NTranscriptionView, implementations of this DisplayStrategy interface are called to alter the displayed text in order to visualize the extra annotated information. To do this three methods are defined in the interface:
init(NTranscriptionView ntv)
display(NOMElement element)
undisplay(NOMElement element)
A DisplayStrategy uses a TransToAnnoMap to determine which Transcription elements (and therefore NTextElements)
should be decorated because they represent the transcription elements for an annotation elements
(setTransToAnnoMap
).
Method Summary | |
---|---|
boolean |
display(NOMElement element)
This method is called to make the DisplayStrategy display the given element. |
void |
init(NTranscriptionView ntv)
When a new DisplayStrategy is created, this method should be called so the DisplayStrategy can perform any necessary initialization. |
void |
setTransToAnnoMap(TransToAnnoMap newmap)
|
void |
undisplay(NOMElement element)
This method provides functionality to undo the display of annotation elements, i.e. |
Method Detail |
---|
void init(NTranscriptionView ntv)
boolean display(NOMElement element)
void undisplay(NOMElement element)
void setTransToAnnoMap(TransToAnnoMap newmap)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |