public enum StyleOrigin extends Enum<StyleOrigin>
Enum Constant and Description |
---|
AUTHOR
The stylesheet is an external file
|
INLINE
The style is from the Node via setStyle
|
USER
The value of a property was set by the user through a call to a set method
|
USER_AGENT
The stylesheet is a user-agent stylesheet
|
Modifier and Type | Method and Description |
---|---|
static StyleOrigin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StyleOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StyleOrigin USER_AGENT
public static final StyleOrigin USER
public static final StyleOrigin AUTHOR
public static final StyleOrigin INLINE
public static StyleOrigin[] values()
for (StyleOrigin c : StyleOrigin.values()) System.out.println(c);
public static StyleOrigin valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.