Package org.luwrain.controls
Class MutableMarkedLinesImpl
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<MutableMarkedLinesImpl.Line>
,Collection<MutableMarkedLinesImpl.Line>
,List<MutableMarkedLinesImpl.Line>
,RandomAccess
,Lines
,MarkedLines
,MutableLines
,MutableMarkedLines
public class MutableMarkedLinesImpl
extends ArrayList<MutableMarkedLinesImpl.Line>
implements MutableMarkedLines
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.luwrain.core.MutableLines
MutableLines.Updating
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getLine
(int index) int
getLineMarks
(int index) String[]
getLines()
void
insertLine
(int index, String line) void
removeLine
(int index) void
void
setLineMarks
(int index, LineMarks marks) void
void
update
(MutableLines.Updating updating) Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll
Methods inherited from interface org.luwrain.core.MutableLines
clear
-
Constructor Details
-
MutableMarkedLinesImpl
public MutableMarkedLinesImpl() -
MutableMarkedLinesImpl
-
-
Method Details
-
update
- Specified by:
update
in interfaceMutableLines
-
getLineCount
public int getLineCount()- Specified by:
getLineCount
in interfaceLines
-
getLine
-
setLines
- Specified by:
setLines
in interfaceMutableLines
-
getLines
- Specified by:
getLines
in interfaceMutableLines
-
setLine
- Specified by:
setLine
in interfaceMutableLines
-
addLine
- Specified by:
addLine
in interfaceMutableLines
-
insertLine
- Specified by:
insertLine
in interfaceMutableLines
-
removeLine
public void removeLine(int index) - Specified by:
removeLine
in interfaceMutableLines
-
getLineMarks
- Specified by:
getLineMarks
in interfaceMarkedLines
-
setLineMarks
- Specified by:
setLineMarks
in interfaceMutableMarkedLines
-
getText
-