|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.mms.filters.RemoveByTermgroupListSelectionListener
public class RemoveByTermgroupListSelectionListener
List selection listener for the remove term types table. Initializes and updates selections on the the removable term types table.
| Constructor Summary | |
|---|---|
RemoveByTermgroupListSelectionListener(RemoveByTermgroupFilter filter,
SortableJTable table)
Instantiates a RemoveByTermgroupListSelectionListener
with the specified RemoveByTermgroupFilter and SortableJTable. |
|
| Method Summary | |
|---|---|
void |
addRemovableTermgroup(int row)
Selects a row and adds the SourceTermType on that row to the list of
removable SourceTermTypes. |
boolean |
ignoreEvents()
Returns boolean to indicate whether or not
ListSelectionEvents are to be ignored. |
void |
removeRemovableTermgroup(int row)
Deselects row and removes the SourceTermType on that row from the list of
removable SourceTermTypes. |
void |
setIgnoreEvents(boolean b)
Turns off responses to the ListSelectionEvents. |
void |
setSelections()
Sets selections on the Remove by termgroup SortableJTable
based on the removable_termgroups data structure in the
RemoveByTermgroupFilter. |
void |
tableSortFinished(TableSortEvent e)
Handle finish of table sorting. |
void |
tableSortStarted(TableSortEvent e)
Handle start of table sorting. |
void |
valueChanged(ListSelectionEvent e)
Listens for changes in the list and validates them. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoveByTermgroupListSelectionListener(RemoveByTermgroupFilter filter,
SortableJTable table)
RemoveByTermgroupListSelectionListener
with the specified RemoveByTermgroupFilter and SortableJTable.
filter - the parent filter RemoveByTermgroupFiltertable - the SortableJTable of SourceTermTypes| Method Detail |
|---|
public void setSelections()
SortableJTable
based on the removable_termgroups data structure in the
RemoveByTermgroupFilter.
Records initial set of selected termgroups in order to determine
at later points whether selections have changed.
public void valueChanged(ListSelectionEvent e)
valueChanged in interface ListSelectionListenere - the ListSelectionEventpublic boolean ignoreEvents()
boolean to indicate whether or not
ListSelectionEvents are to be ignored.
ignoreEvents in interface IgnorableListenerbooleanpublic void setIgnoreEvents(boolean b)
ListSelectionEvents.
setIgnoreEvents in interface IgnorableListenerb - boolean true if events are to be ignored
false if events are to be processedpublic void addRemovableTermgroup(int row)
SourceTermType on that row to the list of
removable SourceTermTypes.
row - number to be selected and removedpublic void removeRemovableTermgroup(int row)
SourceTermType on that row from the list of
removable SourceTermTypes.
row - number to be deselected and not removedpublic void tableSortStarted(TableSortEvent e)
tableSortStarted in interface TableSortListenere - TableSortEventpublic void tableSortFinished(TableSortEvent e)
tableSortFinished in interface TableSortListenere - TableSortEvent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||