|
|||||||||
| 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.browser.AbstractBrowserRestrictor
gov.nih.nlm.mms.browser.ShowAllBrowserRestrictor
public class ShowAllBrowserRestrictor
Default BrowserRestrictor which doesn't restrict at all. It
shows, or makes available, all data.
| Field Summary |
|---|
| Fields inherited from class gov.nih.nlm.mms.browser.AbstractBrowserRestrictor |
|---|
cds |
| Fields inherited from class gov.nih.nlm.mms.AbstractGUIConfigurable |
|---|
data_changed, default_configuration, listeners, user_configuration |
| Constructor Summary | |
|---|---|
ShowAllBrowserRestrictor()
|
|
| Method Summary | |
|---|---|
int |
compare(Object o1,
Object o2)
Compares this object with the specified object for order. |
Color |
getColor()
Returns the color in which the restricted data will be displayed. |
String |
getName()
Returns the name. |
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. |
String |
getTabDescription()
Return the description to appear above the main configuration panel in the BrowserRestrictorOptionsGUI. |
boolean |
hasAdvancedOptions()
Indicates whether or not an options menu item should be supplied for advanced configuration options. |
boolean |
keep(Object o)
Indicates if the given Object should be kept according to
the restriction rules of this BrowserRestrictor
return true if Object should be kept
false otherwise |
| Methods inherited from class gov.nih.nlm.mms.browser.AbstractBrowserRestrictor |
|---|
equals, getColor, getConceptDataSelector, getProperties, getStyle, isBold, isConceptViewHideModeEnabled, isConceptViewHighlightModeEnabled, isFinderRestrictionEnabled, isItalics, isUnderline, setBold, setConceptViewHideModeEnabled, setConceptViewHighlightModeEnabled, setFinderRestrictionEnabled, setItalics, setProperties, setUnderline, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface gov.nih.nlm.mms.browser.BrowserRestrictor |
|---|
getColor, getConceptDataSelector, getStyle, isBold, isConceptViewHideModeEnabled, isConceptViewHighlightModeEnabled, isFinderRestrictionEnabled, isItalics, isUnderline, setBold, setConceptViewHideModeEnabled, setConceptViewHighlightModeEnabled, setFinderRestrictionEnabled, setItalics, setUnderline |
| Methods inherited from interface gov.nih.nlm.mms.GUIConfigurable |
|---|
addDataChangeListener, getGUIConfigurableForValidationFailure, getHelpPanel, getPanel, getValidationErrors, getValidationWarnings, 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 java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public ShowAllBrowserRestrictor()
| Method Detail |
|---|
public boolean keep(Object o)
Object should be kept according to
the restriction rules of this BrowserRestrictor
return true if Object should be kept
false otherwise
keep in interface Restrictorkeep in class AbstractBrowserRestrictortrue object will be kept
false otherwise
public int compare(Object o1,
Object o2)
Required method for implementing
Comparable interface.
Indicates the means for comparison between two Filters.
compare in interface Comparatoro1 - the first Object to be compared.02 - the second Object to be compared.
ClassCastException - if the specified object's type is not
GUIConfigurable.public String getName()
getName in interface GUIConfigurablegetName in class AbstractGUIConfigurablepublic String getTabDescription()
BrowserRestrictorOptionsGUI.
getTabDescription in interface GUIConfigurablegetTabDescription in class AbstractGUIConfigurableStringpublic Color getColor()
getColor in interface GUIConfigurablegetColor in class AbstractGUIConfigurableColor in which restricted data will be highlightedpublic boolean hasAdvancedOptions()
hasAdvancedOptions in interface GUIConfigurablehasAdvancedOptions in class AbstractBrowserRestrictortrue if so; false otherwisepublic String getStyleLegend()
getStyleLegend in interface BrowserRestrictor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||