cobaUI
Class SentenceList.MyListDataListener
java.lang.Object
cobaUI.SentenceList.MyListDataListener
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.ListDataListener
- Enclosing class:
- SentenceList
- class SentenceList.MyListDataListener
- extends java.lang.Object
- implements javax.swing.event.ListDataListener
A list data listener which (1) enables the remove and clear-all buttons only if the list is non-empty,
(2) enables the appropriate "save" menu item when the list contents change, and (3) enables the "Get
Parallel Change" button only when there are sentences to be merged, revised, and/or contracted.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SentenceList.MyListDataListener
SentenceList.MyListDataListener(javax.swing.JMenuItem param)
intervalAdded
public void intervalAdded(javax.swing.event.ListDataEvent e)
- Specified by:
intervalAdded
in interface javax.swing.event.ListDataListener
intervalRemoved
public void intervalRemoved(javax.swing.event.ListDataEvent e)
- Specified by:
intervalRemoved
in interface javax.swing.event.ListDataListener
contentsChanged
public void contentsChanged(javax.swing.event.ListDataEvent e)
- Specified by:
contentsChanged
in interface javax.swing.event.ListDataListener