Class AutoFilter
java.lang.Object
org.openstreetmap.josm.gui.autofilter.AutoFilter
An auto filter is a graphical shortcut to enable a filter for a specific tag.
- Since:
- 12400
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final AutoFilterManager.CompiledFilterprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionAutoFilter(String label, String description, AutoFilterManager.CompiledFilter filter) Constructs a newAutoFilter. -
Method Summary
-
Field Details
-
label
-
description
-
filter
-
-
Constructor Details
-
AutoFilter
Constructs a newAutoFilter.- Parameters:
label- button labeldescription- button tooltipfilter- associated filter
-
-
Method Details
-
getLabel
Returns the button label.- Returns:
- the button label
-
getDescription
Returns the button tooltip.- Returns:
- the button tooltip
-
getFilter
Returns the filter.- Returns:
- the filter
-
hashCode
-
equals
-
toString
-