Package de.xima.fc.css.builder
Enum ECssPointerEvent
- All Implemented Interfaces:
CssDefaultValue
,Serializable
,Comparable<ECssPointerEvent>
Constants with the pre-defined values for the CSS property
pointer-events
.
The pointer-events CSS property sets under what circumstances (if any) a particular graphic element can become the target of pointer events.
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSVG only (experimental for HTML).The element behaves as it would if the pointer-events property were not specified.SVG only.The element is never the target of pointer events; however, pointer events may target its descendant elements if those descendants have pointer-events set to some other value.SVG only (experimental for HTML).SVG only.SVG only (experimental for HTML).SVG only.SVG only (experimental for HTML).SVG only. -
Field Summary
Fields inherited from interface de.xima.fc.css.builder.CssDefaultValue
INHERIT, INITIAL, REVERT, REVERT_LAYER, UNSET
-
Method Summary
Modifier and TypeMethodDescriptiontoString()
value()
static ECssPointerEvent
Returns the enum constant of this type with the specified name.static ECssPointerEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALL
SVG only (experimental for HTML). The element can only be the target of a pointer event when the pointer is over the interior (i.e., 'fill') or the perimeter (i.e., 'stroke') of the element. The values of thefill
,stroke
, andvisibility
properties do not affect event processing. -
AUTO
The element behaves as it would if the pointer-events property were not specified. In SVG content, this value and the valuevisiblePainted
have the same effect. -
FILL
SVG only. The element can only be the target of a pointer event when the pointer is over the interior (i.e., 'fill') of the element. The values of thefill
andvisibility
properties do not affect event processing. -
NONE
The element is never the target of pointer events; however, pointer events may target its descendant elements if those descendants have pointer-events set to some other value. In these circumstances, pointer events will trigger event listeners on this parent element as appropriate on their way to/from the descendant during the event capture/bubble phases. -
PAINTED
SVG only (experimental for HTML). The element can only be the target of a pointer event when e.g. the mouse cursor is over the interior (i.e., 'fill') of the element and thefill
property is set to a value other thannone
, or when the mouse cursor is over the perimeter (i.e., 'stroke') of the element and thestroke
property is set to a value other thannone
. The value of thevisibility
property does not affect event processing. -
STROKE
SVG only. The element can only be the target of a pointer event when the pointer is over the perimeter (i.e., 'stroke') of the element. The values of thestroke
andvisibility
properties do not affect event processing. -
VISIBLE
SVG only (experimental for HTML). The element can be the target of a pointer event when thevisibility
property is set tovisible
and e.g. the mouse cursor is over either the interior (i.e., 'fill') or the perimeter (i.e., 'stroke') of the element. The values of thefill
andstroke
do not affect event processing. -
VISIBLE_FILL
SVG only. The element can only be the target of a pointer event when thevisibility
property is set tovisible
and when e.g. a mouse cursor is over the interior (i.e., fill) of the element. The value of thefill
property does not affect event processing. -
VISIBLE_PAINTED
SVG only (experimental for HTML). The element can only be the target of a pointer event when thevisibility
property is set tovisible
and e.g. when a mouse cursor is over the interior (i.e., 'fill') of the element and thefill
property is set to a value other thannone
, or when a mouse cursor is over the perimeter (i.e., 'stroke') of the element and the stroke property is set to a value other than none. -
VISIBLE_STROKE
SVG only. The element can only be the target of a pointer event when thevisibility
property is set tovisible
and e.g. when the mouse cursor is over the perimeter (i.e., stroke) of the element. The value of thestroke
property does not affect event processing.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toString
- Overrides:
toString
in classEnum<ECssPointerEvent>
-
value
- Returns:
- The string value of this property that can be used when creating CSS strings.
-