java.lang.Object
eu.hansolo.fx.charts.data.ValueChartItem
- All Implemented Interfaces:
Item,ValueItem,Comparable<ValueChartItem>
-
Property Summary
PropertiesTypePropertyDescriptionjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.StringPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.ObjectProperty<Symbol>javafx.beans.property.DoubleProperty -
Constructor Summary
ConstructorsConstructorDescriptionValueChartItem(boolean IS_EMPTY) ValueChartItem(double VALUE, String NAME) ValueChartItem(double VALUE, String NAME, boolean IS_EMPTY) ValueChartItem(double VALUE, String NAME, javafx.scene.paint.Color FILL) ValueChartItem(double VALUE, String NAME, javafx.scene.paint.Color FILL, boolean IS_EMPTY) ValueChartItem(double VALUE, String NAME, javafx.scene.paint.Color FILL, javafx.scene.paint.Color STROKE, Symbol SYMBOL) ValueChartItem(double VALUE, String NAME, javafx.scene.paint.Color FILL, javafx.scene.paint.Color STROKE, Symbol SYMBOL, boolean IS_EMPTY) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChartEvtObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<ChartEvt> observer) intcompareTo(ValueChartItem ITEM) javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>voidfireChartEvt(ChartEvt evt) javafx.scene.paint.ColorgetFill()Gets the value of the property fill.getName()Gets the value of the property name.javafx.scene.paint.ColorGets the value of the property stroke.Gets the value of the property symbol.doublegetValue()Gets the value of the property value.booleanjavafx.beans.property.BooleanPropertyjavafx.beans.property.StringPropertyvoidvoidremoveChartEvtObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<ChartEvt> observer) voidsetFill(javafx.scene.paint.Color FILL) Sets the value of the property fill.voidsetIsEmpty(boolean isEmpty) voidSets the value of the property name.voidsetStroke(javafx.scene.paint.Color STROKE) Sets the value of the property stroke.voidSets the value of the property symbol.voidsetValue(double VALUE) Sets the value of the property value.javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.ObjectProperty<Symbol>toString()javafx.beans.property.DoubleProperty
-
Property Details
-
value
public javafx.beans.property.DoubleProperty valueProperty- Specified by:
valuePropertyin interfaceValueItem- See Also:
-
name
public javafx.beans.property.StringProperty nameProperty- 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:
-
symbol
- See Also:
-
-
Constructor Details
-
ValueChartItem
public ValueChartItem() -
ValueChartItem
public ValueChartItem(boolean IS_EMPTY) -
ValueChartItem
-
ValueChartItem
-
ValueChartItem
-
ValueChartItem
-
ValueChartItem
-
ValueChartItem
-
-
Method Details
-
getValue
public double getValue()Gets the value of the property value. -
setValue
public void setValue(double VALUE) Sets the value of the property value. -
valueProperty
public javafx.beans.property.DoubleProperty valueProperty()- Specified by:
valuePropertyin interfaceValueItem- 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:
-
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:
-
getSymbol
Gets the value of the property symbol. -
setSymbol
Sets the value of the property symbol. -
symbolProperty
- See Also:
-
isEmptyItem
public boolean isEmptyItem()- Specified by:
isEmptyItemin interfaceItem
-
setIsEmpty
public void setIsEmpty(boolean isEmpty) -
isEmptyProperty
public javafx.beans.property.BooleanProperty isEmptyProperty() -
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
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<ValueChartItem>
-