changeset 6181:c3c112d6081a

RT-31683: Empty javadoc in chart-related classes
author jgiles
date Fri, 24 Jan 2014 11:12:24 +1300
parents 64641c3bb65b
children a92e0840d0c1
files modules/controls/src/main/java/javafx/scene/chart/CategoryAxis.java modules/controls/src/main/java/javafx/scene/chart/Chart.java modules/controls/src/main/java/javafx/scene/chart/PieChart.java
diffstat 3 files changed, 14 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/modules/controls/src/main/java/javafx/scene/chart/CategoryAxis.java	Fri Jan 24 11:08:45 2014 +1300
+++ b/modules/controls/src/main/java/javafx/scene/chart/CategoryAxis.java	Fri Jan 24 11:12:24 2014 +1300
@@ -165,12 +165,6 @@
     public final void setGapStartAndEnd(boolean value) { gapStartAndEnd.setValue(value); }
     public final BooleanProperty gapStartAndEndProperty() { return gapStartAndEnd; }
 
-    /**
-     * The ordered list of categories plotted on this axis. This is set automatically 
-     * based on the charts data if autoRanging is true. If the application sets the categories
-     * then auto ranging is turned off. If there is an attempt to add duplicate entry into this list, 
-     * an {@link IllegalArgumentException} is thrown.
-     */
     private ObjectProperty<ObservableList<String>> categories = new ObjectPropertyBase<ObservableList<String>>() {
         ObservableList<String> old;
         @Override protected void invalidated() {
@@ -196,6 +190,13 @@
             return "categories";
         }
     };
+
+    /**
+     * The ordered list of categories plotted on this axis. This is set automatically
+     * based on the charts data if autoRanging is true. If the application sets the categories
+     * then auto ranging is turned off. If there is an attempt to add duplicate entry into this list,
+     * an {@link IllegalArgumentException} is thrown.
+     */
     public final void setCategories(ObservableList<String> value) {
         categories.set(value);
         if (!changeIsLocal) {
--- a/modules/controls/src/main/java/javafx/scene/chart/Chart.java	Fri Jan 24 11:08:45 2014 +1300
+++ b/modules/controls/src/main/java/javafx/scene/chart/Chart.java	Fri Jan 24 11:12:24 2014 +1300
@@ -261,6 +261,9 @@
 
     // -------------- CONSTRUCTOR --------------------------------------------------------------------------------------
 
+    /**
+     * Creates a new default Chart instance.
+     */
     public Chart() {
         titleLabel.setAlignment(Pos.CENTER);
         getChildren().addAll(titleLabel, chartContent);
--- a/modules/controls/src/main/java/javafx/scene/chart/PieChart.java	Fri Jan 24 11:08:45 2014 +1300
+++ b/modules/controls/src/main/java/javafx/scene/chart/PieChart.java	Fri Jan 24 11:12:24 2014 +1300
@@ -934,6 +934,10 @@
          */
         private ObjectProperty<Node> node = new SimpleObjectProperty<Node>(this, "node");
 
+        /**
+         * Returns the node that represents the pie slice. You can use this to
+         * add mouse event listeners etc.
+         */
         public Node getNode() {
             return node.getValue();
         }