com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class BarStyle

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable


    public class BarStyle
    extends Object
    implements com.aspose.ms.System.IDisposable

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

    • Constructor Detail

      • BarStyle

        public BarStyle()

        Creates default bar style.

    • Method Detail

      • getBarColor

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

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

        public int getBarShape()

        Gets bar shape (BarShape) of the bar style.

        Returns:
        bar shape of the bar style.
      • setBarShape

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

        public BarStyle.TaskToBarTextConverter getBarTextConverter()

        Gets text converter (TaskToBarTextConverter) to getInternal text for the bar to render.

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

        public void setBarTextConverter(BarStyle.TaskToBarTextConverter value)
        Sets text converter (TaskToBarTextConverter) to getInternal text for the bar to render.
        Parameters:
        value - text converter (TaskToBarTextConverter) to getInternal text for the bar to render.
      • getEndShape

        public int getEndShape()

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

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

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

        public 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 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 int getItemType()

        Gets item type (BarItemType) of the bar style.

        Returns:
        item type of the bar style.
      • setItemType

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

        public int getStartShape()

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

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

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

        public 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 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 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 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.
      • dispose

        public void dispose()

        Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

        Specified by:
        dispose in interface com.aspose.ms.System.IDisposable