Class TextLine
java.lang.Object
eu.svjatoslav.sixth.e3d.gui.textEditorComponent.TextLine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addIdent
(int amount) copySubString
(int from, int until) void
cutFromBeginning
(int charactersToCut) cutSubString
(int from, int until) void
cutUntilEnd
(int col) char
getCharForLocation
(int col) getChars()
int
getIdent()
int
getSubLine
(int from, int until) getSubString
(int from, int until) void
insertCharacter
(int col, char value) void
insertString
(int col, String value) void
insertTextLine
(int col, TextLine textLine) boolean
isEmpty()
void
removeCharacter
(int col) void
toString()
-
Constructor Details
-
TextLine
public TextLine() -
TextLine
-
TextLine
-
-
Method Details
-
addIdent
public void addIdent(int amount) -
copySubString
-
cutFromBeginning
public void cutFromBeginning(int charactersToCut) -
cutSubString
-
cutUntilEnd
public void cutUntilEnd(int col) -
getCharForLocation
public char getCharForLocation(int col) -
getChars
-
getIdent
public int getIdent() -
getLength
public int getLength() -
getSubLine
-
getSubString
-
insertCharacter
public void insertCharacter(int col, char value) -
insertString
-
insertTextLine
-
isEmpty
public boolean isEmpty() -
removeCharacter
public void removeCharacter(int col) -
setValue
-
toString
-