Logo Search packages:      
Sourcecode: libjgoodies-binding-java version File versions

void com::jgoodies::binding::list::LinkedListModel::clear (  )  [inline]

Removes all of the elements from this list. The list will be empty after this call returns.

Definition at line 168 of file LinkedListModel.java.

References fireIntervalRemoved().

                        {
        if (isEmpty())
            return;
        
        int oldLastIndex = size() - 1;
        super.clear();
        fireIntervalRemoved(0, oldLastIndex);
    }


Generated by  Doxygen 1.6.0   Back to index