Class TierChangeCaretHook
java.lang.Object
ca.phon.app.session.editor.view.transcript.TranscriptEditorCaretHookAdapter
ca.phon.app.session.editor.view.transcript.TierChangeCaretHook
- All Implemented Interfaces:
TranscriptEditorCaretHook
Hook for actions to be performed when the caret changes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbeforeSetDot(int oldDot, int newDot) Called before the caret is moved.Methods inherited from class ca.phon.app.session.editor.view.transcript.TranscriptEditorCaretHookAdapter
afterMoveCaret, afterSetDot, beforeMoveCaret, caretFrozen
-
Constructor Details
-
TierChangeCaretHook
-
-
Method Details
-
beforeSetDot
public boolean beforeSetDot(int oldDot, int newDot) Description copied from interface:TranscriptEditorCaretHookCalled before the caret is moved.- Specified by:
beforeSetDotin interfaceTranscriptEditorCaretHook- Overrides:
beforeSetDotin classTranscriptEditorCaretHookAdapter- Parameters:
oldDot- the old caret positionnewDot- the new caret position to move to- Returns:
- true if the caret should be moved, false otherwise
-