Class Category

java.lang.Object
eu.hansolo.fx.charts.Category
All Implemented Interfaces:
Comparable<Category>
Direct Known Subclasses:
DayOfWeekCategory, MonthCategory

public class Category extends Object implements Comparable<Category>
  • Property Summary

    Properties
    Type
    Property
    Description
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.DoubleProperty
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Category(String name, javafx.scene.paint.Color fill)
     
    Category(String name, javafx.scene.paint.Color fill, javafx.scene.paint.Color stroke, javafx.scene.paint.Color textFill)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addChartEvtObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<ChartEvt> observer)
     
    int
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    void
     
    javafx.scene.paint.Color
    Gets the value of the property fill.
     
    javafx.scene.paint.Color
    Gets the value of the property stroke.
    javafx.scene.paint.Color
    Gets the value of the property textFill.
    double
    Gets the value of the property value.
    void
     
    void
    removeChartEvtObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<ChartEvt> observer)
     
    void
    setFill(javafx.scene.paint.Color fill)
    Sets the value of the property fill.
    void
    setStroke(javafx.scene.paint.Color stroke)
    Sets the value of the property stroke.
    void
    setTextFill(javafx.scene.paint.Color textFill)
    Sets the value of the property textFill.
    void
    setValue(double value)
    Sets the value of the property value.
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>
     
    javafx.beans.property.DoubleProperty
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Property Details

  • Constructor Details

    • Category

      public Category(String name)
    • Category

      public Category(String name, javafx.scene.paint.Color fill)
    • Category

      public Category(String name, javafx.scene.paint.Color fill, javafx.scene.paint.Color stroke, javafx.scene.paint.Color textFill)
  • Method Details

    • getName

      public String getName()
    • getFill

      public javafx.scene.paint.Color getFill()
      Gets the value of the property fill.
      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.
      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:
    • getTextFill

      public javafx.scene.paint.Color getTextFill()
      Gets the value of the property textFill.
      Property description:
    • setTextFill

      public void setTextFill(javafx.scene.paint.Color textFill)
      Sets the value of the property textFill.
      Property description:
    • textFillProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> textFillProperty()
      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:
    • compareTo

      public int compareTo(Category other)
      Specified by:
      compareTo in interface Comparable<Category>
    • 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)