|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpalmed.edit.view.TranslatedLineVisitor
public final class TranslatedLineVisitor
This class wraps a line visitor to translate each line to a given column.
Constructor Summary | |
---|---|
TranslatedLineVisitor(ILineVisitor visitor,
int column)
Create a translated line visitor. |
Method Summary | |
---|---|
void |
visit(java.lang.String text,
int start,
int end,
boolean continues)
Handle a line of text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TranslatedLineVisitor(ILineVisitor visitor, int column)
visitor
- the visitor to wrapcolumn
- the number of column to translate the lines to the leftMethod Detail |
---|
public void visit(java.lang.String text, int start, int end, boolean continues)
visit
in interface ILineVisitor
text
- the contentstart
- the selection start positionend
- the selection end positioncontinues
- whether the selection continues on the next line or not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |