Check whether point of current document belongs to bookmark. @param x is X coordinate in document window @param y is Y coordinate in document window @return bookmark if point belongs to bookmark, null otherwise
(int x, int y)
| 334 | * @return bookmark if point belongs to bookmark, null otherwise |
| 335 | */ |
| 336 | public Bookmark checkBookmark(int x, int y) { |
| 337 | synchronized(mutex) { |
| 338 | Bookmark dstBookmark = new Bookmark(); |
| 339 | if (checkBookmarkInternal(x, y, dstBookmark)) { |
| 340 | return dstBookmark; |
| 341 | } |
| 342 | return null; |
| 343 | } |
| 344 | } |
| 345 | |
| 346 | |
| 347 | /** |
no test coverage detected