gov.nih.nlm.swing
Interface IgnorableListener

All Known Implementing Classes:
AttributeTypesToRemoveListSelectionListener, LanguagesToRemoveFilter, RelationshipTypesToRemoveListSelectionListener, RemoveByTermgroupListSelectionListener, SemanticTypesToRemoveListSelectionListener, SourcesToRemoveListSelectionListener, SuppressibleTermgroupsListSelectionListener

public interface IgnorableListener

Generically represents a mechanism for disabling listener functionality while certain kinds of processing are taking place. For example, if you want to programatically select rows of a table, you likely want to ignore the valueChanged events that will be generated as those rows are selected.

Author:
Brian Carlsen

Method Summary
 boolean ignoreEvents()
          Indicates whether or not events are to be ignored.
 void setIgnoreEvents(boolean b)
          Set the flag indicating whether or not events should be ignored.
 

Method Detail

ignoreEvents

public boolean ignoreEvents()
Indicates whether or not events are to be ignored.

Returns:
true if events should be ignored, false otherwise

setIgnoreEvents

public void setIgnoreEvents(boolean b)
Set the flag indicating whether or not events should be ignored.

Parameters:
b - true if they should, false otherwise


Copyright ©2005