Enum Selector.ChildOrParentSelectorType
- java.lang.Object
-
- java.lang.Enum<Selector.ChildOrParentSelectorType>
-
- org.openstreetmap.josm.gui.mappaint.mapcss.Selector.ChildOrParentSelectorType
-
- All Implemented Interfaces:
Serializable
,Comparable<Selector.ChildOrParentSelectorType>
- Enclosing interface:
- Selector
public static enum Selector.ChildOrParentSelectorType extends Enum<Selector.ChildOrParentSelectorType>
The type of child of parent selector.- See Also:
Selector.ChildOrParentSelector
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHILD
CROSSING
NOT_SUBSET_OR_EQUAL
NOT_SUPERSET_OR_EQUAL
PARENT
SIBLING
SUBSET_OR_EQUAL
SUPERSET_OR_EQUAL
-
Constructor Summary
Constructors Modifier Constructor Description private
ChildOrParentSelectorType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Selector.ChildOrParentSelectorType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Selector.ChildOrParentSelectorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHILD
public static final Selector.ChildOrParentSelectorType CHILD
-
PARENT
public static final Selector.ChildOrParentSelectorType PARENT
-
SUBSET_OR_EQUAL
public static final Selector.ChildOrParentSelectorType SUBSET_OR_EQUAL
-
NOT_SUBSET_OR_EQUAL
public static final Selector.ChildOrParentSelectorType NOT_SUBSET_OR_EQUAL
-
SUPERSET_OR_EQUAL
public static final Selector.ChildOrParentSelectorType SUPERSET_OR_EQUAL
-
NOT_SUPERSET_OR_EQUAL
public static final Selector.ChildOrParentSelectorType NOT_SUPERSET_OR_EQUAL
-
CROSSING
public static final Selector.ChildOrParentSelectorType CROSSING
-
SIBLING
public static final Selector.ChildOrParentSelectorType SIBLING
-
-
Constructor Detail
-
ChildOrParentSelectorType
private ChildOrParentSelectorType()
-
-
Method Detail
-
values
public static Selector.ChildOrParentSelectorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Selector.ChildOrParentSelectorType c : Selector.ChildOrParentSelectorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Selector.ChildOrParentSelectorType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-