Scala Library
|
|
scala/swing/Container/Wrapper.scala
]
protected
class
Content
extends
BufferWrapper[Component]Method Summary | |
def
|
+=
(c : Component) : Content
Append a single element to this buffer.
|
def
|
apply
(n : Int) : Component
Return element at index `n`
|
override def
|
clear
: Unit
Clears the buffer contents.
|
protected def
|
insertAt (n : Int, c : Component) : Unit |
def
|
length
: Int
Return number of elements in the buffer
|
override def
|
remove
(n : Int) : Component
Removes the element on a given index position.
|
Methods inherited from BufferWrapper | |
update, insertAll, +=:, iterator |
Methods inherited from Buffer | |
companion |
Methods inherited from BufferLike | |
+:, remove, -=, ++=:, ++:, ++=:, append, appendAll, prepend, prependAll, prependAll, insert, trimStart, trimEnd, <<, stringPrefix, ++=, +, +, ++, ++, -, -, --, --, readOnly |
Methods inherited from Cloneable | |
clone |
Methods inherited from Shrinkable | |
-=, --=, --= |
Methods inherited from Growable | |
+=, ++=, ++= |
Methods inherited from SeqLike | |
thisCollection, toCollection, lengthCompare, size, isDefinedAt, segmentLength, prefixLength, indexWhere, indexWhere, findIndexOf, indexOf, indexOf, lastIndexOf, lastIndexOf, lastIndexWhere, lastIndexWhere, reverse, reverseMap, reverseIterator, reversedElements, startsWith, startsWith, endsWith, indexOfSeq, indexOfSeq, lastIndexOfSeq, lastIndexOfSeq, contains, union, diff, intersect, removeDuplicates, patch, updated, +:, :+, padTo, sortWith, sortWith, sortBy, toSeq, indices, view, view, hashCode, equals, toString, findLastIndexOf, equalsWith, containsSlice, projection |
Methods inherited from PartialFunction | |
orElse, andThen |
Methods inherited from Function1 | |
compose |
Methods inherited from IterableLike | |
elements, foreach, forall, exists, find, isEmpty, foldRight, reduceRight, toIterable, head, take, slice, takeWhile, takeRight, dropRight, copyToArray, zip, zipAll, zipWithIndex, sameElements, toStream, canEqual, first, firstOption |
Methods inherited from GenericTraversableTemplate | |
newBuilder, genericBuilder, unzip, flatten, transpose |
Methods inherited from TraversableLike | |
repr, nonEmpty, hasDefiniteSize, ++, ++, map, flatMap, filter, filterNot, partialMap, remove, partition, groupBy, count, foldLeft, /:, :\, reduceLeft, reduceLeftOption, reduceRightOption, sum, product, min, max, headOption, tail, last, lastOption, init, drop, dropWhile, span, splitAt, copyToBuffer, copyToArray, toArray, toList, toIndexedSeq, toSet, mkString, mkString, mkString, addString, addString, addString, withFilter |
Methods inherited from AnyRef | |
getClass, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
override
def
clear : Unit
n -
the index which refers to the element to delete.elem -
the element to append.
def
length : Int
IndexOutofBoundsException -
if the index is not valid
Scala Library
|
|