SelectionListener is the interface to handle for text selection. startRect is the first Rectangle for the selected area. lastRect is the last Rectagle for the selected area. highlight is the Highlight object holding the information about selected area.
void com.skytree.epub.SelectionListener.selectionCancelled |
( |
| ) |
|
called when selection is cancelled.
void com.skytree.epub.SelectionListener.selectionChanged |
( |
Highlight |
highlight, |
|
|
Rect |
startRect, |
|
|
Rect |
endRect |
|
) |
| |
called when selection is ended.
- Parameters
-
highlight | Hihglight object which holds information about selected area. |
startRect | Rect object which is the first Rectangle of the highlight object |
endRect | Rect object which is the last Rectangle of the highlight object |
void com.skytree.epub.SelectionListener.selectionEnded |
( |
Highlight |
highlight, |
|
|
Rect |
startRect, |
|
|
Rect |
endRect |
|
) |
| |
called when selection is ended.
- Parameters
-
highlight | Hihglight object which holds information about selected area. |
startRect | Rect object which is the first Rectangle of the highlight object |
endRect | Rect object which is the last Rectangle of the highlight object |
void com.skytree.epub.SelectionListener.selectionStarted |
( |
Highlight |
highlight, |
|
|
Rect |
startRect, |
|
|
Rect |
endRect |
|
) |
| |
called when selection is ended.
- Parameters
-
highlight | Hihglight object which holds information about selected area. |
startRect | Rect object which is the first Rectangle of the highlight object |
endRect | Rect object which is the last Rectangle of the highlight object |
The documentation for this interface was generated from the following file:
- /Users/skytree/Documents/Projects/workspace/SkyReader/src/com/skytree/epub/SelectionListener.java