gov.nih.nlm.mms.browser
Class ContentViewBrowserRestrictorFilter

java.lang.Object
  extended by gov.nih.nlm.mms.AbstractGUIConfigurable
      extended by gov.nih.nlm.mms.filters.AbstractFilter
          extended by gov.nih.nlm.mms.filters.ContentViewFilter
              extended by gov.nih.nlm.mms.browser.ContentViewBrowserRestrictorFilter
All Implemented Interfaces:
Configurable, ConceptContentSelector, Filter, GUIConfigurable, SourcesToRemoveListener, SubsetListener, Comparable

public class ContentViewBrowserRestrictorFilter
extends ContentViewFilter

This Filter subclass acts as the ContentViewFilter, but provides color and style selections and deselections based on the selections and deselections of the content views.

Author:
Deborah Shapiro

Nested Class Summary
 
Nested classes/interfaces inherited from class gov.nih.nlm.mms.filters.ContentViewFilter
ContentViewFilter.ContentViewOption
 
Field Summary
protected  boolean ignore_events
           
 
Fields inherited from class gov.nih.nlm.mms.filters.ContentViewFilter
combined_view, id_to_content_views, selected_views, sources_to_remove
 
Fields inherited from class gov.nih.nlm.mms.filters.AbstractFilter
init_cui, subset_content, warnings
 
Fields inherited from class gov.nih.nlm.mms.AbstractGUIConfigurable
data_changed, default_configuration, listeners, user_configuration
 
Constructor Summary
ContentViewBrowserRestrictorFilter()
          No-arg constructor
ContentViewBrowserRestrictorFilter(ContentViewBrowserRestrictor cv_br)
          Constructor for ContentViewBrowserRestrictorFilter
 
Method Summary
protected  void addSelectedView(String id)
          Adds a selected view to the group of ones that will be applied.
 String getTabDescription()
          Method provides the description of the filter's screen and includes instructions on use.
protected  void removeSelectedView(String id)
          Removes a selected view from the group of ones that will be applied.
 void setConfiguration(ApplicationConfiguration c)
          Gives the filter access to the default configuration object.
 
Methods inherited from class gov.nih.nlm.mms.filters.ContentViewFilter
applySelections, getColor, getCombinedView, getConfigurationDetails, getGUIConfigurableForValidationFailure, getHelpPanel, getIdForName, getIdsForFlag, getName, getNameForId, getPanel, getProperties, getSelectedViews, isEfficientEnabled, makeCombinedView, resetToDefaults, setPanelSelections, setProperties, sourcesToRemoveChanged, validate
 
Methods inherited from class gov.nih.nlm.mms.filters.AbstractFilter
applyFilter, beginInitializeCuiList, beginSubsetContent, endInitializeCuiList, endSubsetContent, fireDataChanged, fireNotUndoableDataChanged, getValidateMessage, getWarnings, setCuiList
 
Methods inherited from class gov.nih.nlm.mms.AbstractGUIConfigurable
addDataChangeListener, addValidationError, addValidationWarning, clearValidationErrors, clearValidationWarnings, compareTo, getValidationErrors, getValidationWarnings, hasAdvancedOptions, hasDataChanged, removeDataChangeListener, resetDataChanged, setConfiguration, setDataChanged, showOptions
 
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
applyFilter, getWarnings
 
Methods inherited from interface gov.nih.nlm.mms.GUIConfigurable
addDataChangeListener, getValidationErrors, getValidationWarnings, hasAdvancedOptions, hasDataChanged, removeDataChangeListener, resetDataChanged, setDataChanged, showOptions
 
Methods inherited from interface gov.nih.nlm.mms.Configurable
setConfiguration
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface gov.nih.nlm.mms.SubsetListener
beginInitializeCuiList, beginSubsetContent, endInitializeCuiList, endSubsetContent, setCuiList
 

Field Detail

ignore_events

protected boolean ignore_events
Constructor Detail

ContentViewBrowserRestrictorFilter

public ContentViewBrowserRestrictorFilter()
No-arg constructor


ContentViewBrowserRestrictorFilter

public ContentViewBrowserRestrictorFilter(ContentViewBrowserRestrictor cv_br)
Constructor for ContentViewBrowserRestrictorFilter

Parameters:
cv_br -
Method Detail

getTabDescription

public String getTabDescription()
Method provides the description of the filter's screen and includes instructions on use.

Specified by:
getTabDescription in interface GUIConfigurable
Overrides:
getTabDescription in class ContentViewFilter
Returns:
String text of instructions for use of panel

setConfiguration

public void setConfiguration(ApplicationConfiguration c)
Gives the filter access to the default configuration object.

Specified by:
setConfiguration in interface Configurable
Overrides:
setConfiguration in class ContentViewFilter
Parameters:
c - ApplicationConfiguration

addSelectedView

protected void addSelectedView(String id)
Adds a selected view to the group of ones that will be applied.

Overrides:
addSelectedView in class ContentViewFilter
Parameters:
id - for the related ContentViewOption

removeSelectedView

protected void removeSelectedView(String id)
Removes a selected view from the group of ones that will be applied.

Overrides:
removeSelectedView in class ContentViewFilter
Parameters:
id - for the related ContentViewOption


Copyright ©2005