public interface MarkerMutationModel
MarkerBar
as a
mutation model.
The JMarkerBar
class notifies an implementor of the
MutationModel
about the fact, that the user is requesting a
marker to be removed or added.
MarkerBar
Modifier and Type | Method and Description |
---|---|
int |
addMarkAtPosition(int position)
Called when the user requests a mark to be inserted into
JMarkerBar . |
void |
removeMarkerAtIndex(int index)
Called when the user requests a mark to be removed from
JMarkerBar . |
void removeMarkerAtIndex(int index)
JMarkerBar
.index
- index of the mark to be removed.int addMarkAtPosition(int position)
JMarkerBar
.position
- position at which to insert the mark.