| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IVoiceBrowserController
Interface of voice browser controller. The instance is available from
 VoiceBrowserControllerFactory.
VoiceBrowserControllerFactory| Field Summary | |
|---|---|
| static int | DO_BOTTOM_OF_PAGECommand: move to bottom of page | 
| static int | DO_CURR_ELEMENTCommand: revisit current element | 
| static int | DO_CURR_LINECommand: revisit current line | 
| static int | DO_CURR_LINKCommand: revisit current link | 
| static int | DO_LINK_JUMPCommand: invoke link jump | 
| static int | DO_NEXT_10LINECommand: move 10 lines forward | 
| static int | DO_NEXT_LINECommand: move to next line | 
| static int | DO_NEXT_LINKCommand: move to next link | 
| static int | DO_PLAYCommand: start continuous reading | 
| static int | DO_PREV_10LINECommand: move 10 lines backward | 
| static int | DO_PREV_LINECommand: move to previous line | 
| static int | DO_PREV_LINKCommand: move to previous link | 
| static int | DO_STOPCommand: stop reading | 
| static int | DO_TOP_OF_PAGECommand: move to top of page | 
| static int | HPR_MODEHomePage Reader simulation mode | 
| static int | SCREEN_READER_MODEScreen reader simulation mode | 
| Method Summary | |
|---|---|
|  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. | 
| Field Detail | 
|---|
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
| Method Detail | 
|---|
void setMode(int mode)
mode - HPR_MODE or SCREEN_READER_MODEvoid setDocument(Document document)
document - target DocumentString doCommand(int command)
command - ID of commands
IPacketCollection getPacketCollection()
void addView(IVoiceBrowserView view)
view - target viewIVoiceBrowserViewvoid removeView(IVoiceBrowserView view)
view - target viewvoid addSelectionObserver(SelectionObserver observer)
observer - target SelectionObserverSelectionObservervoid removeSelectionObserver(SelectionObserver observer)
observer - target SelectionObservervoid addCursorListener(CursorListener listener)
listener - target CursorListenerCursorListenervoid removeCursorListener(CursorListener listener)
listener - target CursorListenervoid setSpeechControl(ITTSEngine ttsEngine)
ttsEngine - target TTS engine| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||