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 ClassesNested classes/interfaces inherited from interface org.luwrain.core.MutableLines
MutableLines.Updating -
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetLine(int index) intgetLineMarks(int index) String[]getLines()voidinsertLine(int index, String line) voidremoveLine(int index) voidvoidsetLineMarks(int index, LineMarks marks) voidvoidupdate(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, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAllMethods inherited from interface org.luwrain.core.MutableLines
clear
-
Constructor Details
-
MutableMarkedLinesImpl
public MutableMarkedLinesImpl() -
MutableMarkedLinesImpl
-
-
Method Details
-
update
- Specified by:
updatein interfaceMutableLines
-
getLineCount
public int getLineCount()- Specified by:
getLineCountin interfaceLines
-
getLine
-
setLines
- Specified by:
setLinesin interfaceMutableLines
-
getLines
- Specified by:
getLinesin interfaceMutableLines
-
setLine
- Specified by:
setLinein interfaceMutableLines
-
addLine
- Specified by:
addLinein interfaceMutableLines
-
insertLine
- Specified by:
insertLinein interfaceMutableLines
-
removeLine
public void removeLine(int index) - Specified by:
removeLinein interfaceMutableLines
-
getLineMarks
- Specified by:
getLineMarksin interfaceMarkedLines
-
setLineMarks
- Specified by:
setLineMarksin interfaceMutableMarkedLines
-
getText
-