Class HeaderTierExtension
java.lang.Object
ca.phon.app.session.editor.view.transcript.DefaultInsertionHook
ca.phon.app.session.editor.view.transcript.extensions.HeaderTierExtension
- All Implemented Interfaces:
TranscriptEditorExtension,InsertionHook
An extension that provides header tier support to the
TranscriptEditor-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendTiersHeader(TranscriptBatchBuilder batchBuilder) Gets a list ofDefaultStyledDocument.ElementSpecthat contains the data for the tiers headervoidinstall(TranscriptEditor editor) voidUpdates the date header when the session date changesvoidUpdates the tiers header when there is a change to the tier viewMethods inherited from class ca.phon.app.session.editor.view.transcript.DefaultInsertionHook
batchInsertString, endComment, endGem, endHeader, endHeaderLine, endRecord, endRecordHeader, endSession, endTier, endTranscript, startComment, startGem, startHeader, startHeaderLine, startRecord, startRecordHeader, startTier, startTranscript, tierRemoved
-
Field Details
-
HEADERS_VISIBLE
- See Also:
-
DEFAULT_HEADERS_VISIBLE
public static final boolean DEFAULT_HEADERS_VISIBLE- See Also:
-
-
Constructor Details
-
HeaderTierExtension
public HeaderTierExtension()
-
-
Method Details
-
install
- Specified by:
installin interfaceTranscriptEditorExtension
-
startSession
- Specified by:
startSessionin interfaceInsertionHook- Overrides:
startSessionin classDefaultInsertionHook
-
appendTiersHeader
Gets a list ofDefaultStyledDocument.ElementSpecthat contains the data for the tiers header -
updateTiersHeader
Updates the tiers header when there is a change to the tier view- Parameters:
event- the event that caused the change to the tier view
-
updateDateHeader
Updates the date header when the session date changes- Parameters:
event- the event that caused the change to the session date
-