Autopsy  4.9.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.timeline.filters.CompoundFilter< SubFilterType extends Filter > Class Template Referenceabstract

Inherits org.sleuthkit.autopsy.timeline.filters.AbstractFilter.

Public Member Functions

 CompoundFilter (List< SubFilterType > subFilters)
 
BooleanBinding activeProperty ()
 
Filter copyOf ()
 
ObservableBooleanValue disabledProperty ()
 
String getDisplayName ()
 
final ObservableList< SubFilterType > getSubFilters ()
 
int hashCode ()
 
boolean isActive ()
 
boolean isDisabled ()
 
boolean isSelected ()
 
SimpleBooleanProperty selectedProperty ()
 
void setDisabled (Boolean act)
 
void setSelected (Boolean act)
 

Static Public Member Functions

static IntersectionFilter< Filterintersect (ObservableList< Filter > filters)
 
static IntersectionFilter< Filterintersect (Filter[] filters)
 

Private Attributes

final ObservableList< SubFilterType > subFilters = FXCollections.observableArrayList()
 

Detailed Description

A Filter with a collection of Filter sub-filters. If this filter is not active than none of its sub-filters are applied either. Concrete implementations can decide how to combine the sub-filters.

a CompoundFilter uses listeners to enforce the following relationships between it and its sub-filters: if all of a compound filter's sub-filters become un-selected, un-select the compound filter.

Definition at line 36 of file CompoundFilter.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.filters.CompoundFilter< SubFilterType extends Filter >.CompoundFilter ( List< SubFilterType >  subFilters)

construct a compound filter from a list of other filters to combine.

Parameters
subFilters

Definition at line 52 of file CompoundFilter.java.

Member Function Documentation

BooleanBinding org.sleuthkit.autopsy.timeline.filters.AbstractFilter.activeProperty ( )
inherited

observable active property

Returns
the observable active property for this filter

Implements org.sleuthkit.autopsy.timeline.filters.Filter.

Definition at line 74 of file AbstractFilter.java.

Referenced by org.sleuthkit.autopsy.timeline.filters.AbstractFilter.isActive().

Filter org.sleuthkit.autopsy.timeline.filters.Filter.copyOf ( )
inherited

since filters have mutable state (selected/disabled/active) and are observed in various places, we need a mechanism to copy the current state to keep in the history.

Concrete sub classes should implement this in a way that preserves the state and any sub-filters.

Returns
a copy of this filter.

Implemented in org.sleuthkit.autopsy.timeline.filters.TextFilter, org.sleuthkit.autopsy.timeline.filters.DataSourceFilter, org.sleuthkit.autopsy.timeline.filters.HashSetFilter, org.sleuthkit.autopsy.timeline.filters.TagNameFilter, org.sleuthkit.autopsy.timeline.filters.DescriptionFilter, and org.sleuthkit.autopsy.timeline.filters.HideKnownFilter.

Referenced by org.sleuthkit.autopsy.timeline.filters.IntersectionFilter< Filter >.copyOf(), and org.sleuthkit.autopsy.timeline.filters.RootFilter.copyOf().

ObservableBooleanValue org.sleuthkit.autopsy.timeline.filters.AbstractFilter.disabledProperty ( )
inherited

observable disabled property

Returns
the observable disabled property for this filter

Implements org.sleuthkit.autopsy.timeline.filters.Filter.

Definition at line 42 of file AbstractFilter.java.

References org.sleuthkit.autopsy.timeline.filters.AbstractFilter.disabled.

Referenced by org.sleuthkit.autopsy.timeline.filters.AbstractFilter.isDisabled().

String org.sleuthkit.autopsy.timeline.filters.Filter.getDisplayName ( )
inherited
final ObservableList<SubFilterType> org.sleuthkit.autopsy.timeline.filters.CompoundFilter< SubFilterType extends Filter >.getSubFilters ( )
int org.sleuthkit.autopsy.timeline.filters.CompoundFilter< SubFilterType extends Filter >.hashCode ( )

Definition at line 87 of file CompoundFilter.java.

static IntersectionFilter<Filter> org.sleuthkit.autopsy.timeline.filters.Filter.intersect ( ObservableList< Filter filters)
staticinherited

get a filter that is the intersection of the given filters

Parameters
filtersa set of filters to intersect
Returns
a filter that is the intersection of the given filters

Definition at line 42 of file Filter.java.

Referenced by org.sleuthkit.autopsy.timeline.filters.Filter.intersect().

static IntersectionFilter<Filter> org.sleuthkit.autopsy.timeline.filters.Filter.intersect ( Filter[]  filters)
staticinherited

get a filter that is the intersection of the given filters

Parameters
filtersa set of filters to intersect
Returns
a filter that is the intersection of the given filters

Definition at line 53 of file Filter.java.

References org.sleuthkit.autopsy.timeline.filters.Filter.intersect().

boolean org.sleuthkit.autopsy.timeline.filters.AbstractFilter.isActive ( )
inherited

is this filter active (selected and not disabled)

Returns
true if this filter is active

Implements org.sleuthkit.autopsy.timeline.filters.Filter.

Definition at line 69 of file AbstractFilter.java.

References org.sleuthkit.autopsy.timeline.filters.AbstractFilter.activeProperty().

Referenced by org.sleuthkit.autopsy.timeline.ui.filtering.FilterTreeItem.disableSubFiltersIfNotActive().

boolean org.sleuthkit.autopsy.timeline.filters.AbstractFilter.isDisabled ( )
inherited
boolean org.sleuthkit.autopsy.timeline.filters.AbstractFilter.isSelected ( )
inherited
SimpleBooleanProperty org.sleuthkit.autopsy.timeline.filters.AbstractFilter.selectedProperty ( )
inherited

observable selected property

Returns
the observable selected property for this filter

Implements org.sleuthkit.autopsy.timeline.filters.Filter.

Definition at line 37 of file AbstractFilter.java.

References org.sleuthkit.autopsy.timeline.filters.AbstractFilter.selected.

Referenced by org.sleuthkit.autopsy.timeline.filters.HideKnownFilter.HideKnownFilter().

void org.sleuthkit.autopsy.timeline.filters.AbstractFilter.setDisabled ( Boolean  act)
inherited
void org.sleuthkit.autopsy.timeline.filters.AbstractFilter.setSelected ( Boolean  selected)
inherited

Member Data Documentation

final ObservableList<SubFilterType> org.sleuthkit.autopsy.timeline.filters.CompoundFilter< SubFilterType extends Filter >.subFilters = FXCollections.observableArrayList()
private

the list of sub-filters that make up this filter

Definition at line 41 of file CompoundFilter.java.

Referenced by org.sleuthkit.autopsy.timeline.filters.CompoundFilter< SubFilterType >.getSubFilters().


The documentation for this class was generated from the following file:

Copyright © 2012-2018 Basis Technology. Generated on: Tue Dec 18 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.