com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class BarStyle



  • public class BarStyle
    extends Object

    Change the visual style of the bar for the item in the project view.

    • Constructor Detail

      • BarStyle

        public BarStyle()

        Initializes a new instance of the BarStyle class.

    • Method Detail

      • getBarColor

        public final Color getBarColor()
        Gets a color of the bar style.
        Returns:
        a color of the bar style.
      • setBarColor

        public final void setBarColor(Color value)
        Sets a color of the bar style.
        Parameters:
        value - a color of the bar style.
      • getBarShape

        public final int getBarShape()

        Gets bar shape (BarShape) of the bar style.

        Returns:
        bar shape of the bar style.
      • setBarShape

        public final void setBarShape(int value)
        Sets bar shape (BarShape) of the bar style.
        Parameters:
        value - bar shape of the bar style.
      • getBarTextConverter

        public final BarStyle.TaskToBarTextConverter getBarTextConverter()

        Gets taskToBarTextConverter to get text for the bar to render.

        Returns:
        text converter (TaskToBarTextConverter) to getInternal text for the bar to render.
      • setBarTextConverter

        public final void setBarTextConverter(BarStyle.TaskToBarTextConverter value)

        Sets taskToBarTextConverter to get text for the bar to render.

        Parameters:
        value - taskToBarTextConverter to get text for the bar to render.
      • getEndShape

        public final int getEndShape()

        Gets shape (Shape) at the end of the bar.

        Returns:
        shape at the end of the bar.
      • setEndShape

        public final void setEndShape(int value)
        Sets shape (Shape) at the end of the bar.
        Parameters:
        value - shape at the end of the bar.
      • getEndShapeColor

        public final Color getEndShapeColor()
        Gets a color of the shape at the end of the bar.
        Returns:
        a color of the shape at the beginning of the bar.
      • setEndShapeColor

        public final void setEndShapeColor(Color value)
        Sets a color of the shape at the beginning of the bar.
        Parameters:
        value - a color of the shape at the beginning of the bar.
      • getItemType

        public final int getItemType()

        Gets item type (BarItemType) of the bar style.

        Returns:
        item type of the bar style.
      • setItemType

        public final void setItemType(int value)
        Sets item type (BarItemType) of the bar style.
        Parameters:
        value - item type of the bar style.
      • getStartShape

        public final int getStartShape()

        Gets shape (Shape) at the beginning of the bar.

        Returns:
        shape at the beginning of the bar.
      • setStartShape

        public final void setStartShape(int value)
        Sets shape (Shape) at the beginning of the bar.
        Parameters:
        value - shape at the beginning of the bar.
      • getStartShapeColor

        public final Color getStartShapeColor()
        Gets a color of the shape at the beginning of the bar.
        Returns:
        a color of the shape at the beginning of the bar.
      • setStartShapeColor

        public final void setStartShapeColor(Color value)
        Sets a color of the shape at the beginning of the bar.
        Parameters:
        value - a color of the shape at the beginning of the bar.
      • getTextStyle

        public final TextStyle getTextStyle()

        Gets text style (TextStyle) of the text to render on the right of the bar.

        Returns:
        text style of the text to render on the right of the bar.
      • setTextStyle

        public final void setTextStyle(TextStyle value)
        Sets text style (TextStyle) of the text to render on the right of the bar.
        Parameters:
        value - text style of the text to render on the right of the bar.