|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.biltmore.tools.fileeditor.Occurence
public class Occurence
This represents an occurence hit in the editor buffer.
Constructor Summary | |
---|---|
Occurence(Position position,
TextBuffer buffer)
Creates a new instance of Occurence. |
Method Summary | |
---|---|
String |
getLineText()
Returns the lines text. |
Position |
getPosition()
Returns the line number represented by this Occurence. |
void |
setLineText(String text)
Updates the lines text. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Occurence(Position position, TextBuffer buffer)
position
- The position of this occurencebuffer
- The text buffer this line belongs to.Method Detail |
---|
public Position getPosition()
public String getLineText()
public void setLineText(String text)
text
- The text to set.public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |