|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.mms.filters.AttributeTypesToRemoveListSelectionListener
public class 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
ListSelectionEvents are to be ignored. |
void |
setIgnoreEvents(boolean b)
Method that turns off responses to the ListSelectionEvents |
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 - AttributeTypesToRemoveFiltertable - 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 AttTypes 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 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 | ||||||||