Package limn.accessibility
Enum Class Accessible.Relation
- All Implemented Interfaces:
Serializable,Comparable<Accessible.Relation>,Constable
- Enclosing class:
Accessible
A link between two nodes that the tree's parent-and-child shape cannot carry.
A relation is resolved to the nearest published ancestor of its target and is dropped when there is none: a relation naming a node that was never published is worse than no relation at all, because every platform answers it with an element that does not resolve.
A 1.x minor release may add constants to this enum: a switch over it needs a
default branch.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis node is changed by the target; the mirror ofCONTROLLER_FOR.Operating this node changes the target.This node's description comes from the target.This node is the name of the target; the mirror ofLABELLED_BY.This node's name comes from the target.This node is one member of the target group.This node is the popup the target opened. -
Method Summary
Modifier and TypeMethodDescriptionstatic Accessible.RelationReturns the enum constant of this class with the specified name.static Accessible.Relation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LABELLED_BY
This node's name comes from the target. -
LABEL_FOR
This node is the name of the target; the mirror ofLABELLED_BY. -
DESCRIBED_BY
This node's description comes from the target. -
CONTROLLER_FOR
Operating this node changes the target. -
CONTROLLED_BY
This node is changed by the target; the mirror ofCONTROLLER_FOR. -
MEMBER_OF
This node is one member of the target group. -
POPUP_FOR
This node is the popup the target opened.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-