Public Member Functions | |
void | onClick (int x, int y) |
void | onImageClicked (int x, int y, String src) |
void | onLinkClicked (int x, int y, String href) |
void | onLinkForLinearNoClicked (int x, int y, String href) |
boolean | ignoreLink (int x, int y, String href) |
void | onIFrameClicked (int x, int y, String src) |
void | onVideoClicked (int x, int y, String src) |
void | onAudioClicked (int x, int y, String src) |
ClickListner is the interface for user single touch in screen.
boolean com.skytree.epub.ClickListener.ignoreLink | ( | int | x, |
int | y, | ||
String | href | ||
) |
called whenever user taps on the link to ask whether the link should be ignored or not.
x | x coodination at click point. |
y | y coodination at click point. |
href | the href of link, |
void com.skytree.epub.ClickListener.onAudioClicked | ( | int | x, |
int | y, | ||
String | src | ||
) |
called when video tag is clicked
x | x coodination at click point. |
y | y coodination at click point. |
src | the source of media |
void com.skytree.epub.ClickListener.onClick | ( | int | x, |
int | y | ||
) |
called when user touches some place in screen.
x | x coodination at click point. |
y | y coodination at click point. |
void com.skytree.epub.ClickListener.onIFrameClicked | ( | int | x, |
int | y, | ||
String | src | ||
) |
called when user taps on iframe
x | x coodination at click point. |
y | y coodination at click point. |
src | the source of iframe |
void com.skytree.epub.ClickListener.onImageClicked | ( | int | x, |
int | y, | ||
String | src | ||
) |
called when user taps on the image
x | x coodination at click point. |
y | y coodination at click point. |
src | the src(url) of image, developer can show the image in ImageView or something by url. |
void com.skytree.epub.ClickListener.onLinkClicked | ( | int | x, |
int | y, | ||
String | href | ||
) |
called when user taps on the link
x | x coodination at click point. |
y | y coodination at click point. |
href | the href of link, developer can make the routines to jump to specific position or load another web page by the href. |
void com.skytree.epub.ClickListener.onLinkForLinearNoClicked | ( | int | x, |
int | y, | ||
String | href | ||
) |
called when the link to itemRef of which linear property is 'no' is clicked
x | x coodination at click point. |
y | y coodination at click point. |
src | the href of link, |
void com.skytree.epub.ClickListener.onVideoClicked | ( | int | x, |
int | y, | ||
String | src | ||
) |
called when video tag is clicked
x | x coodination at click point. |
y | y coodination at click point. |
src | the source of media |