diff --git a/english/java/com.aspose.tasks/barshape/_index.md b/english/java/com.aspose.tasks/barshape/_index.md index 288a4a0a52..9df622ff7a 100644 --- a/english/java/com.aspose.tasks/barshape/_index.md +++ b/english/java/com.aspose.tasks/barshape/_index.md @@ -19,11 +19,13 @@ Shape of a bar rectangle. | Field | Description | | --- | --- | | [Full](#Full) | Indicates Full rectangle bar shape. | -| [HalfHeight](#HalfHeight) | Indicates Half height rectangle bar shape. | -| [LineBottom](#LineBottom) | Indicates Line bottom bar shape. | -| [Middle](#Middle) | Indicates Rectangle middle bar shape. | +| [HalfHeight](#HalfHeight) | Indicates top-aligned half height rectangle bar shape. | +| [HalfHeightBottom](#HalfHeightBottom) | Indicates bottom-aligned half height rectangle bar shape. | +| [LineBottom](#LineBottom) | Indicates bottom-aligned line shape. | +| [LineTop](#LineTop) | Indicates top-aligned line shape. | +| [Middle](#Middle) | Indicates center-aligned line shape. | | [None](#None) | Indicates None bar shape. | -| [Thin](#Thin) | Indicates Thin rectangle bar shape. | +| [Thin](#Thin) | Indicates center-aligned line shape. | ### Full {#Full} ``` public static final int Full @@ -38,7 +40,15 @@ public static final int HalfHeight ``` -Indicates Half height rectangle bar shape. +Indicates top-aligned half height rectangle bar shape. + +### HalfHeightBottom {#HalfHeightBottom} +``` +public static final int HalfHeightBottom +``` + + +Indicates bottom-aligned half height rectangle bar shape. ### LineBottom {#LineBottom} ``` @@ -46,7 +56,15 @@ public static final int LineBottom ``` -Indicates Line bottom bar shape. +Indicates bottom-aligned line shape. + +### LineTop {#LineTop} +``` +public static final int LineTop +``` + + +Indicates top-aligned line shape. ### Middle {#Middle} ``` @@ -54,7 +72,7 @@ public static final int Middle ``` -Indicates Rectangle middle bar shape. +Indicates center-aligned line shape. ### None {#None} ``` @@ -70,5 +88,5 @@ public static final int Thin ``` -Indicates Thin rectangle bar shape. +Indicates center-aligned line shape. diff --git a/english/java/com.aspose.tasks/barstyle/_index.md b/english/java/com.aspose.tasks/barstyle/_index.md index 5a039ff112..8bf128e4a5 100644 --- a/english/java/com.aspose.tasks/barstyle/_index.md +++ b/english/java/com.aspose.tasks/barstyle/_index.md @@ -29,6 +29,8 @@ Change the visual style of the bar for the item in the project view. | [getBottomField()](#getBottomField--) | Gets a field to be displayed on the bottom of the bar. | | [getEndShape()](#getEndShape--) | Gets [Shape](../../com.aspose.tasks/shape) at the end of the bar. | | [getEndShapeColor()](#getEndShapeColor--) | Gets java.awt.Color of the shape at the end of the bar. | +| [getEndShapeType()](#getEndShapeType--) | Gets a type of the end shape. | +| [getFrom()](#getFrom--) | Gets a start point position of the gantt bar. | | [getInsideBarTextConverter()](#getInsideBarTextConverter--) | Gets user-defined converter to get text to render inside of the task's bar. | | [getInsideField()](#getInsideField--) | Gets a field to be displayed inside of the bar. | | [getItemType()](#getItemType--) | Gets [BarItemType](../../com.aspose.tasks/baritemtype) of the bar style. | @@ -38,7 +40,9 @@ Change the visual style of the bar for the item in the project view. | [getRightField()](#getRightField--) | Gets a field to be displayed on the right of the bar. | | [getStartShape()](#getStartShape--) | Gets [Shape](../../com.aspose.tasks/shape) at the beginning of the bar. | | [getStartShapeColor()](#getStartShapeColor--) | Gets java.awt.Color of the shape at the beginning of the bar. | +| [getStartShapeType()](#getStartShapeType--) | Gets a type of the start shape. | | [getTextStyle()](#getTextStyle--) | Gets style of the bar's text. | +| [getTo()](#getTo--) | Gets a finish point position of the gantt bar. | | [getTopBarTextConverter()](#getTopBarTextConverter--) | Gets user-defined converter to get text to render on the top of the task's bar. | | [getTopField()](#getTopField--) | Gets a field to be displayed on the top of the bar. | | [setBarColor(Color value)](#setBarColor-java.awt.Color-) | Sets java.awt.Color of the bar style. | @@ -47,6 +51,8 @@ Change the visual style of the bar for the item in the project view. | [setBottomField(int value)](#setBottomField-int-) | Sets a field to be displayed on the bottom of the bar. | | [setEndShape(int value)](#setEndShape-int-) | Sets [Shape](../../com.aspose.tasks/shape) at the end of the bar. | | [setEndShapeColor(Color value)](#setEndShapeColor-java.awt.Color-) | Sets java.awt.Color of the shape at the end of the bar. | +| [setEndShapeType(int value)](#setEndShapeType-int-) | Sets a type of the end shape. | +| [setFrom(int value)](#setFrom-int-) | Sets a start point position of the gantt bar. | | [setInsideBarTextConverter(TaskBarTextConverter value)](#setInsideBarTextConverter-com.aspose.tasks.TaskBarTextConverter-) | Sets user-defined converter to get text to render inside of the task's bar. | | [setInsideField(int value)](#setInsideField-int-) | Sets a field to be displayed inside of the bar. | | [setItemType(int value)](#setItemType-int-) | Sets [BarItemType](../../com.aspose.tasks/baritemtype) of the bar style. | @@ -56,7 +62,9 @@ Change the visual style of the bar for the item in the project view. | [setRightField(int value)](#setRightField-int-) | Sets a field to be displayed on the right of the bar. | | [setStartShape(int value)](#setStartShape-int-) | Sets [Shape](../../com.aspose.tasks/shape) at the beginning of the bar. | | [setStartShapeColor(Color value)](#setStartShapeColor-java.awt.Color-) | Sets java.awt.Color of the shape at the beginning of the bar. | +| [setStartShapeType(int value)](#setStartShapeType-int-) | Sets a type of the start shape. | | [setTextStyle(TextStyle value)](#setTextStyle-com.aspose.tasks.TextStyle-) | Sets style of the bar's text. | +| [setTo(int value)](#setTo-int-) | Sets a finish point position of the gantt bar. | | [setTopBarTextConverter(TaskBarTextConverter value)](#setTopBarTextConverter-com.aspose.tasks.TaskBarTextConverter-) | Sets user-defined converter to get text to render on the top of the task's bar. | | [setTopField(int value)](#setTopField-int-) | Sets a field to be displayed on the top of the bar. | ### BarStyle() {#BarStyle--} @@ -127,6 +135,26 @@ Gets java.awt.Color of the shape at the end of the bar. **Returns:** java.awt.Color - a color of the shape at the beginning of the bar. +### getEndShapeType() {#getEndShapeType--} +``` +public final int getEndShapeType() +``` + + +Gets a type of the end shape. [GanttBarType](../../com.aspose.tasks/ganttbartype). + +**Returns:** +int - a type of the end shape. +### getFrom() {#getFrom--} +``` +public final int getFrom() +``` + + +Gets a start point position of the gantt bar. [Field](../../com.aspose.tasks/field). + +**Returns:** +int - a start point position of the gantt bar. ### getInsideBarTextConverter() {#getInsideBarTextConverter--} ``` public final TaskBarTextConverter getInsideBarTextConverter() @@ -217,6 +245,16 @@ Gets java.awt.Color of the shape at the beginning of the bar. **Returns:** java.awt.Color - a color of the shape at the beginning of the bar. +### getStartShapeType() {#getStartShapeType--} +``` +public final int getStartShapeType() +``` + + +Gets a type of the start shape. + +**Returns:** +int - a type of the start shape. ### getTextStyle() {#getTextStyle--} ``` public final TextStyle getTextStyle() @@ -227,6 +265,16 @@ Gets style of the bar's text. **Returns:** [TextStyle](../../com.aspose.tasks/textstyle) - style of the bar's text. +### getTo() {#getTo--} +``` +public final int getTo() +``` + + +Gets a finish point position of the gantt bar. + +**Returns:** +int - a finish point position of the gantt bar. ### getTopBarTextConverter() {#getTopBarTextConverter--} ``` public final TaskBarTextConverter getTopBarTextConverter() @@ -325,6 +373,32 @@ Sets java.awt.Color of the shape at the end of the bar. | --- | --- | --- | | value | java.awt.Color | a color of the shape at the beginning of the bar. | +### setEndShapeType(int value) {#setEndShapeType-int-} +``` +public final void setEndShapeType(int value) +``` + + +Sets a type of the end shape. [GanttBarType](../../com.aspose.tasks/ganttbartype). + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| value | int | a type of the end shape. | + +### setFrom(int value) {#setFrom-int-} +``` +public final void setFrom(int value) +``` + + +Sets a start point position of the gantt bar. [Field](../../com.aspose.tasks/field). + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| value | int | a start point position of the gantt bar. | + ### setInsideBarTextConverter(TaskBarTextConverter value) {#setInsideBarTextConverter-com.aspose.tasks.TaskBarTextConverter-} ``` public final void setInsideBarTextConverter(TaskBarTextConverter value) @@ -442,6 +516,19 @@ Sets java.awt.Color of the shape at the beginning of the bar. | --- | --- | --- | | value | java.awt.Color | a color of the shape at the beginning of the bar. | +### setStartShapeType(int value) {#setStartShapeType-int-} +``` +public final void setStartShapeType(int value) +``` + + +Sets a type of the start shape. + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| value | int | a type of the start shape. | + ### setTextStyle(TextStyle value) {#setTextStyle-com.aspose.tasks.TextStyle-} ``` public final void setTextStyle(TextStyle value) @@ -455,6 +542,19 @@ Sets style of the bar's text. | --- | --- | --- | | value | [TextStyle](../../com.aspose.tasks/textstyle) | style of the bar's text. | +### setTo(int value) {#setTo-int-} +``` +public final void setTo(int value) +``` + + +Sets a finish point position of the gantt bar. + +**Parameters:** +| Parameter | Type | Description | +| --- | --- | --- | +| value | int | a finish point position of the gantt bar. | + ### setTopBarTextConverter(TaskBarTextConverter value) {#setTopBarTextConverter-com.aspose.tasks.TaskBarTextConverter-} ``` public final void setTopBarTextConverter(TaskBarTextConverter value) diff --git a/english/java/com.aspose.tasks/ganttbarmiddleshape/_index.md b/english/java/com.aspose.tasks/ganttbarmiddleshape/_index.md index b595a92905..2155a4260c 100644 --- a/english/java/com.aspose.tasks/ganttbarmiddleshape/_index.md +++ b/english/java/com.aspose.tasks/ganttbarmiddleshape/_index.md @@ -18,21 +18,21 @@ Specifies the middle shape of a bar. | Field | Description | | --- | --- | -| [LineBottom](#LineBottom) | Indicates Bottom line Gantt bar middle shape. | -| [LineMiddle](#LineMiddle) | Indicates Middle line Gantt bar middle shape. | -| [LineTop](#LineTop) | Indicates Top line Gantt bar middle shape. | -| [None](#None) | Indicates None Gantt bar middle shape. | -| [RectangleBar](#RectangleBar) | Indicates Rectangle Gantt bar middle shape. | -| [RectangleBottom](#RectangleBottom) | Indicates Rectangle bottom Gantt bar middle shape. | -| [RectangleMiddle](#RectangleMiddle) | Indicates Rectangle middle Gantt bar middle shape. | -| [RectangleTop](#RectangleTop) | Indicates Rectangle top Gantt bar middle shape. | +| [LineBottom](#LineBottom) | Indicates bottom-aligned line shape. | +| [LineMiddle](#LineMiddle) | Indicates center-aligned line shape. | +| [LineTop](#LineTop) | Indicates top-aligned line shape. | +| [None](#None) | Indicates empty shape. | +| [RectangleBar](#RectangleBar) | Indicates full height rectangle bar shape. | +| [RectangleBottom](#RectangleBottom) | Indicates Indicates bottom-aligned half height rectangle bar shape. | +| [RectangleMiddle](#RectangleMiddle) | Indicates center-aligned 1/3 height rectangle bar shape. | +| [RectangleTop](#RectangleTop) | Indicates top-aligned half height rectangle bar shape. | ### LineBottom {#LineBottom} ``` public static final int LineBottom ``` -Indicates Bottom line Gantt bar middle shape. +Indicates bottom-aligned line shape. ### LineMiddle {#LineMiddle} ``` @@ -40,7 +40,7 @@ public static final int LineMiddle ``` -Indicates Middle line Gantt bar middle shape. +Indicates center-aligned line shape. ### LineTop {#LineTop} ``` @@ -48,7 +48,7 @@ public static final int LineTop ``` -Indicates Top line Gantt bar middle shape. +Indicates top-aligned line shape. ### None {#None} ``` @@ -56,7 +56,7 @@ public static final int None ``` -Indicates None Gantt bar middle shape. +Indicates empty shape. ### RectangleBar {#RectangleBar} ``` @@ -64,7 +64,7 @@ public static final int RectangleBar ``` -Indicates Rectangle Gantt bar middle shape. +Indicates full height rectangle bar shape. ### RectangleBottom {#RectangleBottom} ``` @@ -72,7 +72,7 @@ public static final int RectangleBottom ``` -Indicates Rectangle bottom Gantt bar middle shape. +Indicates Indicates bottom-aligned half height rectangle bar shape. ### RectangleMiddle {#RectangleMiddle} ``` @@ -80,7 +80,7 @@ public static final int RectangleMiddle ``` -Indicates Rectangle middle Gantt bar middle shape. +Indicates center-aligned 1/3 height rectangle bar shape. ### RectangleTop {#RectangleTop} ``` @@ -88,5 +88,5 @@ public static final int RectangleTop ``` -Indicates Rectangle top Gantt bar middle shape. +Indicates top-aligned half height rectangle bar shape. diff --git a/english/java/com.aspose.tasks/shape/_index.md b/english/java/com.aspose.tasks/shape/_index.md index f6d32eb483..0eccf8d677 100644 --- a/english/java/com.aspose.tasks/shape/_index.md +++ b/english/java/com.aspose.tasks/shape/_index.md @@ -19,6 +19,7 @@ Shape of a marker at the beginning or end of the bar style to be rendered when s | Field | Description | | --- | --- | | [ArrowDown](#ArrowDown) | Indicates ArrowDown shape. | +| [Circle](#Circle) | Indicates Circle shape. | | [Diamond](#Diamond) | Indicates Diamond shape. | | [LeftBracket](#LeftBracket) | Indicates Left bracket shape. | | [LeftFade](#LeftFade) | Indicates Left fade shape. | @@ -36,6 +37,14 @@ public static final int ArrowDown Indicates ArrowDown shape. +### Circle {#Circle} +``` +public static final int Circle +``` + + +Indicates Circle shape. + ### Diamond {#Diamond} ``` public static final int Diamond diff --git a/english/java/com.aspose.tasks/taskvalidationexception/_index.md b/english/java/com.aspose.tasks/taskvalidationexception/_index.md index 86b0247ba6..791d83389a 100644 --- a/english/java/com.aspose.tasks/taskvalidationexception/_index.md +++ b/english/java/com.aspose.tasks/taskvalidationexception/_index.md @@ -14,3 +14,18 @@ public class TaskValidationException extends RecalculationValidationException ``` Represents an exception which is thrown when errors are found in project's tasks after recalculation. +## Methods + +| Method | Description | +| --- | --- | +| [getTask()](#getTask--) | Gets the task which caused the exception. | +### getTask() {#getTask--} +``` +public final Task getTask() +``` + + +Gets the task which caused the exception. + +**Returns:** +[Task](../../com.aspose.tasks/task) - the task which caused the exception.