|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FilterMatcher.FilterType>
org.openstreetmap.josm.data.osm.FilterMatcher.FilterType
public static enum FilterMatcher.FilterType
Describes quality of the filtering.
Depending on the context, this can either refer to disabled or
to hidden primitives.
The distinction is necessary, because untagged nodes should only
"inherit" their filter property from the parent way, when the
parent way is hidden (or disabled) "explicitly" (i.e. by a non-inverted
filter). This way, filters like
["child type:way", inverted, Add]
show the
untagged way nodes, as intended.
This information is only needed for ways and relations, so nodes are
either NOT_FILTERED
or PASSIV
.
Enum Constant Summary | |
---|---|
EXPLICIT
at least one non-inverted filter applies |
|
NOT_FILTERED
no filter applies |
|
PASSIV
at least one filter applies, but they are all inverted filters |
Method Summary | |
---|---|
static FilterMatcher.FilterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FilterMatcher.FilterType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FilterMatcher.FilterType NOT_FILTERED
public static final FilterMatcher.FilterType EXPLICIT
public static final FilterMatcher.FilterType PASSIV
Method Detail |
---|
public static FilterMatcher.FilterType[] values()
for (FilterMatcher.FilterType c : FilterMatcher.FilterType.values()) System.out.println(c);
public static FilterMatcher.FilterType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |