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. |
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. |
apply
public void apply(Compartment diagram)
- Hides or highlights diagram elements according to filter settings.
Prerequisite: diagram view should be generated by DiagramViewBuilder.
getOptionsControl
public Component getOptionsControl()
- returns visual control to set up the filter options.
isEnabled
public boolean isEnabled()
- Indicates whether a filter should be used.
restoreView
public void restoreView(Compartment diagram)
- Restores original diagram view.
BOTTOM