public class TextSegement extends Object
Constructor and Description |
---|
TextSegement() |
TextSegement(int beginRun,
int endRun,
int beginText,
int endText,
int beginChar,
int endChar) |
TextSegement(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 TextSegement()
public TextSegement(int beginRun, int endRun, int beginText, int endText, int beginChar, int endChar)
public TextSegement(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 © 2020. All rights reserved.