public class TextSegment
extends java.lang.Object
Constructor and Description |
---|
TextSegment() |
TextSegment(int beginRun,
int endRun,
int beginText,
int endText,
int beginChar,
int endChar) |
TextSegment(PositionInParagraph beginPos,
PositionInParagraph endPos) |
Modifier and Type | Method and Description |
---|---|
int |
getBeginChar() |
PositionInParagraph |
getBeginPos() |
int |
getBeginRun() |
int |
getBeginText() |
int |
getEndChar() |
PositionInParagraph |
getEndPos() |
int |
getEndRun() |
int |
getEndText() |
void |
setBeginChar(int beginChar) |
void |
setBeginRun(int beginRun) |
void |
setBeginText(int beginText) |
void |
setEndChar(int endChar) |
void |
setEndRun(int endRun) |
void |
setEndText(int endText) |
public TextSegment()
public TextSegment(int beginRun, int endRun, int beginText, int endText, int beginChar, int endChar)
public TextSegment(PositionInParagraph beginPos, PositionInParagraph endPos)
public PositionInParagraph getBeginPos()
public PositionInParagraph getEndPos()
public int getBeginRun()
public void setBeginRun(int beginRun)
public int getBeginText()
public void setBeginText(int beginText)
public int getBeginChar()
public void setBeginChar(int beginChar)
public int getEndRun()
public void setEndRun(int endRun)
public int getEndText()
public void setEndText(int endText)
public int getEndChar()
public void setEndChar(int endChar)
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.