|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BrowserRestrictor
Generically represents an object that holds criteria for how to restrict or highlight content in finder searches or concept view displays.
| Method Summary | |
|---|---|
List<Color> |
getColor(Object o)
Returns a List of Colors for which the given parameter
matches in the BrowserRestrictor's key. |
ConceptDataSelector |
getConceptDataSelector()
Returns a ConceptDataSelector. |
List<String> |
getStyle(Object o)
Returns a List of font styles for which the given parameter
matches in the BrowserRestrictor's key. |
String |
getStyleLegend()
Returns a HTML string containing a key for how elements from the browser restrictor should be displayed, indicating the color and font style. |
boolean |
isBold()
Indicates whether or not the restricted data will be displayed using bold. |
boolean |
isConceptViewHideModeEnabled()
Indicates if hide mode is enabled, so restricted data will be hidden from view. |
boolean |
isConceptViewHighlightModeEnabled()
Indicates if highlight mode is enabled, so restricted data will be highlighted when viewed. |
boolean |
isFinderRestrictionEnabled()
Indicates if restrictions will be enacted on Finders. |
boolean |
isItalics()
Indicates whether or not the restricted data will be displayed using italics. |
boolean |
isUnderline()
Indicates whether or not the restricted data will be displayed using underline. |
void |
setBold(boolean b)
Sets whether or not the restricted data will be displayed using bold. |
void |
setConceptViewHideModeEnabled(boolean b)
Sets hide mode to be enabled, so restricted data will be hidden from view. |
void |
setConceptViewHighlightModeEnabled(boolean b)
Sets highlight mode to be enabled, so restricted data will be highlighted when viewed. |
void |
setFinderRestrictionEnabled(boolean b)
Sets restrictions to be enacted on Finders. |
void |
setItalics(boolean b)
Sets whether or not the restricted data will be displayed using italics. |
void |
setUnderline(boolean b)
Sets whether or not the restricted data will be displayed using underline. |
| 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 |
| Methods inherited from interface gov.nih.nlm.umls.meta.Restrictor |
|---|
keep |
| Methods inherited from interface java.util.Comparator |
|---|
compare, equals |
| Method Detail |
|---|
ConceptDataSelector getConceptDataSelector()
ConceptDataSelector.
ConceptDataSelectorboolean isItalics()
true if italics will be used;
false otherwisevoid setItalics(boolean b)
true - if italics will be used;
false otherwiseboolean isBold()
true if bold will be used;
false otherwisevoid setBold(boolean b)
true - if bold will be used;
false otherwiseboolean isUnderline()
true if underline will be used;
false otherwisevoid setUnderline(boolean b)
true - if underline will be used;
false otherwisevoid setFinderRestrictionEnabled(boolean b)
Finders.
b - true if finder restriction is enabled;
false otherwiseboolean isFinderRestrictionEnabled()
Finders.
true if restrictions will be enacted on Finders
false otherwisevoid setConceptViewHideModeEnabled(boolean b)
b - true if hide mode should be enabled;
false otherwiseboolean isConceptViewHideModeEnabled()
true if hide mode is enabled
false otherwisevoid setConceptViewHighlightModeEnabled(boolean b)
b - true if highlight mode is enabled
false otherwiseboolean isConceptViewHighlightModeEnabled()
true if highlight mode is enabled
false otherwiseString getStyleLegend()
List<Color> getColor(Object o)
List of Colors for which the given parameter
matches in the BrowserRestrictor's key.
o - Object
List<String> getStyle(Object o)
List of font styles for which the given parameter
matches in the BrowserRestrictor's key.
o - Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||