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 TypeMethodDescriptionvoid
appendTiersHeader
(TranscriptBatchBuilder batchBuilder) Gets a list ofDefaultStyledDocument.ElementSpec
that contains the data for the tiers headervoid
install
(TranscriptEditor editor) void
Updates the date header when the session date changesvoid
Updates 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:
install
in interfaceTranscriptEditorExtension
-
startSession
- Specified by:
startSession
in interfaceInsertionHook
- Overrides:
startSession
in classDefaultInsertionHook
-
appendTiersHeader
Gets a list ofDefaultStyledDocument.ElementSpec
that 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
-