Package org.luwrain.reader.view
Class Iterator
java.lang.Object
org.luwrain.reader.view.Iterator
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
clone()
boolean
coversPos
(int x, int y) boolean
int
getCount()
protected Run
int
getIndex()
int
getNode()
protected Node
getRow()
Run[]
getRuns()
getRunUnderPos
(int pos) getText()
getView()
int
getX()
int
getY()
boolean
hasRunOnRow
(Run run) boolean
void
void
moveEnd()
boolean
moveNext()
boolean
movePrev()
boolean
int
runBeginsAt
(Run run) protected boolean
search
(Iterator.Matching matching, int searchFrom, int step) boolean
searchBackward
(Iterator.Matching matching) boolean
searchBackward
(Iterator.Matching matching, int searchFrom) boolean
searchForward
(Iterator.Matching matching) boolean
searchForward
(Iterator.Matching matching, int searchFrom)
-
Field Details
-
view
-
paragraphs
-
rows
-
current
protected int current
-
-
Constructor Details
-
Iterator
-
Iterator
-
-
Method Details
-
noContent
public boolean noContent() -
getIndex
public int getIndex() -
getCount
public int getCount() -
getView
-
equals
-
clone
-
canMoveNext
public boolean canMoveNext() -
canMovePrev
public boolean canMovePrev() -
moveNext
public boolean moveNext() -
movePrev
public boolean movePrev() -
moveEnd
public void moveEnd() -
moveBeginning
public void moveBeginning() -
searchForward
-
searchForward
-
searchBackward
-
searchBackward
-
search
-
getText
-
getIndexInParagraph
public int getIndexInParagraph() -
isParagraphBeginning
public boolean isParagraphBeginning() -
hasRunOnRow
-
getRuns
-
runBeginsAt
-
getX
public int getX() -
getY
public int getY() -
getNode
-
getParagraph
-
getParaContainer
-
coversPos
public boolean coversPos(int x, int y) -
getRunUnderPos
-
getRow
-
getFirstRunOfRow
-