Conforms to NSObject
Declared in SLTWSingleLineWidgetDelegate.h

Overview

SLTWSingleLineWidgetDelegate.

Instance Methods

singleLineWidget:didChangeText:intermediate:

Called when the text changes. The text returned by this callback may be intermediate, which means that it can change again in the near future. Text is intermediate as long as the widget has some ink that has not been processed yet.

- (void)singleLineWidget:(SLTWSingleLineWidget *)sender didChangeText:(NSString *)text intermediate:(BOOL)intermediate

Parameters

sender

Widget for which text changes.

text

String representation of the text.

intermediate

true if the text is an intermediate handwriting recognition result, false if the text is stable.

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidget:didConfigureWithSuccess:

Called when handwriting configuration ends. In case of failure, you may retrieve more information by calling either {@link #errorCode} or {@link #errorString}.

- (void)singleLineWidget:(SLTWSingleLineWidget *)sender didConfigureWithSuccess:(BOOL)success

Parameters

sender

Widget for which configuration is done.

success

true if configuration succeeded, false otherwise.

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidget:didDetectEraseGestureStart:end:

Called when an erase gesture is detected.

- (void)singleLineWidget:(SLTWSingleLineWidget *)sender didDetectEraseGestureStart:(int)start end:(int)end

Parameters

sender

Widget that has detected the gesture.

start

Character index of the start of the range covered by the gesture.

end

Character index one past the end of the range covered by the gesture .

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidget:didDetectInsertGestureAtIndex:

Called when an insert gesture is detected.

- (void)singleLineWidget:(SLTWSingleLineWidget *)sender didDetectInsertGestureAtIndex:(int)index

Parameters

sender

Widget that has detected the gesture.

index

Character index at which gesture is detected.

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidget:didDetectJoinGestureStart:end:

Called when a join gesture is detected.

- (void)singleLineWidget:(SLTWSingleLineWidget *)sender didDetectJoinGestureStart:(int)start end:(int)end

Parameters

sender

Widget that has detected the gesture.

start

Character index of the start of the range covered by the gesture.

end

Character index one past the end of the range covered by the gesture.

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidget:didDetectLongPressAtIndex:

Called when a long press gesture is detected.

- (void)singleLineWidget:(SLTWSingleLineWidget *)sender didDetectLongPressAtIndex:(int)index

Parameters

sender

Widget that has detected the gesture.

index

Character index at which gesture is detected.

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidget:didDetectOverwriteStart:end:

Called when an overwrite gesture is detected.

- (void)singleLineWidget:(SLTWSingleLineWidget *)sender didDetectOverwriteStart:(int)start end:(int)end

Parameters

sender

Widget that has detected the gesture.

start

Character index of the start of the range covered by the gesture.

end

Character index one past the end of the range covered by the gesture .

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidget:didDetectReturnGestureAtIndex:

Called when a return gesture is detected.

- (void)singleLineWidget:(SLTWSingleLineWidget *)sender didDetectReturnGestureAtIndex:(int)index

Parameters

sender

Widget that has detected the gesture.

index

Character index at which gesture is detected.

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidget:didDetectSelectGestureStart:end:

Called when a select gesture is detected.

- (void)singleLineWidget:(SLTWSingleLineWidget *)sender didDetectSelectGestureStart:(int)start end:(int)end

Parameters

sender

Widget that has detected the gesture.

start

Character index of the start of the range covered by the gesture.

end

Character index one past the end of the range covered by the gesture .

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidget:didDetectSingleTapAtIndex:

Called when a single tap gesture is detected.

- (void)singleLineWidget:(SLTWSingleLineWidget *)sender didDetectSingleTapAtIndex:(int)index

Parameters

sender

Widget that has detected the gesture.

index

Character index at which gesture is detected.

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidget:didDetectUnderlineGestureStart:end:

Called when an underline gesture is detected.

- (void)singleLineWidget:(SLTWSingleLineWidget *)sender didDetectUnderlineGestureStart:(int)start end:(int)end

Parameters

sender

Widget that has detected the gesture.

start

Character index of the start of the range covered by the gesture.

end

Character index one past the end of the range covered by the gesture .

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidgetPenAbort:

Called when the user aborts writing.

- (void)singleLineWidgetPenAbort:(SLTWSingleLineWidget *)sender

Parameters

sender

Widget for which user aborts writing.

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidgetPenDown:didCaptureInfo:

Called when the user starts writing.

- (void)singleLineWidgetPenDown:(SLTWSingleLineWidget *)sender didCaptureInfo:(IMCaptureInfo *)captureInfo

Parameters

sender

Widget for which user starts writing.

captureInfo

Coordinates and other information about touch sample.

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidgetPenMove:didCaptureInfo:

Called when the user is writing.

- (void)singleLineWidgetPenMove:(SLTWSingleLineWidget *)sender didCaptureInfo:(IMCaptureInfo *)captureInfo

Parameters

sender

Widget for which user is writing.

captureInfo

Coordinates and other information about touch sample.

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidgetPenUp:didCaptureInfo:

Called when the user ends writing.

- (void)singleLineWidgetPenUp:(SLTWSingleLineWidget *)sender didCaptureInfo:(IMCaptureInfo *)captureInfo

Parameters

sender

Widget for which user ends writing.

captureInfo

Coordinates and other information about touch sample.

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidgetUserScroll:

Called when the user is scrolling the widget.

- (void)singleLineWidgetUserScroll:(SLTWSingleLineWidget *)sender

Parameters

sender

Widget for which user is scrolling.

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidgetUserScrollBegin:

Called when the user starts scrolling the widget.

- (void)singleLineWidgetUserScrollBegin:(SLTWSingleLineWidget *)sender

Parameters

sender

Widget for which user starts scrolling.

Declared In

SLTWSingleLineWidgetDelegate.h

singleLineWidgetUserScrollEnd:

Called when the user finishes scrolling the widget.

- (void)singleLineWidgetUserScrollEnd:(SLTWSingleLineWidget *)sender

Parameters

sender

Widget for which user finishes scrolling.

Declared In

SLTWSingleLineWidgetDelegate.h