Class ChartConfiguration

    • Constructor Detail

      • ChartConfiguration

        public ChartConfiguration()
    • Method Detail

      • enumerateBarChart

        public Enumeration<BarChart> enumerateBarChart()
        Method enumerateBarChart.
        Returns:
        an Enumeration over all possible elements of this collection
      • equals

        public boolean equals​(Object obj)
        Overrides the Object.equals method.
        Overrides:
        equals in class Object
        Parameters:
        obj -
        Returns:
        true if the objects are equal.
      • getBarChart

        public BarChart[] getBarChart()
        Method getBarChart.Returns the contents of the collection in an Array.

        Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.

        Returns:
        this collection as an Array
      • getBarChartCollection

        public List<BarChart> getBarChartCollection()
        Method getBarChartCollection.Returns a reference to 'barChartList'. No type checking is performed on any modifications to the Vector.
        Returns:
        a reference to the Vector backing this class
      • getBarChartCount

        public int getBarChartCount()
        Method getBarChartCount.
        Returns:
        the size of this collection
      • hashCode

        public int hashCode()
        Method hashCode.
        Overrides:
        hashCode in class Object
        Returns:
        a hash code value for the object.
      • iterateBarChart

        public Iterator<BarChart> iterateBarChart()
        Method iterateBarChart.
        Returns:
        an Iterator over all possible elements in this collection
      • removeAllBarChart

        public void removeAllBarChart()
      • removeBarChart

        public boolean removeBarChart​(BarChart vBarChart)
        Method removeBarChart.
        Parameters:
        vBarChart -
        Returns:
        true if the object was removed from the collection.
      • removeBarChartAt

        public BarChart removeBarChartAt​(int index)
        Method removeBarChartAt.
        Parameters:
        index -
        Returns:
        the element removed from the collection
      • setBarChart

        public void setBarChart​(BarChart[] vBarChartArray)
        Parameters:
        vBarChartArray -
      • setBarChart

        public void setBarChart​(List<BarChart> vBarChartList)
        Sets the value of 'barChartList' by copying the given Vector. All elements will be checked for type safety.
        Parameters:
        vBarChartList - the Vector to copy.
      • setBarChartCollection

        public void setBarChartCollection​(List<BarChart> barChartList)
        Deprecated.
        Sets the value of 'barChartList' by setting it to the given Vector. No type checking is performed.
        Parameters:
        barChartList - the Vector to set.