|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.mms.cxt.MRCXTBuilderSourceListSelectionListener
public class MRCXTBuilderSourceListSelectionListener
List selection listener for the remove term types table. Initializes and updates selections on the the removable term types table.
| Constructor Summary | |
|---|---|
MRCXTBuilderSourceListSelectionListener(MRCXTBuilder mrcxt_builder,
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
Sources. |
boolean |
ignoreEvents()
Returns boolean to indicate whether or not
ListSelectionEvents are to be ignored. |
void |
removeSource(int row)
Deselects row and removes the Source on that row from the list of
Sources. |
void |
setIgnoreEvents(boolean b)
Turns off responses to the ListSelectionEvents. |
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(MRCXTBuilder mrcxt_builder,
SortableJTable table)
MRCXTBuilderSourceListSelectionListener
with the specified MRCXTBuilderGUI and SortableJTable.
mrcxt_builder - MRCXTBuildertable - the SortableJTable of Sources| Method Detail |
|---|
public void setSelections()
public void valueChanged(ListSelectionEvent e)
valueChanged in interface ListSelectionListenere - the 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 processedpublic void addSource(int row)
Source on that row to the list of
Sources.
row - number to be selected and removedpublic void removeSource(int row)
Source on that row from the list of
Sources.
row - number to be deselected and not removedpublic void tableSortStarted(TableSortEvent e)
tableSortStarted in interface TableSortListenere - TableSortEventpublic void tableSortFinished(TableSortEvent e)
tableSortFinished in interface TableSortListenere - TableSortEvent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||