Enum TransitionDirection
- java.lang.Object
-
- java.lang.Enum<TransitionDirection>
-
- net.webpdf.wsclient.schema.operation.TransitionDirection
-
- All Implemented Interfaces:
Serializable,Comparable<TransitionDirection>
public enum TransitionDirection extends Enum<TransitionDirection>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p490833_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p603985_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p985611_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The direction of the transition animation (provided that it can be applied to the animation). <ul><li>leftToRight = From left to right</li><li>bottomToTop = From bottom to top</li><li>rightToLeft = From right to left</li><li>topToBottom = From top to bottom</li><li>topLeftToBottomRight = From top left to bottom right</li><li>none = Use the default value for the animation</li></ul></p>Java class for TransitionDirection
.The following schema fragment specifies the expected content contained within this class.
<simpleType name="TransitionDirection"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="leftToRight"/> <enumeration value="bottomToTop"/> <enumeration value="rightToLeft"/> <enumeration value="topToBottom"/> <enumeration value="topLeftToBottomRight"/> <enumeration value="none"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOM_TO_TOPLEFT_TO_RIGHTNONERIGHT_TO_LEFTTOP_LEFT_TO_BOTTOM_RIGHTTOP_TO_BOTTOM
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransitionDirectionfromValue(String v)Gets the enum associated to the value passed as parameter.Stringvalue()Gets the value associated to the enum constant.static TransitionDirectionvalueOf(String name)Returns the enum constant of this type with the specified name.static TransitionDirection[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEFT_TO_RIGHT
public static final TransitionDirection LEFT_TO_RIGHT
-
BOTTOM_TO_TOP
public static final TransitionDirection BOTTOM_TO_TOP
-
RIGHT_TO_LEFT
public static final TransitionDirection RIGHT_TO_LEFT
-
TOP_TO_BOTTOM
public static final TransitionDirection TOP_TO_BOTTOM
-
TOP_LEFT_TO_BOTTOM_RIGHT
public static final TransitionDirection TOP_LEFT_TO_BOTTOM_RIGHT
-
NONE
public static final TransitionDirection NONE
-
-
Method Detail
-
values
public static TransitionDirection[] 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 (TransitionDirection c : TransitionDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransitionDirection 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
-
value
public String value()
Gets the value associated to the enum constant.- Returns:
- The value linked to the enum.
-
fromValue
public static TransitionDirection fromValue(String v)
Gets the enum associated to the value passed as parameter.- Parameters:
v- The value to get the enum from.- Returns:
- The enum which corresponds to the value, if it exists.
- Throws:
IllegalArgumentException- If no value matches in the enum declaration.
-
-