Class SyllabificationComponentFactory
java.lang.Object
ca.phon.app.session.editor.view.transcript.extensions.SyllabificationComponentFactory
- All Implemented Interfaces:
ComponentFactory
View component factory for syllabification components in the transcript editor.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateComponent(AttributeSet attrs) Create a component for the given attributesReturn the previously created component (if any)voidrequestFocusAtOffset(int offset) Request focus of specific offset, meaning of offset would be determined by the component.voidFocus the 'end' of the componentvoidFocus the 'beginning' of the component
-
Field Details
-
Y_AXIS_ALIGNMENT
-
Y_AXIS_ALIGNMENT_VALUE
public static float Y_AXIS_ALIGNMENT_VALUE
-
-
Constructor Details
-
SyllabificationComponentFactory
-
-
Method Details
-
createComponent
Description copied from interface:ComponentFactoryCreate a component for the given attributes- Specified by:
createComponentin interfaceComponentFactory- Parameters:
attrs-- Returns:
- component
-
requestFocusStart
public void requestFocusStart()Description copied from interface:ComponentFactoryFocus the 'beginning' of the component- Specified by:
requestFocusStartin interfaceComponentFactory
-
requestFocusEnd
public void requestFocusEnd()Description copied from interface:ComponentFactoryFocus the 'end' of the component- Specified by:
requestFocusEndin interfaceComponentFactory
-
requestFocusAtOffset
public void requestFocusAtOffset(int offset) Description copied from interface:ComponentFactoryRequest focus of specific offset, meaning of offset would be determined by the component. If not possible should focus beginning/end of component as appropriate.- Specified by:
requestFocusAtOffsetin interfaceComponentFactory- Parameters:
offset-
-
getComponent
Description copied from interface:ComponentFactoryReturn the previously created component (if any)- Specified by:
getComponentin interfaceComponentFactory- Returns:
- component
-