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 int getBottomField()

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

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

        public void setBottomField(int value)
        Sets a data to be displayed on the bottom of the bar.
        Parameters:
        value - a data to be displayed on the bottom of the bar.
      • getEndShape

        public int getEndShape()

        Gets an end shape of the bar.

        Returns:
        an end shape of the bar.
      • setEndShape

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

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

        public void setEndShapeColor(Color value)
        Sets a color of the end shape.
        Parameters:
        value - a color of the end shape.
      • getEndShapeType

        public int getEndShapeType()

        Gets a type of the end shape. GanttBarType.

        Returns:
        a type of the end shape.
      • setEndShapeType

        public void setEndShapeType(int value)
        Sets a type of the end shape.
        Parameters:
        value - a type of the end shape.
      • getFrom

        public int getFrom()

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

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

        public void setFrom(int value)
        Sets a start point position of the gantt bar.
        Parameters:
        value - a start point position of the gantt bar.
      • getInsideField

        public int getInsideField()

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

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

        public void setInsideField(int value)
        Sets a data to be displayed inside of the bar.
        Parameters:
        value - a data to be displayed inside of the bar.
      • getLeftField

        public int getLeftField()

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

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

        public void setLeftField(int value)
        Sets a data field to be displayed on the left of the bar.
        Parameters:
        value - a data field to be displayed on the left of the bar.
      • getMiddleFillPattern

        public int getMiddleFillPattern()

        Gets a fill pattern of the gantt bar.

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

        public void setMiddleFillPattern(int value)
        Sets a fill pattern of the gantt bar.
        Parameters:
        value - a fill pattern of the gantt bar.
      • getMiddleShape

        public int getMiddleShape()

        Gets a middle shape of the bar.

        Returns:
        a middle shape of the bar.
      • setMiddleShape

        public void setMiddleShape(int value)
        Sets a middle shape of the bar.
        Parameters:
        value - a middle shape of the bar.
      • getMiddleShapeColor

        public Color getMiddleShapeColor()
        Gets a color of the middle shape.
        Returns:
        a color of the middle shape.
      • setMiddleShapeColor

        public void setMiddleShapeColor(Color value)
        Sets a color of the middle shape.
        Parameters:
        value - a color of the middle shape.
      • getName

        public String getName()

        Gets a name of the style.

        Returns:
        a name of the style.
      • setName

        public void setName(String value)
        Sets a name of the style.
        Parameters:
        value - a name of the style.
      • getRightField

        public int getRightField()

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

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

        public void setRightField(int value)
        Sets a data field to be displayed on the right of the bar.
        Parameters:
        value - a data field to be displayed on the right of the bar.
      • getRow

        public int getRow()

        Gets a row number. Can be from 1 to 4 (1 is default value).

        Returns:
        a row number.
      • setRow

        public void setRow(int value)
        Sets a row number.
        Parameters:
        value - a row number.
      • getShowFor

        public String getShowFor()

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

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

        public void setShowFor(String value)
        Sets task categories separated by semi columns, which are to be represented by the gantt bar.
        Parameters:
        value - task categories separated by semi columns, which are to be represented by the gantt bar.
      • getStartShape

        public int getStartShape()

        Gets a start shape of the bar.

        Returns:
        a start shape of the bar.
      • setStartShape

        public void setStartShape(int value)
        Sets a start shape of the bar.
        Parameters:
        value - a start shape of the bar.
      • getStartShapeColor

        public Color getStartShapeColor()
        Gets a color of the start shape.
        Returns:
        a color of the start shape.
      • setStartShapeColor

        public void setStartShapeColor(Color value)
        Sets a color of the start shape.
        Parameters:
        value - a color of the start shape.
      • getStartShapeType

        public int getStartShapeType()

        Gets a type of the start shape. GanttBarType.

        Returns:
        a type of the start shape.
      • setStartShapeType

        public void setStartShapeType(int value)
        Sets a type of the start shape.
        Parameters:
        value - a type of the start shape.
      • getTo

        public int getTo()

        Gets a finish point position of the gantt bar.

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

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

        Gets a data field to be displayed on the top of the bar. Field.

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

        public void setTopField(int value)
        Sets a data field to be displayed on the top of the bar.
        Parameters:
        value - a data field to be displayed on the top of the bar.