Interface IExtendable
- All Known Subinterfaces:
OrthographyAnnotation,OrthographyElement,PhonScript,Project
- All Known Implementing Classes:
AboutPanel,AbstractOrthographyElement,AbstractProject,AbstractWordElement,Action,AddParticipantEdit,AddRecordEdit,AddTierEdit,AddTimelineTierEdit,AddTimelineTierIntervalEdit,AddTranscriptElementEdit,AlignmentMarker,AnalysisWizard,AnnotatedOrthographyElement,AnonymizeParticipantInfoWizard,AudioFileLongSound,BasicScript,BreadcrumbWizardFrame,BufferPanel,BufferWindow,CaDelimiter,CaElement,ChangeCommentEdit,ChangeCommentTypeEdit,ChangeGemEdit,ChangeGemTypeEdit,ChangeSpeakerEdit,CheckWizard,CheckWizardStep1,ColorPaletteWindow,Comment,CommonModuleFrame,CompoundPhone,CompoundWord,CompoundWordMarker,CompoundWordMarker,Contraction,CorpusTemplateEditor,CSVExportWizard,CSVImportWizard,DeleteRecordEdit,DeleteTranscriptElementEdit,DeriveSessionWizard,DesktopProject,DetectorResult,Diacritic,DividedEditorView,Duration,EditorView,EditSessionMetadata,EmbeddedExternalEdit,Error,Event,ExportWizard,ExtendableObject,ExtensionSupport,Freecode,Gem,GitCommitWizard,GitProgressBuffer,GraspTierData,GroupAnnotation,Happening,HarmonyDetectorResult,ImportWizard,InternalMedia,IntervalTier,IntervalTiers,IntonationGroup,IntraWordPause,IPADictionary,IPADictionaryLibrary,IPADictionaryView,IPAElement,IPALookupEdit,IpaMapFrame,IPATranscript,Italic,ITRWizard,LazyQueryScript,Linker,Linker,LocalProject,LogViewer,LongFeature,LongSound,Marker,MediaLocationEdit,MediaPlayerEditorView,MediaPlayerViewEdit,MediaSegment,MergeSessionStep1,MergeSessionStep2,MetathesisDetectorResult,MorElement,MorTerminator,MorTierData,MorWord,MorWordCompound,MoveRecordEdit,MoveTierEdit,MoveTimelineTierIntervalEdit,MoveTranscriptElementEdit,NodeWizard,Nonvocal,OpgraphEditor,Orthography,OrthographyBuilder,OrthoGroup,OtherSpokenEvent,Overlap,OverlapPoint,Participant,Participants,ParticipantsView,ParticipantUndoableEdit,Pause,Pause,Phone,PhoneMap,PhoneticGroup,PhoneticGroupMarker,PhonexMatcherReference,Postcode,ProjectFrame,ProjectParticpantsWindow,ProjectTreeWindow,ProjectWindow,Prosody,QueryAndReportWizard,QueryScript,QueryScriptLibrary,Quotation,Record,Records,RecordSegmentEdit,RemoveParticipantEdit,RemoveTierEdit,RemoveTimelineTierEdit,RemoveTimelineTierIntervalEdit,Replacement,ReportTableExportDialog,ReportTreeToHTMLDialog,ReportWizard,ReportWizard,ResultSetEditor,Sandhi,ScTypeEdit,SearchView,Separator,Session,SessionCheckView,SessionCheckWizard,SessionDateEdit,SessionEditor,SessionEditorSelection,SessionEditorWindow,SessionFactory,SessionLanguageEdit,SessionPath,SessionToHTMLWizard,SessionUndoableEdit,SessionValidator,ShadowProject,Shortening,ShowHideViewEdit,SimpleEditor,SimpleEditorPanel,SpeechAnalysisEditorView,StressMarker,SyllabificationAlignmentEditorView,SyllabifierChangeEdit,SyllabifierLibrary,SyllabifyEdit,SyllableBoundary,TagMarker,Terminator,Tier,TierBlindEdit,TierComment,TierData,TierDescription,TierDescriptions,TierEdit,TierInternalMedia,TierManagementView,TierNameEdit,TierString,TierViewEdit,TierViewItem,TierViewItemEdit,TimelineView,ToggleDiphthongEdit,ToggleTierAlignedEdit,ToneMarker,ToneNumber,Transcriber,Transcribers,Transcript,TranscriptDocument,TranscriptEditor,TranscriptView,Underline,UnifiedProjectWindow,UtteranceLanguage,ValidationEvent,VideoPositionAndSizeEdit,VideoVisibleEdit,WelcomeWindow,WizardFrame,WizardStep,Word,WordBoundary,WordText
public interface IExtendable
Adds the ability to add/remove capabilites to an
object that implements the ICapable interface.
-
Method Summary
Modifier and TypeMethodDescription<T> TgetExtension(Class<T> cap) Get the requested extension if available.Return all extension types supported<T> TputExtension(Class<T> cap, T impl) Add a new extension.<T> TremoveExtension(Class<T> cap) Remove a capability.
-
Method Details
-
getExtensions
-
getExtension
Get the requested extension if available.- Parameters:
class- of the requested capability- Returns:
- the capability object or
nullif the cability is not available
-
putExtension
Add a new extension.- Parameters:
cap- the extension to add- Returns:
- the added extension implementation
-
removeExtension
-