Return type | Name and parameters |
---|---|
Iterator
|
iterator()
Returns an Iterator which traverses the DefaultTableModel one item at a time. |
DefaultTableModel
|
leftShift(Object row)
Overloads the left shift operator to provide an easy way to add rows to a DefaultTableModel. |
void
|
putAt(int index, Object row)
Allow DefaultTableModel to work with subscript operators. |
addShutdownHook
, any
, any
, asBoolean
, asType
, collect
, collect
, collect
, contains
, count
, dump
, each
, eachWithIndex
, equals
, every
, every
, find
, find
, findAll
, findAll
, findIndexOf
, findIndexOf
, findIndexValues
, findIndexValues
, findLastIndexOf
, findLastIndexOf
, findResult
, findResult
, flatten
, getAt
, getMetaClass
, getMetaPropertyValues
, getProperties
, grep
, grep
, groupBy
, groupBy
, hasProperty
, identity
, inject
, inject
, inspect
, invokeMethod
, is
, isCase
, iterator
, join
, metaClass
, print
, print
, printf
, printf
, println
, println
, println
, putAt
, respondsTo
, respondsTo
, setMetaClass
, size
, split
, sprintf
, sprintf
, sum
, sum
, sum
, sum
, toArrayString
, toSpreadMap
, toString
, use
, use
, use
, with
, withTraits
Returns an Iterator which traverses the DefaultTableModel one item at a time.
Overloads the left shift operator to provide an easy way to add rows to a DefaultTableModel.
if row.size < model.size -> row will be padded with nulls
if row.size > model.size -> additional columns will be discarded
row
- a row to be added to the model.Allow DefaultTableModel to work with subscript operators.
WARNING: this operation does not replace the item at the specified index, rather it inserts the item at that index, thus increasing the size of the model by 1.
if row.size < model.size -> row will be padded with nulls
if row.size > model.size -> additional columns will be discarded
index
- an indexrow
- the row to insert at the given index