|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nlm.mms.filters.AttributeTypesToRemoveListSelectionListener
List selection listener for the Attribute Types To Exclude table. Initializes and updates selections on the the attributes table. Makes selections based on user's options settings.
Constructor Summary | |
AttributeTypesToRemoveListSelectionListener(AttributeTypesToRemoveFilter filter,
SortableJTable table)
Constructor - sets variables for parameters. |
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 atr)
Sets selections on the SortableJTable
based on the attribute_types_to_remove data structure in the
AttributeTypesToRemoveFilter . |
void |
valueChanged(ListSelectionEvent e)
Method that recognizes a ListSelectionEvent and responds
by going through logic to determine if other AttType
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 AttributeTypesToRemoveListSelectionListener(AttributeTypesToRemoveFilter filter, SortableJTable table)
filter
- AttributeTypesToRemoveFilter
table
- SortableJTable
Method Detail |
public void setSelections(List atr)
SortableJTable
based on the attribute_types_to_remove data structure in the
AttributeTypesToRemoveFilter
.
Records initial set of selected attribute types in order to determine
at later points whether selections have changed.
atr
- List
of AttType
s to be excluded from subsetpublic void valueChanged(ListSelectionEvent e)
ListSelectionEvent
and responds
by going through logic to determine if other AttType
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 |