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

## biouml.model
Interface DiagramFilter

All Known Implementing Classes:
  AbstractFilter

public interface DiagramFilter

Filter cab be applied to any diagram view. Generally it should highlight (background node view can be used for this purpose) or hide nodes according to some criterea.

Method Summary
`void` | `apply(Compartment diagram)` Hides or highlights diagram elements according to filter settings.
`java.awt.Component` | `getOptionsControl()` returns visual control to set up the filter options.
`boolean` | `isEnabled()` Indicates whether a filter should be used.
`void` | `restoreView(Compartment diagram)` Restores original diagram view.

Method Detail

### isEnabled

    public boolean isEnabled()

  Indicates whether a filter should be used.

### apply

    public void apply(Compartment diagram)

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

### restoreView

    public void restoreView(Compartment diagram)

  Restores original diagram view.

### getOptionsControl

    public java.awt.Component getOptionsControl()

  returns visual control to set up the filter options.

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

Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.