Enum Class StiDataBarShape
- All Implemented Interfaces:
Serializable,Comparable<StiDataBarShape>,Constable
The shape used to draw the data bar indicator. For Arrow and Banner shapes the figure is mirrored horizontally according to the value sign: it points to the right for positive values and to the left for negative ones. Copyright Stimulsoft
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic StiDataBarShapeReturns the enum constant of this class with the specified name.static StiDataBarShape[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Rectangle
Rectangular bar. Corner rounding, if any, is controlled by the CornerRadius property. The default shape. -
Arrow
Bar with an arrow-shaped tip. The tip points to the right for positive values and to the left for negative ones. -
Banner
Banner (ribbon) shape with a notch on one side and a pointed tip on the other. It is oriented for positive values and mirrored by 180 degrees for negative ones.
-
-
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
-