com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class GanttBarStyle



  • public class GanttBarStyle
    extends Object

    Represents a bar style used by MSP in Gantt Chart view.

    • Constructor Detail

      • GanttBarStyle

        public GanttBarStyle()

        Initializes a new instance of the GanttBarStyle class.

    • Method Detail

      • getBottomField

        public final int getBottomField()

        Gets data to be displayed on the bottom of the bar. Field.

        Returns:
        data to be displayed on the bottom of the bar.
      • setBottomField

        public final void setBottomField(int value)

        Sets data to be displayed on the bottom of the bar. Field.

        Parameters:
        value - data to be displayed on the bottom of the bar.
      • getEndShape

        public final int getEndShape()

        Gets an end shape of the bar.

        Returns:
        an end shape of the bar.
      • setEndShape

        public final void setEndShape(int value)

        Sets an end shape of the bar.

        Parameters:
        value - an end shape of the bar.
      • getEndShapeColor

        public final Color getEndShapeColor()

        Gets a color of the end shape.

        Returns:
        a color of the end shape.
      • setEndShapeColor

        public final void setEndShapeColor(Color value)

        Sets a color of the end shape.

        Parameters:
        value - a color of the end shape.
      • getEndShapeType

        public final int getEndShapeType()

        Gets a type of the end shape. GanttBarType.

        Returns:
        a type of the end shape.
      • setEndShapeType

        public final void setEndShapeType(int value)

        Sets a type of the end shape. GanttBarType.

        Parameters:
        value - a type of the end shape.
      • getFrom

        public final int getFrom()

        Gets a start point position of the gantt bar. Field.

        Returns:
        a start point position of the gantt bar.
      • setFrom

        public final void setFrom(int value)

        Sets a start point position of the gantt bar. Field.

        Parameters:
        value - a start point position of the gantt bar.
      • getInsideField

        public final int getInsideField()

        Gets data to be displayed inside of the bar. Field.

        Returns:
        data to be displayed inside of the bar.
      • setInsideField

        public final void setInsideField(int value)

        Sets data to be displayed inside of the bar. Field.

        Parameters:
        value - data to be displayed inside of the bar.
      • getLeftField

        public final int getLeftField()

        Gets data to be displayed on the left of the bar. Field.

        Returns:
        data to be displayed on the left of the bar.
      • setLeftField

        public final void setLeftField(int value)

        Sets data to be displayed on the left of the bar. Field.

        Parameters:
        value - data to be displayed on the left of the bar.
      • getMiddleFillPattern

        public final int getMiddleFillPattern()

        Gets a fill pattern of the gantt bar.

        Returns:
        a fill pattern of the gantt bar.
      • setMiddleFillPattern

        public final void setMiddleFillPattern(int value)

        Sets a fill pattern of the gantt bar.

        Parameters:
        value - a fill pattern of the gantt bar.
      • getMiddleShape

        public final int getMiddleShape()

        Gets a middle shape of the bar.

        Returns:
        a middle shape of the bar.
      • setMiddleShape

        public final void setMiddleShape(int value)

        Sets a middle shape of the bar.

        Parameters:
        value - a middle shape of the bar.
      • getMiddleShapeColor

        public final Color getMiddleShapeColor()

        Gets a color of the middle shape.

        Returns:
        a color of the middle shape.
      • setMiddleShapeColor

        public final void setMiddleShapeColor(Color value)

        Sets a color of the middle shape.

        Parameters:
        value - a color of the middle shape.
      • getName

        public final String getName()

        Gets a name of the style.

        Returns:
        a name of the style.
      • setName

        public final void setName(String value)

        Sets a name of the style.

        Parameters:
        value - a name of the style.
      • getRightField

        public final int getRightField()

        Gets data to be displayed on the right of the bar. Field.

        Returns:
        data to be displayed on the right of the bar.
      • setRightField

        public final void setRightField(int value)

        Sets data to be displayed on the right of the bar. Field.

        Parameters:
        value - data to be displayed on the right of the bar.
      • getRow

        public final int getRow()

        Gets a row number.


        Can be from 1 to 4 (1 is default value).
        Returns:
        a row number.
      • setRow

        public final void setRow(int value)

        Sets a row number.


        Can be from 1 to 4 (1 is default value).
        Parameters:
        value - a row number.
      • getShowFor

        public final String getShowFor()

        Gets task categories separated by semicolons, which are to be represented by the gantt bar.

        Returns:
        task categories separated by semicolons, which are to be represented by the gantt bar.
      • setShowFor

        public final void setShowFor(String value)

        Sets task categories separated by semicolons, which are to be represented by the gantt bar.

        Parameters:
        value - task categories separated by semicolons, which are to be represented by the gantt bar.
      • getStartShape

        public final int getStartShape()

        Gets a start shape of the bar.

        Returns:
        a start shape of the bar.
      • setStartShape

        public final void setStartShape(int value)

        Sets a start shape of the bar.

        Parameters:
        value - a start shape of the bar.
      • getStartShapeColor

        public final Color getStartShapeColor()

        Gets a color of the start shape.

        Returns:
        a color of the start shape.
      • setStartShapeColor

        public final void setStartShapeColor(Color value)

        Sets a color of the start shape.

        Parameters:
        value - a color of the start shape.
      • getStartShapeType

        public final int getStartShapeType()

        Gets a type of the start shape.

        Returns:
        a type of the start shape.
      • setStartShapeType

        public final void setStartShapeType(int value)

        Sets a type of the start shape.

        Parameters:
        value - a type of the start shape.
      • getTo

        public final int getTo()

        Gets a finish point position of the gantt bar.

        Returns:
        a finish point position of the gantt bar.
      • setTo

        public final void setTo(int value)

        Sets a finish point position of the gantt bar.

        Parameters:
        value - a finish point position of the gantt bar.
      • getTopField

        public final int getTopField()

        Gets data to be displayed on the top of the bar.

        Returns:
        data to be displayed on the top of the bar.
      • setTopField

        public final void setTopField(int value)

        Sets data to be displayed on the top of the bar.

        Parameters:
        value - data to be displayed on the top of the bar.