Autopsy  3.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Filter.java
Go to the documentation of this file.
1 /*
2  * Autopsy Forensic Browser
3  *
4  * Copyright 2014 Basis Technology Corp.
5  * Contact: carrier <at> sleuthkit <dot> org
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 package org.sleuthkit.autopsy.timeline.filters;
20 
21 import javafx.beans.property.SimpleBooleanProperty;
22 import javafx.collections.FXCollections;
23 import javafx.collections.ObservableList;
25 
27 public interface Filter {
28 
32  }
33 
38  public static IntersectionFilter intersect(ObservableList<Filter> filters) {
39  return new IntersectionFilter(filters);
40  }
41 
46  public static IntersectionFilter intersect(Filter[] filters) {
47  return new IntersectionFilter(FXCollections.observableArrayList(filters));
48  }
49 
57  Filter copyOf();
58 
59  String getDisplayName();
60 
61  String getHTMLReportString();
62 
63  String getStringCheckBox();
64 
65  boolean isActive();
66 
67  void setActive(Boolean act);
68 
69  SimpleBooleanProperty getActiveProperty();
70 
71  /* TODO: disabled state only affects the state of the checkboxes in the ui
72  * and not the actual filters and shouldn't be implemented here, but it
73  * was too hard to figure out how it should be implemented without intruding
74  * on the ui-ignorant filters */
75  void setDisabled(Boolean act);
76 
77  SimpleBooleanProperty getDisabledProperty();
78 
79  boolean isDisabled();
80 }
static IntersectionFilter intersect(ObservableList< Filter > filters)
Definition: Filter.java:38
static IntersectionFilter intersect(Filter[] filters)
Definition: Filter.java:46

Copyright © 2012-2015 Basis Technology. Generated on: Mon Oct 19 2015
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.