Overview | Package | Class | Use | Tree | Help
| HEADER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## biouml.model
Class AbstractFilter

    |
    +--biouml.model.AbstractFilter

Direct Known Subclasses:
  BiopolimerDiagramFilter

public abstract class AbstractFilter
extends Option
implements DiagramFilter

Utility class that provides support for basic diagram filter operations. Subclasses should define processNode(biouml.model.Node) method that should highlight or hide node view depending on filter settings.

Method Summary
`void` | `apply(Compartment diagram)` Hides or highlights diagram elements according to filter settings.
`boolean` | `isEnabled()`
`void` | `restoreView(Compartment diagram)` Restores original diagram view.
`void` | `setEnabled(boolean enabled)`

Method Detail

### apply

    public void apply(Compartment diagram)

  Hides or highlights diagram elements according to filter settings. Prerequisite: diagram view should be generated by DiagramViewBuilder.

### isEnabled

    public boolean isEnabled()

### restoreView

    public void restoreView(Compartment diagram)

  Restores original diagram view. For this purpose it makes visible all views and removes nodes backgound view that is used for highlighting.

### setEnabled

    public void setEnabled(boolean enabled)

Overview | Package | Class | Use | Tree | Help
| FOOTER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

BOTTOM