Autopsy  4.4
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.AbstractFilter Class Referenceabstract

Inherits org.sleuthkit.autopsy.timeline.filters.Filter.

Inherited by org.sleuthkit.autopsy.timeline.filters.CompoundFilter< SubFilterType extends Filter >, org.sleuthkit.autopsy.timeline.filters.DataSourceFilter, org.sleuthkit.autopsy.timeline.filters.DescriptionFilter, org.sleuthkit.autopsy.timeline.filters.HashSetFilter, org.sleuthkit.autopsy.timeline.filters.HideKnownFilter, org.sleuthkit.autopsy.timeline.filters.TagNameFilter, and org.sleuthkit.autopsy.timeline.filters.TextFilter.

Public Member Functions

BooleanBinding activeProperty ()
 
Filter copyOf ()
 
ObservableBooleanValue disabledProperty ()
 
String getDisplayName ()
 
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 BooleanBinding activeProperty = Bindings.and(selected, disabled.not())
 
final SimpleBooleanProperty disabled = new SimpleBooleanProperty(false)
 
final SimpleBooleanProperty selected = new SimpleBooleanProperty(true)
 

Detailed Description

Base implementation of a Filter. Implements active property.

Definition at line 30 of file AbstractFilter.java.

Member Function Documentation

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

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.TagNameFilter, org.sleuthkit.autopsy.timeline.filters.DataSourceFilter, org.sleuthkit.autopsy.timeline.filters.HashSetFilter, 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 ( )

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
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 ( )

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 ( )
boolean org.sleuthkit.autopsy.timeline.filters.AbstractFilter.isSelected ( )
SimpleBooleanProperty org.sleuthkit.autopsy.timeline.filters.AbstractFilter.selectedProperty ( )

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)
void org.sleuthkit.autopsy.timeline.filters.AbstractFilter.setSelected ( Boolean  selected)

Member Data Documentation

final BooleanBinding org.sleuthkit.autopsy.timeline.filters.AbstractFilter.activeProperty = Bindings.and(selected, disabled.not())
private

Definition at line 34 of file AbstractFilter.java.

final SimpleBooleanProperty org.sleuthkit.autopsy.timeline.filters.AbstractFilter.disabled = new SimpleBooleanProperty(false)
private
final SimpleBooleanProperty org.sleuthkit.autopsy.timeline.filters.AbstractFilter.selected = new SimpleBooleanProperty(true)
private

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

Copyright © 2012-2016 Basis Technology. Generated on: Tue Jun 13 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.