|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.mms.filters.SourcesToRemoveListSelectionListener
public class SourcesToRemoveListSelectionListener
List selection listener for the Sources To Exclude table. Initializes and updates selections on the the sources table. Makes selections based on user's options settings.
| Constructor Summary | |
|---|---|
SourcesToRemoveListSelectionListener(SourcesToRemoveFilter filter,
SourcesToRemoveJTable table)
Constructor - sets variables from parameters. |
|
| Method Summary | |
|---|---|
boolean |
ignoreEvents()
Method returns boolean to indicate whether or not
ListSelectionEvents are to be ignored. |
void |
setIgnoreEvents(boolean b)
Method that turns off responses to the ListSelectionEvents. |
void |
setSelections(List str)
Sets selections on the SourcesToRemoveJTable based on the
sources_to_remove data structure in the SourcesToRemoveFilter. |
void |
valueChanged(ListSelectionEvent e)
Method that recognizes a ListSelectionEvent and responds by going
through logic to determine if related sources should be selected as well. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SourcesToRemoveListSelectionListener(SourcesToRemoveFilter filter,
SourcesToRemoveJTable table)
filter - SourcesToRemoveFiltertable - SourcesToRemoveJTable| Method Detail |
|---|
public void setSelections(List str)
SourcesToRemoveJTable based on the
sources_to_remove data structure in the SourcesToRemoveFilter.
Records initial set of selected sources in order to determine at later
points whether selections have changed.
str - List of Sources to be excluded from subsetpublic void valueChanged(ListSelectionEvent e)
ListSelectionEvent and responds by going
through logic to determine if related sources should be selected as well.
valueChanged in interface ListSelectionListenere - 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 processed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||