Scala Library
|
|
scala/swing/Container/Wrapper.scala
]
protected
class
Content
extends
BufferWrapper[Component]Method Summary | |
def
|
+=
(c : Component) : Unit
Append a single element to this buffer.
|
def
|
apply (n : Int) : Component |
override def
|
clear
: Unit
Clears the buffer contents.
|
protected def
|
insertAt (n : Int, c : Component) : Unit |
def
|
length
: Int
Returns the length of the sequence.
|
def
|
remove
(n : Int) : Component
Removes the element on a given index position.
|
def
|
wrap (c : java.awt.Component) : Component |
Methods inherited from BufferWrapper | |
update, insertAll, readOnly, +:, elements |
Methods inherited from Buffer | |
+, ++=, ++=, ++=, ++, ++, ++, ++:, -=, append, appendAll, prepend, prependAll, insert, trimStart, trimEnd, <<, clone, hashCode, stringPrefix |
Methods inherited from Seq | |
lengthCompare, size, isEmpty, concat, last, lastOption, first, firstOption, headOption, isDefinedAt, lastIndexOf, findIndexOf, indexOf, map, flatMap, filter, take, drop, slice, slice, takeWhile, dropWhile, reverse, contains, subseq, toArray, toSeq, projection, equalsWith, startsWith, startsWith, endsWith, indexOf, containsSlice |
Methods inherited from Collection | |
toString |
Methods inherited from Iterable | |
partition, foreach, forall, exists, find, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, toStream, mkString, mkString, mkString, addString, addString, addString, copyToArray, hasDefiniteSize |
Methods inherited from PartialFunction | |
orElse, andThen |
Methods inherited from Function1 | |
compose |
Methods inherited from AnyRef | |
getClass, equals, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
wrap(c : java.awt.Component) : Component
override
def
clear : Unit
n -
the index which refers to the element to delete.elem -
the element to append.
def
length : Int
Scala Library
|
|