public class BasicComboBoxUI.ListDataHandler extends Object implements ListDataListener
ComboBoxModel的变化。
这个公共内部类应该被视为受保护的。 仅在BasicComboBoxUI的BasicComboBoxUI类中BasicComboBoxUI 。
| Constructor and Description |
|---|
ListDataHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
contentsChanged(ListDataEvent e)
当列表的内容发生变化的方式太复杂以表征以前的方法时发送。
|
void |
intervalAdded(ListDataEvent e)
在index0中的索引之后发送,index1间隔已经插入到数据模型中。
|
void |
intervalRemoved(ListDataEvent e)
在index0,index1间隔的索引之后发送已经从数据模型中删除。
|
public void contentsChanged(ListDataEvent e)
ListDataListener
contentsChanged在界面
ListDataListener
e -一个
ListDataEvent封装事件信息
public void intervalAdded(ListDataEvent e)
ListDataListener复制
intervalAdded在接口
ListDataListener
e -一个
ListDataEvent封装事件信息
public void intervalRemoved(ListDataEvent e)
ListDataListener
intervalRemoved在接口
ListDataListener
e - a
ListDataEvent encapsulating the event information
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, 2014, Oracle and/or its affiliates. All rights reserved.