Package org.openstreetmap.josm.data.osm
Class Filter.FilterPreferenceEntry
- java.lang.Object
-
- org.openstreetmap.josm.data.osm.Filter.FilterPreferenceEntry
-
- Enclosing class:
- Filter
public static class Filter.FilterPreferenceEntry extends java.lang.Object
The class for storing and retrieving a filter from a preference entry
-
-
Field Summary
Fields Modifier and Type Field Description booleancase_sensitivebooleanenableEnabled status.booleanhidingIf this option is activated, the chosen objects are completely hidden.booleaninvertedNormally, the specified objects are hidden and the rest is shown.booleanmapCSS_searchjava.lang.StringmodeMode selector which defines how a filter is combined with the previous one: replace: replace selection add: add to selection remove: remove from selection in_selection: find in selectionbooleanregex_searchjava.lang.Stringtextjava.lang.StringversionSeeFilter.version
-
Constructor Summary
Constructors Constructor Description FilterPreferenceEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Field Detail
-
version
public java.lang.String version
SeeFilter.version
-
text
public java.lang.String text
-
mode
public java.lang.String mode
Mode selector which defines how a filter is combined with the previous one:- replace: replace selection
- add: add to selection
- remove: remove from selection
- in_selection: find in selection
- See Also:
SearchMode
-
case_sensitive
public boolean case_sensitive
-
regex_search
public boolean regex_search
-
mapCSS_search
public boolean mapCSS_search
-
enable
public boolean enable
Enabled status.- See Also:
Filter.enable
-
hiding
public boolean hiding
If this option is activated, the chosen objects are completely hidden. Otherwise they are disabled and shown in a shade of gray.- See Also:
Filter.hiding
-
inverted
public boolean inverted
Normally, the specified objects are hidden and the rest is shown. If this option is activated, only the specified objects are shown and the rest is hidden.- See Also:
Filter.inverted
-
-
Constructor Detail
-
FilterPreferenceEntry
public FilterPreferenceEntry()
-
-