void addElement(E item)
Adds an item at the end of the model. The implementation of this method should notify all registered ListDataListener
s that the item has been added.
item
- the item to be added
void removeElement(Object obj)
Removes an item from the model. The implementation of this method should should notify all registered ListDataListener
s that the item has been removed.
obj
- the Object
to be removed
void insertElementAt(E item, int index)
Adds an item at a specific index. The implementation of this method should notify all registered ListDataListener
s that the item has been added.
item
- the item to be added
index
- location to add the object
void removeElementAt(int index)
Removes an item at a specific index. The implementation of this method should notify all registered ListDataListener
s that the item has been removed.
index
- location of the item to be removed
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4