Interface ComponentFactory
- All Known Implementing Classes:
AlignmentComponentFactory
,SyllabificationComponentFactory
,TranscriptionSelectorComponentFactory
public interface ComponentFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreateComponent
(AttributeSet attrs) Create a component for the given attributesReturn the previously created component (if any)void
requestFocusAtOffset
(int offset) Request focus of specific offset, meaning of offset would be determined by the component.void
Focus the 'end' of the componentvoid
Focus the 'beginning' of the component
-
Method Details
-
createComponent
Create a component for the given attributes- Parameters:
attrs
-- Returns:
- component
-
getComponent
-
requestFocusStart
void requestFocusStart()Focus the 'beginning' of the component -
requestFocusEnd
void requestFocusEnd()Focus the 'end' of the component -
requestFocusAtOffset
void requestFocusAtOffset(int offset) Request focus of specific offset, meaning of offset would be determined by the component. If not possible should focus beginning/end of component as appropriate.- Parameters:
offset
-
-