(int offset)
| 251 | } |
| 252 | |
| 253 | public void move(int offset) { |
| 254 | try { |
| 255 | int index = cursor; |
| 256 | BookmarkItem p1 = (BookmarkItem) getItemRef(index); |
| 257 | BookmarkItem p2 = (BookmarkItem) getItemRef(index + offset); |
| 258 | |
| 259 | itemsList.setElementAt(p1, index + offset); |
| 260 | itemsList.setElementAt(p2, index); |
| 261 | saveBookmarks(); |
| 262 | } catch (Exception e) {/* IndexOutOfBounds */ |
| 263 | |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | //#ifdef SERVICE_DISCOVERY |
| 268 | public void discoCurrent() { |
no test coverage detected