我在理解需要监听 listModel 更改的接口时遇到问题。我以为是ListDataListener,但是看不懂里面的方法。其中有 3 种方法,这一种似乎是我想要的,但我无法理解描述:
contentsChanged(ListDataEvent e)
Sent when the contents of the list has changed in a way that's too complex to characterize with the previous methods.
“太复杂”是什么意思?并通过“用以前的方法表征”?那么,整件事是什么意思?这是我想要的界面吗?