类的用途
javax.swing.event.ListDataEvent
使用 ListDataEvent 的包
包
描述
提供一组“轻量级”(全 Java 语言)组件,尽可能在所有平台上以相同的方式工作。
提供由 Swing 组件触发的事件。
提供根据基本外观构建的用户界面对象。
-
ListDataEvent 在 javax.swing 中的用法
javax.swing 中的方法,参数类型为 ListDataEvent修饰符和类型方法描述voidJComboBox.contentsChanged(ListDataEvent e) 此方法作为实现副作用公开。voidJList.AccessibleJList.contentsChanged(ListDataEvent e) 列表数据监听内容更改方法。voidJComboBox.intervalAdded(ListDataEvent e) 此方法作为实现副作用公开。voidJList.AccessibleJList.intervalAdded(ListDataEvent e) 列表数据监听间隔添加方法。voidJComboBox.intervalRemoved(ListDataEvent e) 此方法作为实现副作用公开。voidJList.AccessibleJList.intervalRemoved(ListDataEvent e) 列表数据监听间隔删除方法。 -
ListDataEvent 在 javax.swing.event 中的用法
javax.swing.event 中的方法,参数类型为 ListDataEvent修饰符和类型方法描述voidListDataListener.contentsChanged(ListDataEvent e) 当列表的内容以一种过于复杂而无法用以前的方法描述的方式发生变化时发送。voidListDataListener.intervalAdded(ListDataEvent e) 在将 index0、index1 区间中的索引插入数据模型后发送。voidListDataListener.intervalRemoved(ListDataEvent e) 在 index0、index1 间隔中的索引已从数据模型中删除后发送。 -
ListDataEvent 在 javax.swing.plaf.basic 中的用法
javax.swing.plaf.basic 中的方法,参数类型为 ListDataEvent修饰符和类型方法描述voidBasicComboBoxUI.ListDataHandler.contentsChanged(ListDataEvent e) voidBasicComboPopup.ListDataHandler.contentsChanged(ListDataEvent e) voidBasicListUI.ListDataHandler.contentsChanged(ListDataEvent e) voidBasicComboBoxUI.ListDataHandler.intervalAdded(ListDataEvent e) voidBasicComboPopup.ListDataHandler.intervalAdded(ListDataEvent e) voidBasicDirectoryModel.intervalAdded(ListDataEvent e) 已弃用,将被删除:此 API 元素可能会在未来版本中删除。过时的方法,不再使用。voidBasicListUI.ListDataHandler.intervalAdded(ListDataEvent e) voidBasicComboBoxUI.ListDataHandler.intervalRemoved(ListDataEvent e) voidBasicComboPopup.ListDataHandler.intervalRemoved(ListDataEvent e) voidBasicDirectoryModel.intervalRemoved(ListDataEvent e) 已弃用,将被删除:此 API 元素可能会在未来版本中删除。过时的方法,不再使用。voidBasicListUI.ListDataHandler.intervalRemoved(ListDataEvent e)