Class TVB.remote
TVBLOB's remote control class; initialize the Remote Control
Properties
btns
- final object
Contains the list of all the buttons that belongs to all areas
Contains the list of all the buttons that belongs to the COLOR area
Contains the list of all the buttons that belongs to the LETTERS area
Contains the list of all the buttons that belongs to the MORE area
Contains the list of all the buttons that belongs to the NAV area
Contains the list of all the buttons that belongs to the VCR area
Methods
Boolean
destroy
(
)
Destroys the remote control and release
all the buttons to the default behaviour
void
disableBack
(
)
Disable the use of the back button.
void
disableGreenRefresh
(
)
Disable the use of the green button to refresh
current page.
void
disableLeftRight
(
)
Disable the use of the left / right buttons in the
current page.
void
disableLetters
(
)
Disable the use of letter keys in the
current page.
void
disableNav
(
)
Disable the use of the nav buttons in the
current page.
void
disableOk
(
)
Disable the use of the Ok buttons in the
current page.
void
disableUpDown
(
)
Disable the use of the up / down buttons in the
current page.
void
disableVcr
(
)
Disable the use of vcr keys in the
current page.
void
enableBack
(
)
Enables the use of the back button.
void
enableGreenRefresh
(
)
Enables the use of the green button to refresh
current page.
void
enableLeftRight
(
)
Enable the use of the left / right buttons in the
current page.
void
enableLetters
(
)
Enable the use of letter keys in the
current page.
void
enableNav
(
)
Enable the use of the nav buttons in the
current page.
void
enableOk
(
)
Enable the use of the OK buttons in the
current page.
void
enableUpDown
(
)
Enable the use of the up / down buttons in the
current page.
void
enableVcr
(
)
Enable the use of vcr keys in the
current page.
Boolean
getBackStatus
(
)
Returns true if the back button works
platform-like, false otherwise.
Boolean
getGreenRefreshStatus
(
)
Returns true if the page can be refreshed
automatically by pressing the green button
on the remote control
- Returns:
Boolean
- true: green button automatically refresh page, false: doesn't
String
getLastButtonPressed
(
)
Returns the name of the last button
that has been pushed on the remote control.
- Returns:
String
- The name of the button
void
keyboard
(
keyunicode
)
Handles keyboard buttons
- Parameters:
-
keyunicode
<Integer>
The unicode of a keyboard button
- Returns:
void