Enum ChartLineType
- java.lang.Object
-
- java.lang.Enum<ChartLineType>
-
- net.n2oapp.framework.api.metadata.meta.widget.chart.ChartLineType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ChartLineType>
public enum ChartLineType extends java.lang.Enum<ChartLineType>
Тип интерполяции линии на графике
-
-
Enum Constant Summary
Enum Constants Enum Constant Description basisbasisClosedbasisOpenlinearlinearClosedmonotonemonotoneXmonotoneYnaturalstepstepAfterstepBefore
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChartLineTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ChartLineType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
basis
public static final ChartLineType basis
-
basisClosed
public static final ChartLineType basisClosed
-
basisOpen
public static final ChartLineType basisOpen
-
linear
public static final ChartLineType linear
-
linearClosed
public static final ChartLineType linearClosed
-
natural
public static final ChartLineType natural
-
monotoneX
public static final ChartLineType monotoneX
-
monotoneY
public static final ChartLineType monotoneY
-
monotone
public static final ChartLineType monotone
-
step
public static final ChartLineType step
-
stepBefore
public static final ChartLineType stepBefore
-
stepAfter
public static final ChartLineType stepAfter
-
-
Method Detail
-
values
public static ChartLineType[] 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 (ChartLineType c : ChartLineType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChartLineType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-