19 package org.sleuthkit.autopsy.timeline.filters;
21 import java.util.Objects;
22 import javafx.beans.property.Property;
23 import javafx.beans.property.SimpleStringProperty;
24 import org.apache.commons.lang3.StringUtils;
25 import org.openide.util.NbBundle;
39 private final SimpleStringProperty
text =
new SimpleStringProperty();
41 synchronized public void setText(String text) {
46 @NbBundle.Messages(
"TextFilter.displayName.text=Text Filter")
48 return Bundle.TextFilter_displayName_text();
52 return text.getValue();
69 return "LOWER(text) LIKE LOWER(\'" + StringUtils.defaultIfBlank(text.getValue(),
"") +
"\')" +
getStringCheckBox();
77 if (getClass() != obj.getClass()) {
85 return Objects.
equals(text.get(), other.
text.get());
91 hash = 29 * hash + Objects.hashCode(this.text.get());
Property< String > textProperty()
void setDisabled(Boolean act)
synchronized String getText()
String getStringCheckBox()
synchronized void setText(String text)
final SimpleStringProperty text
boolean equals(Object obj)
String getHTMLReportString()
synchronized TextFilter copyOf()
void setSelected(Boolean act)