Class BarBorderWidth


  • public final class BarBorderWidth
    extends NativeObjectContainer
    Defines the border width for BAR data set (left, top, right, bottom).
    Author:
    Andrea "Stock" Stocchero
    • Constructor Detail

      • BarBorderWidth

        public BarBorderWidth()
        Creates the object with an empty native object instance.
      • BarBorderWidth

        public BarBorderWidth​(int borderWidth)
        Creates the object using the argument to set the border width size to all corners of the rectangle.
        Parameters:
        borderWidth - border width size to apply to all dimensions.
    • Method Detail

      • set

        public void set​(int borderWidth)
        Sets the border width size to all dimensions.
        Parameters:
        borderWidth - border width size to apply to all dimensions.
      • setLeft

        public void setLeft​(int borderWidth)
        Sets the border width left in pixel.
        Parameters:
        borderWidth - the border width left in pixel.
      • getLeft

        public int getLeft()
        Returns the border width left in pixel.
        Returns:
        the border width left in pixel.
      • setRight

        public void setRight​(int borderWidth)
        Sets the border width right in pixel.
        Parameters:
        borderWidth - the border width right in pixel.
      • getRight

        public int getRight()
        Returns the border width right in pixel.
        Returns:
        the border width right in pixel.
      • setTop

        public void setTop​(int borderWidth)
        Sets the border width top in pixel.
        Parameters:
        borderWidth - the border width top in pixel.
      • getTop

        public int getTop()
        Returns the border width top in pixel.
        Returns:
        the border width top in pixel.
      • setBottom

        public void setBottom​(int borderWidth)
        Sets the border width bottom in pixel.
        Parameters:
        borderWidth - the border width bottom in pixel.
      • getBottom

        public int getBottom()
        Returns the border width bottom in pixel.
        Returns:
        the border width bottom in pixel.
      • areValuesEquals

        public final boolean areValuesEquals()
        Returns true if all values of object are equals.
        Returns:
        true if all values of object are equals
      • average

        public final int average()
        Returns the average value of all values managed by object.
        Returns:
        the average value of all values managed by object
      • nativeObject

        public final NativeObject nativeObject()
        Returns the native object instance.
        Returns:
        the native object instance.