|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nlm.mms.filters.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 SourceTermType s. |
boolean |
ignoreEvents()
Returns boolean to indicate whether or not
ListSelectionEvent s are to be ignored. |
void |
removeRemovableTermgroup(int row)
Deselects row and removes the SourceTermType on that row from the list of
removable SourceTermType s. |
void |
setIgnoreEvents(boolean b)
Turns off responses to the ListSelectionEvent s. |
void |
setSelections()
|
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 RemoveByTermgroupFilter
table
- the SortableJTable
of SourceTermType
sMethod Detail |
public void setSelections()
public void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener
e
- the 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 processedpublic void addRemovableTermgroup(int row)
SourceTermType
on that row to the list of
removable SourceTermType
s.
row
- number to be selected and removedpublic void removeRemovableTermgroup(int row)
SourceTermType
on that row from the list of
removable SourceTermType
s.
row
- number to be deselected and not removedpublic void tableSortStarted(TableSortEvent e)
tableSortStarted
in interface TableSortListener
e
- TableSortEvent
public void tableSortFinished(TableSortEvent e)
tableSortFinished
in interface TableSortListener
e
- TableSortEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |