|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.mms.AbstractGUIConfigurable
gov.nih.nlm.mms.filters.AbstractFilter
public abstract class AbstractFilter
This is an abstract implementation of the filter class that manages the mechanisms for handling data changes.
| Field Summary | |
|---|---|
protected boolean |
init_cui
|
protected boolean |
subset_content
|
protected List<String> |
warnings
|
| Fields inherited from class gov.nih.nlm.mms.AbstractGUIConfigurable |
|---|
data_changed, default_configuration, listeners, user_configuration |
| Constructor Summary | |
|---|---|
AbstractFilter()
|
|
| Method Summary | |
|---|---|
void |
applyFilter(Concept concept)
Deprecated. Use one of the sub-interfaces instead |
void |
beginInitializeCuiList()
Informs SubsetListener that the Initialize Cui List phase is starting. |
void |
beginSubsetContent()
Informs SubsetListener that the Subset Content phase is starting. |
void |
endInitializeCuiList()
Informs SubsetListener that the Initialize Cui List phase is ending. |
void |
endSubsetContent()
Informs SubsetListener that the Subset Content phase is ending. |
protected void |
fireDataChanged()
Enables filters to inform listeners of data changed event. |
protected void |
fireNotUndoableDataChanged()
Enables filters to indicate that data has changed without notifying the listeners or making this change undoable. |
String |
getValidateMessage()
This method is the default message for filters that don't check for validity. |
String[] |
getWarnings()
Returns a String[] of warnings accumulated during
processing of the input stream. |
void |
setCuiList(CuiList cui_list)
Provides filter access to the cui list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface gov.nih.nlm.mms.filters.Filter |
|---|
isEfficientEnabled |
| Methods inherited from interface gov.nih.nlm.mms.GUIConfigurable |
|---|
addDataChangeListener, getColor, getGUIConfigurableForValidationFailure, getHelpPanel, getName, getPanel, getTabDescription, getValidationErrors, getValidationWarnings, hasAdvancedOptions, hasDataChanged, removeDataChangeListener, resetDataChanged, setDataChanged, setPanelSelections, showOptions, validate |
| Methods inherited from interface gov.nih.nlm.mms.Configurable |
|---|
getConfigurationDetails, getProperties, resetToDefaults, setConfiguration, setConfiguration, setProperties |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
protected boolean init_cui
protected boolean subset_content
protected List<String> warnings
| Constructor Detail |
|---|
public AbstractFilter()
| Method Detail |
|---|
protected void fireNotUndoableDataChanged()
public String getValidateMessage()
Stringpublic void setCuiList(CuiList cui_list)
setCuiList in interface SubsetListenercui_list - CuiListpublic void beginInitializeCuiList()
SubsetListener that the Initialize Cui List phase is starting.
beginInitializeCuiList in interface SubsetListenerpublic void endInitializeCuiList()
SubsetListener that the Initialize Cui List phase is ending.
endInitializeCuiList in interface SubsetListenerpublic void beginSubsetContent()
SubsetListener that the Subset Content phase is starting.
beginSubsetContent in interface SubsetListenerpublic void endSubsetContent()
SubsetListener that the Subset Content phase is ending.
endSubsetContent in interface SubsetListenerpublic void applyFilter(Concept concept)
Concept or its components
from the release. Called during the subsetting process.
applyFilter in interface Filterconcept - Conceptpublic String[] getWarnings()
String[] of warnings accumulated during
processing of the input stream.
getWarnings in interface FilterString[] of warningsprotected void fireDataChanged()
fireDataChanged in class AbstractGUIConfigurable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||