Enum LineInterpolation
- All Implemented Interfaces:
Serializable, Comparable<LineInterpolation>, java.lang.constant.Constable, org.eclipse.emf.common.util.Enumerator
public enum LineInterpolation
extends Enum<LineInterpolation>
implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration '
Line Interpolation', and utility methods for working with
them.
This type represents how a Line Series joins two consecutive data points: a
straight segment (Linear), or a staircase that steps at the first point
(StepBefore), at the second (StepAfter) or half way between (StepCenter).
- Since:
- 4.25
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe 'Linear' literal object.The 'Step After' literal object.The 'Step Before' literal object.The 'Step Center' literal object. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe 'Linear' literal value.static final intThe 'Step After' literal value.static final intThe 'Step Before' literal value.static final intThe 'Step Center' literal value.static final List<LineInterpolation> A public read-only list of all the 'Line Interpolation' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionstatic LineInterpolationget(int value) Returns the 'Line Interpolation' literal with the specified integer value.static LineInterpolationReturns the 'Line Interpolation' literal with the specified literal value.static LineInterpolationReturns the 'Line Interpolation' literal with the specified name.getName()intgetValue()toString()static LineInterpolationReturns the enum constant of this type with the specified name.static LineInterpolation[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
LINEAR_LITERAL
-
STEP_BEFORE_LITERAL
The 'Step Before' literal object.- See Also:
-
STEP_AFTER_LITERAL
-
STEP_CENTER_LITERAL
The 'Step Center' literal object.- See Also:
-
-
Field Details
-
LINEAR
public static final int LINEARThe 'Linear' literal value.- See Also:
-
STEP_BEFORE
public static final int STEP_BEFOREThe 'Step Before' literal value.- See Also:
-
STEP_AFTER
public static final int STEP_AFTERThe 'Step After' literal value.- See Also:
-
STEP_CENTER
public static final int STEP_CENTERThe 'Step Center' literal value.- See Also:
-
VALUES
A public read-only list of all the 'Line Interpolation' enumerators.
-
-
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
-
get
Returns the 'Line Interpolation' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
Returns the 'Line Interpolation' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
Returns the 'Line Interpolation' literal with the specified integer value.- Parameters:
value- the integer value.- Returns:
- the matching enumerator or
null.
-
getValue
public int getValue()- Specified by:
getValuein interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
- Specified by:
getNamein interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
- Specified by:
getLiteralin interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
- Overrides:
toStringin classEnum<LineInterpolation>
-