getRows(OID lowerBound, OID upperBoundEx) Returns a lexicographic ordered list of the rows in the specified index
range.
Parameters: lowerBound - the lower bound index (inclusive) for the rows in the returned list. Parameters: upperBoundEx - the upper bound index (exclusive) for the rows in the returned list.the possibly empty lexicographically ordered Listof rows of this table model in the specified index range.
getRows(OID lowerBound, OID upperBoundEx, MOTableRowFilter filter) Returns a lexicographic ordered list of the rows in the specified index
range that match the supplied filter.
Parameters: lowerBound - the lower bound index (inclusive) for the rows in the returned list. Parameters: upperBoundEx - the upper bound index (exclusive) for the rows in the returned list. Parameters: filter - the filter to exclude rows in the range from the returnedthe possibly empty lexicographically ordered Listof rows of this table model in the specified index range.
Remove all rows that do not match the given filter criteria
from the model.
Parameters: filter - the MOTableRowFilter that filters out the rows todelete.
Create a new row and return it. The new row will not be added to the
table. To add it to the model use the
DefaultMOMutableTableModel.addRow method.
If this mutable table does not support row creation, it should
throw an
UnsupportedOperationException .
Parameters: index - the index OID for the new row. Parameters: values - the values to be contained in the new row.the created MOTableRow. throws: java.lang.UnsupportedOperationException - if the specified row cannot be created.
public synchronized List getRows(OID lowerBound, OID upperBoundEx)(Code)
Returns a lexicographic ordered list of the rows in the specified index
range.
Parameters: lowerBound - the lower bound index (inclusive) for the rows in the returned list. Parameters: upperBoundEx - the upper bound index (exclusive) for the rows in the returned list.the possibly empty lexicographically ordered Listof rows of this table model in the specified index range. Modificationsto the list will not affect the underlying table model, althoughmodifications to the row elements will.
Returns a lexicographic ordered list of the rows in the specified index
range that match the supplied filter.
Parameters: lowerBound - the lower bound index (inclusive) for the rows in the returned list. Parameters: upperBoundEx - the upper bound index (exclusive) for the rows in the returned list. Parameters: filter - the filter to exclude rows in the range from the returnedthe possibly empty lexicographically ordered Listof rows of this table model in the specified index range. Modificationsto the list will not affect the underlying table model, althoughmodifications to the row elements will.
Returns an iterator over all rows in this table that pass the
given filter. If the table might be modified while the iterator
is used, it is recommended to synchronize on this model while
iterating.
Parameters: filter - a MOTableRowFilter instance that defines the rows to return.an Iterator.