Enum Class Enums.PriceBarType
- All Implemented Interfaces:
ItemMeta
,Serializable
,Comparable<Enums.PriceBarType>
,Constable
- Enclosing interface:
Enums
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic Enums.PriceBarType
boolean
isBar()
boolean
isFill()
boolean
boolean
isLine()
boolean
isSquare()
boolean
toString()
static Enums.PriceBarType
Returns the enum constant of this class with the specified name.static Enums.PriceBarType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OHLC
-
CANDLESTICK
-
TRENDSTICK
-
HOLLOWSTICK
-
FLATSTICK
-
HLC
-
HL
-
THREED_STICK
-
LINE
-
LINE_FILL
-
LINE_GRADIENT
-
SQUARE_LINE
-
SQUARE_LINE_FILL
-
SQUARE_LINE_GRADIENT
-
BAR
-
BAR_FLAT
-
BAR_3D
-
-
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
-
requiresInput
public boolean requiresInput() -
isLine
public boolean isLine() -
isSquare
public boolean isSquare() -
getShortCode
- Specified by:
getShortCode
in interfaceItemMeta
-
isFill
public boolean isFill() -
isBar
public boolean isBar() -
isGradient
public boolean isGradient() -
toString
- Overrides:
toString
in classEnum<Enums.PriceBarType>
-
fromCode
-