java.lang.Object
eu.hansolo.fx.charts.data.ChartItem
- All Implemented Interfaces:
Item,Comparable<ChartItem>
- Direct Known Subclasses:
CandleChartItem,GraphNode
-
Property Summary
PropertiesTypePropertyDescriptionjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<Category>javafx.beans.property.StringPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.IntegerPropertyjavafx.beans.property.ObjectProperty<Metadata>javafx.beans.property.StringPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.ObjectProperty<Symbol>javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.ObjectProperty<Instant>javafx.beans.property.StringPropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.DoubleProperty -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChartItem(boolean IS_EMPTY) ChartItem(double VALUE) ChartItem(double VALUE, boolean IS_EMPTY) ChartItem(double VALUE, javafx.scene.paint.Color FILL_COLOR) ChartItem(double VALUE, javafx.scene.paint.Color FILL_COLOR, boolean IS_EMPTY) ChartItem(String NAME, double VALUE, javafx.scene.paint.Color FILL, Instant TIMESTAMP, boolean IS_EMPTY) ChartItem(String NAME, double VALUE, javafx.scene.paint.Color FILL, Instant TIMESTAMP, boolean ANIMATED, long ANIMATION_DURATION) ChartItem(String NAME, double VALUE, javafx.scene.paint.Color FILL, Instant TIMESTAMP, boolean ANIMATED, long ANIMATION_DURATION, boolean IS_EMPTY) ChartItem(String NAME, double VALUE, javafx.scene.paint.Color FILL, javafx.scene.paint.Color TEXT_FILL) ChartItem(String NAME, double VALUE, javafx.scene.paint.Color FILL, javafx.scene.paint.Color TEXT_FILL, boolean IS_EMPTY) ChartItem(String NAME, double VALUE, javafx.scene.paint.Color FILL, javafx.scene.paint.Color TEXT_FILL, Instant TIMESTAMP) ChartItem(String NAME, double VALUE, javafx.scene.paint.Color FILL, javafx.scene.paint.Color TEXT_FILL, Instant TIMESTAMP, boolean IS_EMPTY) ChartItem(String NAME, double VALUE, javafx.scene.paint.Color FILL, javafx.scene.paint.Color TEXT_FILL, Instant TIMESTAMP, boolean ANIMATED, long ANIMATION_DURATION) ChartItem(String NAME, double VALUE, javafx.scene.paint.Color FILL, javafx.scene.paint.Color TEXT_FILL, Instant TIMESTAMP, boolean ANIMATED, long ANIMATION_DURATION, boolean IS_EMPTY) ChartItem(String NAME, double VALUE, javafx.scene.paint.Color FILL, javafx.scene.paint.Color STROKE, javafx.scene.paint.Color TEXT_FILL, Instant TIMESTAMP, boolean ANIMATED, long ANIMATION_DURATION) ChartItem(String NAME, double VALUE, javafx.scene.paint.Color FILL, javafx.scene.paint.Color STROKE, javafx.scene.paint.Color TEXT_FILL, Instant TIMESTAMP, boolean ANIMATED, long ANIMATION_DURATION, boolean IS_EMPTY) ChartItem(String NAME, double VALUE, javafx.scene.paint.Color FILL, javafx.scene.paint.Color STROKE, javafx.scene.paint.Color TEXT_FILL, Instant TIMESTAMP, boolean ANIMATED, long ANIMATION_DURATION, boolean IS_EMPTY, Metadata METADATA) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChartEvtObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<ChartEvt> observer) javafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<Category>intjavafx.beans.property.StringPropertybooleanjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>voidfireChartEvt(ChartEvt evt) longGets the value of the property category.Gets the value of the property description.javafx.scene.paint.ColorgetFill()Gets the value of the property fill.intgetIndex()Gets the value of the property index.Gets the value of the property metadata.getName()Gets the value of the property name.doublejavafx.scene.paint.ColorGets the value of the property stroke.Gets the value of the property symbol.javafx.scene.paint.ColorGets the value of the property textFill.Gets the value of the property timestamp.getTimestampAsDateTime(ZoneId ZONE_ID) getTimestampAsLocalDate(ZoneId ZONE_ID) getUnit()Gets the value of the property unit.doublegetValue()Gets the value of the property value.doublegetX()Gets the value of the property x.doublegetY()Gets the value of the property y.javafx.beans.property.IntegerPropertybooleanGets the value of the property animated.booleanjavafx.beans.property.BooleanPropertybooleanGets the value of the property selected.javafx.beans.property.ObjectProperty<Metadata>javafx.beans.property.StringPropertyvoidvoidremoveChartEvtObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<ChartEvt> observer) javafx.beans.property.BooleanPropertyvoidsetAnimated(boolean ANIMATED) Sets the value of the property animated.voidsetAnimationDuration(long DURATION) voidsetCategory(Category CATEGORY) Sets the value of the property category.voidsetDescription(String DESCRIPTION) Sets the value of the property description.voidsetFill(javafx.scene.paint.Color FILL) Sets the value of the property fill.voidsetIndex(int index) Sets the value of the property index.voidsetIsEmpty(boolean isEmpty) voidsetMetadata(Metadata metadata) Sets the value of the property metadata.voidSets the value of the property name.voidsetSelected(boolean selected) Sets the value of the property selected.voidsetStroke(javafx.scene.paint.Color STROKE) Sets the value of the property stroke.voidSets the value of the property symbol.voidsetTextFill(javafx.scene.paint.Color COLOR) Sets the value of the property textFill.voidsetTimestamp(long TIMESTAMP_EPOCH_SECOND) voidsetTimestamp(Instant TIMESTAMP) voidsetTimestamp(ZonedDateTime TIMESTAMP) Sets the value of the property timestamp.voidSets the value of the property unit.voidsetValue(double VALUE) Sets the value of the property value.voidsetX(double X) Sets the value of the property x.voidsetY(double Y) Sets the value of the property y.javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.ObjectProperty<Symbol>javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.ObjectProperty<Instant>toString()javafx.beans.property.StringPropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.DoubleProperty
-
Property Details
-
index
public javafx.beans.property.IntegerProperty indexProperty- See Also:
-
name
public javafx.beans.property.StringProperty nameProperty- See Also:
-
unit
public javafx.beans.property.StringProperty unitProperty- See Also:
-
description
public javafx.beans.property.StringProperty descriptionProperty- See Also:
-
category
- See Also:
-
value
public javafx.beans.property.DoubleProperty valueProperty- See Also:
-
fill
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> fillProperty- See Also:
-
stroke
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> strokeProperty- See Also:
-
textFill
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> textFillProperty- See Also:
-
symbol
- See Also:
-
timestamp
- See Also:
-
animated
public javafx.beans.property.BooleanProperty animatedProperty- See Also:
-
x
public javafx.beans.property.DoubleProperty xProperty- See Also:
-
y
public javafx.beans.property.DoubleProperty yProperty- See Also:
-
selected
public javafx.beans.property.BooleanProperty selectedProperty- See Also:
-
metadata
- See Also:
-
-
Field Details
-
UPDATE_EVENT
-
FINISHED_EVENT
-
SELECTED_EVENT
-
observers
-
-
Constructor Details
-
ChartItem
public ChartItem() -
ChartItem
public ChartItem(boolean IS_EMPTY) -
ChartItem
-
ChartItem
-
ChartItem
public ChartItem(double VALUE) -
ChartItem
public ChartItem(double VALUE, boolean IS_EMPTY) -
ChartItem
-
ChartItem
-
ChartItem
public ChartItem(double VALUE, javafx.scene.paint.Color FILL_COLOR) -
ChartItem
public ChartItem(double VALUE, javafx.scene.paint.Color FILL_COLOR, boolean IS_EMPTY) -
ChartItem
-
ChartItem
-
ChartItem
-
ChartItem
-
ChartItem
-
ChartItem
-
ChartItem
-
ChartItem
-
ChartItem
public ChartItem(String NAME, double VALUE, javafx.scene.paint.Color FILL, javafx.scene.paint.Color TEXT_FILL) -
ChartItem
public ChartItem(String NAME, double VALUE, javafx.scene.paint.Color FILL, javafx.scene.paint.Color TEXT_FILL, boolean IS_EMPTY) -
ChartItem
-
ChartItem
-
ChartItem
-
ChartItem
-
ChartItem
-
ChartItem
-
ChartItem
-
ChartItem
-
ChartItem
-
ChartItem
-
ChartItem
-
-
Method Details
-
getIndex
public int getIndex()Gets the value of the property index.- Property description:
-
setIndex
public void setIndex(int index) Sets the value of the property index.- Property description:
-
indexProperty
public javafx.beans.property.IntegerProperty indexProperty()- See Also:
-
getName
Gets the value of the property name. -
setName
Sets the value of the property name.- Property description:
-
nameProperty
public javafx.beans.property.StringProperty nameProperty()- See Also:
-
getUnit
Gets the value of the property unit.- Property description:
-
setUnit
Sets the value of the property unit.- Property description:
-
unitProperty
public javafx.beans.property.StringProperty unitProperty()- See Also:
-
getDescription
Gets the value of the property description.- Property description:
-
setDescription
Sets the value of the property description.- Property description:
-
descriptionProperty
public javafx.beans.property.StringProperty descriptionProperty()- See Also:
-
getCategory
Gets the value of the property category.- Property description:
-
setCategory
Sets the value of the property category.- Property description:
-
categoryProperty
- See Also:
-
getValue
public double getValue()Gets the value of the property value.- Property description:
-
setValue
public void setValue(double VALUE) Sets the value of the property value.- Property description:
-
valueProperty
public javafx.beans.property.DoubleProperty valueProperty()- See Also:
-
getOldValue
public double getOldValue() -
getFill
public javafx.scene.paint.Color getFill()Gets the value of the property fill. -
setFill
public void setFill(javafx.scene.paint.Color FILL) Sets the value of the property fill.- Property description:
-
fillProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> fillProperty()- See Also:
-
getStroke
public javafx.scene.paint.Color getStroke()Gets the value of the property stroke. -
setStroke
public void setStroke(javafx.scene.paint.Color STROKE) Sets the value of the property stroke.- Property description:
-
strokeProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> strokeProperty()- See Also:
-
getTextFill
public javafx.scene.paint.Color getTextFill()Gets the value of the property textFill.- Property description:
-
setTextFill
public void setTextFill(javafx.scene.paint.Color COLOR) Sets the value of the property textFill.- Property description:
-
textFillProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> textFillProperty()- See Also:
-
getSymbol
Gets the value of the property symbol. -
setSymbol
Sets the value of the property symbol. -
symbolProperty
- See Also:
-
getTimestamp
Gets the value of the property timestamp.- Property description:
-
setTimestamp
Sets the value of the property timestamp.- Property description:
-
setTimestamp
public void setTimestamp(long TIMESTAMP_EPOCH_SECOND) -
setTimestamp
-
timestampProperty
- See Also:
-
getTimestampAdDateTime
-
getTimestampAsDateTime
-
getTimestampAsLocalDate
-
getTimestampAsLocalDate
-
isAnimated
public boolean isAnimated()Gets the value of the property animated.- Property description:
-
setAnimated
public void setAnimated(boolean ANIMATED) Sets the value of the property animated.- Property description:
-
animatedProperty
public javafx.beans.property.BooleanProperty animatedProperty()- See Also:
-
getX
public double getX()Gets the value of the property x.- Property description:
-
setX
public void setX(double X) Sets the value of the property x.- Property description:
-
xProperty
public javafx.beans.property.DoubleProperty xProperty()- See Also:
-
getY
public double getY()Gets the value of the property y.- Property description:
-
setY
public void setY(double Y) Sets the value of the property y.- Property description:
-
yProperty
public javafx.beans.property.DoubleProperty yProperty()- See Also:
-
isEmptyItem
public boolean isEmptyItem()- Specified by:
isEmptyItemin interfaceItem
-
setIsEmpty
public void setIsEmpty(boolean isEmpty) -
isEmptyProperty
public javafx.beans.property.BooleanProperty isEmptyProperty() -
isSelected
public boolean isSelected()Gets the value of the property selected.- Property description:
-
setSelected
public void setSelected(boolean selected) Sets the value of the property selected.- Property description:
-
selectedProperty
public javafx.beans.property.BooleanProperty selectedProperty()- See Also:
-
getMetadata
Gets the value of the property metadata.- Property description:
-
setMetadata
Sets the value of the property metadata.- Property description:
-
metadataProperty
- See Also:
-
getAnimationDuration
public long getAnimationDuration() -
setAnimationDuration
public void setAnimationDuration(long DURATION) -
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<ChartItem>
-
equals
-
addChartEvtObserver
public void addChartEvtObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<ChartEvt> observer) -
removeChartEvtObserver
public void removeChartEvtObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<ChartEvt> observer) -
removeAllChartEvtObservers
public void removeAllChartEvtObservers() -
fireChartEvt
-