public interface VirtualBookSectionManipulation
| Modifier and Type | Method and Description |
|---|---|
long |
getMarkerLength(MarkerEvent marker)
Return the length of the marker (the length from the marker to the next
one, or the end of the virtualbook)
|
void |
insertAt(Fragment selection,
long atPosition)
insert in the book the selection at the given atPosition, this will
extend the virtualbook for inserting the region
|
java.util.List<MarkerEvent> |
listMarkers()
Return the list of markers
|
void |
removeFragment(Fragment selection)
Remove the selection from the book
|
Fragment |
selectMarker(MarkerEvent marker)
Select the marker
|
Fragment |
selectMarkers(MarkerEvent from,
MarkerEvent to)
Make a selection
|
java.util.List<MarkerEvent> listMarkers()
long getMarkerLength(MarkerEvent marker)
marker - Fragment selectMarker(MarkerEvent marker)
marker - Fragment selectMarkers(MarkerEvent from, MarkerEvent to)
from - to - void insertAt(Fragment selection, long atPosition)
selection - the selectionatPosition - the positionvoid removeFragment(Fragment selection)
selection -