Top Description Fields Constructors Methods
org.jabref.model.openoffice.rangesort

public Class RangeSortEntry<T>

extends Object
implements RangeSortable<T>
Class Inheritance
All Implemented Interfaces
org.jabref.model.openoffice.rangesort.RangeSortable, org.jabref.model.openoffice.rangesort.RangeHolder
Imports
com.sun.star.text.XTextRange

A simple implementation of RangeSortable

Field Summary

Modifier and TypeField and Description
private final T
private int
private com.sun.star.text.XTextRange

Constructor Summary

AccessConstructor and Description
public
RangeSortEntry(com.sun.star.text.XTextRange range, int indexInPosition, T content)

Method Summary

Modifier and TypeMethod and Description
public T
public int
getIndexInPosition()

Implements org.jabref.model.openoffice.rangesort.RangeSortable.getIndexInPosition.

For citation marks in footnotes this may provide order within the footnote.

public com.sun.star.text.XTextRange
getRange()

Implements org.jabref.model.openoffice.rangesort.RangeSortable.getRange.

The XTextRange

For citation marks in footnotes this may be the range of the footnote mark.

public void
setIndexInPosition(int indexInPosition)

public void
setRange(com.sun.star.text.XTextRange range)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

contentback to summary
private final T content
indexInPositionback to summary
private int indexInPosition
rangeback to summary
private com.sun.star.text.XTextRange range

Constructor Detail

RangeSortEntryback to summary
public RangeSortEntry(com.sun.star.text.XTextRange range, int indexInPosition, T content)

Method Detail

getContentback to summary
public T getContent()

Implements org.jabref.model.openoffice.rangesort.RangeSortable.getContent.

Annotations
@Override
getIndexInPositionback to summary
public int getIndexInPosition()

Implements org.jabref.model.openoffice.rangesort.RangeSortable.getIndexInPosition.

Doc from org.jabref.model.openoffice.rangesort.RangeSortable.getIndexInPosition.

For citation marks in footnotes this may provide order within the footnote.

Annotations
@Override
getRangeback to summary
public com.sun.star.text.XTextRange getRange()

Implements org.jabref.model.openoffice.rangesort.RangeSortable.getRange.

Doc from org.jabref.model.openoffice.rangesort.RangeSortable.getRange.

The XTextRange

For citation marks in footnotes this may be the range of the footnote mark.

Annotations
@Override
setIndexInPositionback to summary
public void setIndexInPosition(int indexInPosition)
setRangeback to summary
public void setRange(com.sun.star.text.XTextRange range)