|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nlm.mms.filters.RelationshipTypesToRemoveListSelectionListener
List selection listener for the Relationship Types To Exclude table. Initializes and updates selections on the the relationships table. Makes selections based on user's options settings.
Constructor Summary | |
RelationshipTypesToRemoveListSelectionListener(RelationshipTypesToRemoveFilter filter,
SortableJTable table)
Initializes selections on the sources that will be excluded. |
Method Summary | |
boolean |
ignoreEvents()
Method returns boolean to indicate whether or not
ListSelectionEvent s are to be ignored. |
void |
setIgnoreEvents(boolean b)
Method that turns off responses to the ListSelectionEvent s. |
void |
setSelections(List rtr)
Sets selections on the SortableJTable
based on the relationship_types_to_remove data structure in the
RelationshipTypesToRemoveFilter . |
void |
valueChanged(ListSelectionEvent e)
Method that recognizes a ListSelectionEvent and responds
by going through logic to determine if other relationship type rows 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 RelationshipTypesToRemoveListSelectionListener(RelationshipTypesToRemoveFilter filter, SortableJTable table)
filter
- RelationshipTypesToRemoveFilter
table
- SortableJTable
Method Detail |
public void setSelections(List rtr)
SortableJTable
based on the relationship_types_to_remove data structure in the
RelationshipTypesToRemoveFilter
.
Records initial set of selected relationship types in order to determine
at later points whether selections have changed.
rtr
- List
of relationship types to be excluded from subsetpublic void valueChanged(ListSelectionEvent e)
ListSelectionEvent
and responds
by going through logic to determine if other relationship type rows should
be selected as well.
valueChanged
in interface ListSelectionListener
e
- ListSelectionEvent
public boolean ignoreEvents()
boolean
to indicate whether or not
ListSelectionEvent
s are to be ignored.
ignoreEvents
in interface IgnorableListener
boolean
public void setIgnoreEvents(boolean b)
ListSelectionEvent
s.
setIgnoreEvents
in interface IgnorableListener
b
- 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 |