|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nlm.mms.cxt.MRCXTBuilderSourceListSelectionListener
List selection listener for the remove term types table. Initializes and updates selections on the the removable term types table.
Constructor Summary | |
MRCXTBuilderSourceListSelectionListener(MRCXTBuilderGUI gui,
SortableJTable table)
Instantiates a MRCXTBuilderSourceListSelectionListener
with the specified MRCXTBuilderGUI and SortableJTable . |
Method Summary | |
void |
addSource(int row)
Selects a row and adds the Source on that row to the list of
Source s. |
boolean |
ignoreEvents()
Returns boolean to indicate whether or not
ListSelectionEvent s are to be ignored. |
void |
removeSource(int row)
Deselects row and removes the Source on that row from the list of
Source 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 MRCXTBuilderSourceListSelectionListener(MRCXTBuilderGUI gui, SortableJTable table)
MRCXTBuilderSourceListSelectionListener
with the specified MRCXTBuilderGUI
and SortableJTable
.
gui
- the parent gui MRCXTBuilderGUI
table
- the SortableJTable
of Source
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 addSource(int row)
Source
on that row to the list of
Source
s.
row
- number to be selected and removedpublic void removeSource(int row)
Source
on that row from the list of
Source
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 |