java.lang.Object
eu.hansolo.fx.charts.data.ChartItem
eu.hansolo.fx.charts.data.CandleChartItem
- All Implemented Interfaces:
Item,Comparable<ChartItem>
-
Property Summary
Properties -
Field Summary
Fields inherited from class eu.hansolo.fx.charts.data.ChartItem
FINISHED_EVENT, observers, SELECTED_EVENT, UPDATE_EVENT -
Constructor Summary
ConstructorsConstructorDescriptionCandleChartItem(String name, String unit, String description, double low, double open, double close, double high, Instant timestamp) CandleChartItem(String name, String unit, String description, double low, double open, double close, double high, Instant timestamp, Instant openTimestamp, Instant closeTimestamp) CandleChartItem(String name, String unit, String description, double low, double open, double close, double high, ZonedDateTime timestamp) -
Method Summary
Modifier and TypeMethodDescriptionjavafx.beans.property.DoublePropertyjavafx.beans.property.ObjectProperty<Instant>doublegetClose()Gets the value of the property close.Gets the value of the property closeTimestamp.doublegetHigh()Gets the value of the property high.doublegetLow()Gets the value of the property low.doublegetOpen()Gets the value of the property open.Gets the value of the property openTimestamp.javafx.beans.property.DoublePropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.ObjectProperty<Instant>voidsetClose(double close) Sets the value of the property close.voidsetCloseTimestamp(long closeTimestampEpochSecond) Sets the value of the property closeTimestamp.voidsetCloseTimestamp(Instant closeTimestamp) voidsetHigh(double high) Sets the value of the property high.voidsetLow(double low) Sets the value of the property low.voidsetOpen(double open) Sets the value of the property open.voidsetOpenTimestamp(long openTimestampEpochSecond) Sets the value of the property openTimestamp.voidsetOpenTimestamp(Instant openTimestamp) toString()voidvalidate()Methods inherited from class eu.hansolo.fx.charts.data.ChartItem
addChartEvtObserver, animatedProperty, categoryProperty, compareTo, descriptionProperty, equals, fillProperty, fireChartEvt, getAnimationDuration, getCategory, getDescription, getFill, getIndex, getMetadata, getName, getOldValue, getStroke, getSymbol, getTextFill, getTimestamp, getTimestampAdDateTime, getTimestampAsDateTime, getTimestampAsLocalDate, getTimestampAsLocalDate, getUnit, getValue, getX, getY, indexProperty, isAnimated, isEmptyItem, isEmptyProperty, isSelected, metadataProperty, nameProperty, removeAllChartEvtObservers, removeChartEvtObserver, selectedProperty, setAnimated, setAnimationDuration, setCategory, setDescription, setFill, setIndex, setIsEmpty, setMetadata, setName, setSelected, setStroke, setSymbol, setTextFill, setTimestamp, setTimestamp, setTimestamp, setUnit, setValue, setX, setY, strokeProperty, symbolProperty, textFillProperty, timestampProperty, unitProperty, valueProperty, xProperty, yProperty
-
Property Details
-
high
public javafx.beans.property.DoubleProperty highProperty- See Also:
-
low
public javafx.beans.property.DoubleProperty lowProperty- See Also:
-
open
public javafx.beans.property.DoubleProperty openProperty- See Also:
-
close
public javafx.beans.property.DoubleProperty closeProperty- See Also:
-
openTimestamp
- See Also:
-
closeTimestamp
- See Also:
-
-
Constructor Details
-
CandleChartItem
public CandleChartItem() -
CandleChartItem
public CandleChartItem(String name, String unit, String description, double low, double open, double close, double high, ZonedDateTime timestamp) -
CandleChartItem
-
CandleChartItem
-
-
Method Details
-
getHigh
public double getHigh()Gets the value of the property high.- Property description:
-
setHigh
public void setHigh(double high) Sets the value of the property high.- Property description:
-
highProperty
public javafx.beans.property.DoubleProperty highProperty()- See Also:
-
getLow
public double getLow()Gets the value of the property low.- Property description:
-
setLow
public void setLow(double low) Sets the value of the property low.- Property description:
-
lowProperty
public javafx.beans.property.DoubleProperty lowProperty()- See Also:
-
getOpen
public double getOpen()Gets the value of the property open.- Property description:
-
setOpen
public void setOpen(double open) Sets the value of the property open.- Property description:
-
openProperty
public javafx.beans.property.DoubleProperty openProperty()- See Also:
-
getClose
public double getClose()Gets the value of the property close.- Property description:
-
setClose
public void setClose(double close) Sets the value of the property close.- Property description:
-
closeProperty
public javafx.beans.property.DoubleProperty closeProperty()- See Also:
-
getOpenTimestamp
Gets the value of the property openTimestamp.- Property description:
-
setOpenTimestamp
public void setOpenTimestamp(long openTimestampEpochSecond) Sets the value of the property openTimestamp.- Property description:
-
setOpenTimestamp
-
openTimestampProperty
- See Also:
-
getCloseTimestamp
Gets the value of the property closeTimestamp.- Property description:
-
setCloseTimestamp
public void setCloseTimestamp(long closeTimestampEpochSecond) Sets the value of the property closeTimestamp.- Property description:
-
setCloseTimestamp
-
closeTimestampProperty
- See Also:
-
validate
public void validate() -
toString
-