Class XYChartItem

java.lang.Object
eu.hansolo.fx.charts.data.XYChartItem
All Implemented Interfaces:
Item, XYItem, Comparable<XYChartItem>
Direct Known Subclasses:
TYChartItem

public class XYChartItem extends Object implements XYItem, Comparable<XYChartItem>
Created by hansolo on 16.07.17.
  • Property Details

  • Constructor Details

    • XYChartItem

      public XYChartItem()
    • XYChartItem

      public XYChartItem(boolean IS_EMPTY)
    • XYChartItem

      public XYChartItem(double X, double Y)
    • XYChartItem

      public XYChartItem(double X, double Y, boolean IS_EMPTY)
    • XYChartItem

      public XYChartItem(double X, double Y, javafx.scene.paint.Color FILL)
    • XYChartItem

      public XYChartItem(double X, double Y, javafx.scene.paint.Color FILL, String TOOLTIP)
    • XYChartItem

      public XYChartItem(double X, double Y, javafx.scene.paint.Color FILL, boolean IS_EMPTY)
    • XYChartItem

      public XYChartItem(double X, double Y, javafx.scene.paint.Color FILL, String TOOLTIP, boolean IS_EMPTY)
    • XYChartItem

      public XYChartItem(double X, double Y, String NAME)
    • XYChartItem

      public XYChartItem(double X, double Y, String NAME, String TOOLTIP)
    • XYChartItem

      public XYChartItem(double X, double Y, String NAME, boolean IS_EMPTY)
    • XYChartItem

      public XYChartItem(double X, double Y, String NAME, String TOOLTIP, boolean IS_EMPTY)
    • XYChartItem

      public XYChartItem(double X, double Y, String NAME, javafx.scene.paint.Color FILL)
    • XYChartItem

      public XYChartItem(double X, double Y, String NAME, javafx.scene.paint.Color FILL, String TOOLTIP)
    • XYChartItem

      public XYChartItem(double X, double Y, String NAME, javafx.scene.paint.Color FILL, boolean IS_EMPTY)
    • XYChartItem

      public XYChartItem(double X, double Y, String NAME, javafx.scene.paint.Color FILL, String TOOLTIP, boolean IS_EMPTY)
    • XYChartItem

      public XYChartItem(double X, double Y, String NAME, javafx.scene.paint.Color FILL, javafx.scene.paint.Color STROKE, Symbol SYMBOL)
    • XYChartItem

      public XYChartItem(double X, double Y, String NAME, javafx.scene.paint.Color FILL, javafx.scene.paint.Color STROKE, Symbol SYMBOL, boolean IS_EMPTY)
    • XYChartItem

      public XYChartItem(double X, double Y, String NAME, javafx.scene.paint.Color FILL, javafx.scene.paint.Color STROKE, Symbol SYMBOL, String TOOLTIP, boolean IS_EMPTY)
  • Method Details

    • getX

      public double getX()
      Gets the value of the property x.
      Specified by:
      getX in interface XYItem
      Property description:
    • setX

      public void setX(double X)
      Sets the value of the property x.
      Specified by:
      setX in interface XYItem
      Property description:
    • xProperty

      public javafx.beans.property.DoubleProperty xProperty()
      Specified by:
      xProperty in interface XYItem
      See Also:
    • getY

      public double getY()
      Gets the value of the property y.
      Specified by:
      getY in interface XYItem
      Property description:
    • setY

      public void setY(double Y)
      Sets the value of the property y.
      Specified by:
      setY in interface XYItem
      Property description:
    • yProperty

      public javafx.beans.property.DoubleProperty yProperty()
      Specified by:
      yProperty in interface XYItem
      See Also:
    • getName

      public String getName()
      Gets the value of the property name.
      Specified by:
      getName in interface Item
      Property description:
    • setName

      public void setName(String NAME)
      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.
      Specified by:
      getFill in interface Item
      Property description:
    • 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.
      Specified by:
      getStroke in interface Item
      Property description:
    • 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

      public Symbol getSymbol()
      Gets the value of the property symbol.
      Specified by:
      getSymbol in interface Item
      Property description:
    • setSymbol

      public void setSymbol(Symbol SYMBOL)
      Sets the value of the property symbol.
      Specified by:
      setSymbol in interface Item
      Property description:
    • symbolProperty

      public javafx.beans.property.ObjectProperty<Symbol> symbolProperty()
      See Also:
    • getTooltipText

      public String getTooltipText()
      Gets the value of the property tooltipText.
      Specified by:
      getTooltipText in interface XYItem
      Property description:
    • setTooltipText

      public void setTooltipText(String TOOLTIP)
      Sets the value of the property tooltipText.
      Specified by:
      setTooltipText in interface XYItem
      Property description:
    • tooltipTextProperty

      public javafx.beans.property.StringProperty tooltipTextProperty()
      Specified by:
      tooltipTextProperty in interface XYItem
      See Also:
    • isEmptyItem

      public boolean isEmptyItem()
      Specified by:
      isEmptyItem in interface Item
    • 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

      public void fireChartEvt(ChartEvt evt)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(XYChartItem ITEM)
      Specified by:
      compareTo in interface Comparable<XYChartItem>