public interface IVoiceBrowserController
VoiceBrowserControllerFactory
.VoiceBrowserControllerFactory
Modifier and Type | Field and Description |
---|---|
static int |
DO_BOTTOM_OF_PAGE
Command: move to bottom of page
|
static int |
DO_CURR_ELEMENT
Command: revisit current element
|
static int |
DO_CURR_LINE
Command: revisit current line
|
static int |
DO_CURR_LINK
Command: revisit current link
|
static int |
DO_LINK_JUMP
Command: invoke link jump
|
static int |
DO_NEXT_10LINE
Command: move 10 lines forward
|
static int |
DO_NEXT_LINE
Command: move to next line
|
static int |
DO_NEXT_LINK
Command: move to next link
|
static int |
DO_PLAY
Command: start continuous reading
|
static int |
DO_PREV_10LINE
Command: move 10 lines backward
|
static int |
DO_PREV_LINE
Command: move to previous line
|
static int |
DO_PREV_LINK
Command: move to previous link
|
static int |
DO_STOP
Command: stop reading
|
static int |
DO_TOP_OF_PAGE
Command: move to top of page
|
static int |
HPR_MODE
HomePage Reader simulation mode
|
static int |
SCREEN_READER_MODE
Screen reader simulation mode
|
Modifier and Type | Method and Description |
---|---|
void |
addCursorListener(CursorListener listener)
Add CursorListener
|
void |
addSelectionObserver(SelectionObserver observer)
Add SelectionObserver
|
void |
addView(IVoiceBrowserView view)
Add voice browser text view
|
String |
doCommand(int command)
Do command.
|
IPacketCollection |
getPacketCollection()
Get packet collection generated from the target Document
|
void |
removeCursorListener(CursorListener listener)
Remove CursorListener.
|
void |
removeSelectionObserver(SelectionObserver observer)
Remove SelectionObserver.
|
void |
removeView(IVoiceBrowserView view)
Remove voice browser text view
|
void |
setDocument(Document document)
Set target Document to voice browser controller
|
void |
setMode(int mode)
Set voice browser simulation mode
|
void |
setSpeechControl(ITTSEngine ttsEngine)
Set Text To Speech (TTS) Engine to enable speech output.
|
static final int DO_PREV_LINE
static final int DO_CURR_LINE
static final int DO_NEXT_LINE
static final int DO_PREV_LINK
static final int DO_CURR_LINK
static final int DO_NEXT_LINK
static final int DO_PREV_10LINE
static final int DO_NEXT_10LINE
static final int DO_CURR_ELEMENT
static final int DO_TOP_OF_PAGE
static final int DO_BOTTOM_OF_PAGE
static final int DO_PLAY
static final int DO_STOP
static final int DO_LINK_JUMP
static final int HPR_MODE
static final int SCREEN_READER_MODE
void setMode(int mode)
mode
- HPR_MODE or SCREEN_READER_MODEvoid setDocument(Document document)
document
- target DocumentString doCommand(int command)
command
- ID of commandsIPacketCollection getPacketCollection()
void addView(IVoiceBrowserView view)
view
- target viewIVoiceBrowserView
void removeView(IVoiceBrowserView view)
view
- target viewvoid addSelectionObserver(SelectionObserver observer)
observer
- target SelectionObserverSelectionObserver
void removeSelectionObserver(SelectionObserver observer)
observer
- target SelectionObservervoid addCursorListener(CursorListener listener)
listener
- target CursorListenerCursorListener
void removeCursorListener(CursorListener listener)
listener
- target CursorListenervoid setSpeechControl(ITTSEngine ttsEngine)
ttsEngine
- target TTS engine