Skip to content

Commit 76389de

Browse files
committed
Updated Aspose.Tasks for Java API reference to v.24.9.
1 parent cf30415 commit 76389de

File tree

5 files changed

+166
-24
lines changed

5 files changed

+166
-24
lines changed

english/java/com.aspose.tasks/barshape/_index.md

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ Shape of a bar rectangle.
1919
| Field | Description |
2020
| --- | --- |
2121
| [Full](#Full) | Indicates Full rectangle bar shape. |
22-
| [HalfHeight](#HalfHeight) | Indicates Half height rectangle bar shape. |
23-
| [LineBottom](#LineBottom) | Indicates Line bottom bar shape. |
24-
| [Middle](#Middle) | Indicates Rectangle middle bar shape. |
22+
| [HalfHeight](#HalfHeight) | Indicates top-aligned half height rectangle bar shape. |
23+
| [HalfHeightBottom](#HalfHeightBottom) | Indicates bottom-aligned half height rectangle bar shape. |
24+
| [LineBottom](#LineBottom) | Indicates bottom-aligned line shape. |
25+
| [LineTop](#LineTop) | Indicates top-aligned line shape. |
26+
| [Middle](#Middle) | Indicates center-aligned line shape. |
2527
| [None](#None) | Indicates None bar shape. |
26-
| [Thin](#Thin) | Indicates Thin rectangle bar shape. |
28+
| [Thin](#Thin) | Indicates center-aligned line shape. |
2729
### Full {#Full}
2830
```
2931
public static final int Full
@@ -38,23 +40,39 @@ public static final int HalfHeight
3840
```
3941

4042

41-
Indicates Half height rectangle bar shape.
43+
Indicates top-aligned half height rectangle bar shape.
44+
45+
### HalfHeightBottom {#HalfHeightBottom}
46+
```
47+
public static final int HalfHeightBottom
48+
```
49+
50+
51+
Indicates bottom-aligned half height rectangle bar shape.
4252

4353
### LineBottom {#LineBottom}
4454
```
4555
public static final int LineBottom
4656
```
4757

4858

49-
Indicates Line bottom bar shape.
59+
Indicates bottom-aligned line shape.
60+
61+
### LineTop {#LineTop}
62+
```
63+
public static final int LineTop
64+
```
65+
66+
67+
Indicates top-aligned line shape.
5068

5169
### Middle {#Middle}
5270
```
5371
public static final int Middle
5472
```
5573

5674

57-
Indicates Rectangle middle bar shape.
75+
Indicates center-aligned line shape.
5876

5977
### None {#None}
6078
```
@@ -70,5 +88,5 @@ public static final int Thin
7088
```
7189

7290

73-
Indicates Thin rectangle bar shape.
91+
Indicates center-aligned line shape.
7492

english/java/com.aspose.tasks/barstyle/_index.md

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Change the visual style of the bar for the item in the project view.
2929
| [getBottomField()](#getBottomField--) | Gets a field to be displayed on the bottom of the bar. |
3030
| [getEndShape()](#getEndShape--) | Gets [Shape](../../com.aspose.tasks/shape) at the end of the bar. |
3131
| [getEndShapeColor()](#getEndShapeColor--) | Gets java.awt.Color of the shape at the end of the bar. |
32+
| [getEndShapeType()](#getEndShapeType--) | Gets a type of the end shape. |
33+
| [getFrom()](#getFrom--) | Gets a start point position of the gantt bar. |
3234
| [getInsideBarTextConverter()](#getInsideBarTextConverter--) | Gets user-defined converter to get text to render inside of the task's bar. |
3335
| [getInsideField()](#getInsideField--) | Gets a field to be displayed inside of the bar. |
3436
| [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.
3840
| [getRightField()](#getRightField--) | Gets a field to be displayed on the right of the bar. |
3941
| [getStartShape()](#getStartShape--) | Gets [Shape](../../com.aspose.tasks/shape) at the beginning of the bar. |
4042
| [getStartShapeColor()](#getStartShapeColor--) | Gets java.awt.Color of the shape at the beginning of the bar. |
43+
| [getStartShapeType()](#getStartShapeType--) | Gets a type of the start shape. |
4144
| [getTextStyle()](#getTextStyle--) | Gets style of the bar's text. |
45+
| [getTo()](#getTo--) | Gets a finish point position of the gantt bar. |
4246
| [getTopBarTextConverter()](#getTopBarTextConverter--) | Gets user-defined converter to get text to render on the top of the task's bar. |
4347
| [getTopField()](#getTopField--) | Gets a field to be displayed on the top of the bar. |
4448
| [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.
4751
| [setBottomField(int value)](#setBottomField-int-) | Sets a field to be displayed on the bottom of the bar. |
4852
| [setEndShape(int value)](#setEndShape-int-) | Sets [Shape](../../com.aspose.tasks/shape) at the end of the bar. |
4953
| [setEndShapeColor(Color value)](#setEndShapeColor-java.awt.Color-) | Sets java.awt.Color of the shape at the end of the bar. |
54+
| [setEndShapeType(int value)](#setEndShapeType-int-) | Sets a type of the end shape. |
55+
| [setFrom(int value)](#setFrom-int-) | Sets a start point position of the gantt bar. |
5056
| [setInsideBarTextConverter(TaskBarTextConverter value)](#setInsideBarTextConverter-com.aspose.tasks.TaskBarTextConverter-) | Sets user-defined converter to get text to render inside of the task's bar. |
5157
| [setInsideField(int value)](#setInsideField-int-) | Sets a field to be displayed inside of the bar. |
5258
| [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.
5662
| [setRightField(int value)](#setRightField-int-) | Sets a field to be displayed on the right of the bar. |
5763
| [setStartShape(int value)](#setStartShape-int-) | Sets [Shape](../../com.aspose.tasks/shape) at the beginning of the bar. |
5864
| [setStartShapeColor(Color value)](#setStartShapeColor-java.awt.Color-) | Sets java.awt.Color of the shape at the beginning of the bar. |
65+
| [setStartShapeType(int value)](#setStartShapeType-int-) | Sets a type of the start shape. |
5966
| [setTextStyle(TextStyle value)](#setTextStyle-com.aspose.tasks.TextStyle-) | Sets style of the bar's text. |
67+
| [setTo(int value)](#setTo-int-) | Sets a finish point position of the gantt bar. |
6068
| [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. |
6169
| [setTopField(int value)](#setTopField-int-) | Sets a field to be displayed on the top of the bar. |
6270
### BarStyle() {#BarStyle--}
@@ -127,6 +135,26 @@ Gets java.awt.Color of the shape at the end of the bar.
127135

128136
**Returns:**
129137
java.awt.Color - a color of the shape at the beginning of the bar.
138+
### getEndShapeType() {#getEndShapeType--}
139+
```
140+
public final int getEndShapeType()
141+
```
142+
143+
144+
Gets a type of the end shape. [GanttBarType](../../com.aspose.tasks/ganttbartype).
145+
146+
**Returns:**
147+
int - a type of the end shape.
148+
### getFrom() {#getFrom--}
149+
```
150+
public final int getFrom()
151+
```
152+
153+
154+
Gets a start point position of the gantt bar. [Field](../../com.aspose.tasks/field).
155+
156+
**Returns:**
157+
int - a start point position of the gantt bar.
130158
### getInsideBarTextConverter() {#getInsideBarTextConverter--}
131159
```
132160
public final TaskBarTextConverter getInsideBarTextConverter()
@@ -217,6 +245,16 @@ Gets java.awt.Color of the shape at the beginning of the bar.
217245

218246
**Returns:**
219247
java.awt.Color - a color of the shape at the beginning of the bar.
248+
### getStartShapeType() {#getStartShapeType--}
249+
```
250+
public final int getStartShapeType()
251+
```
252+
253+
254+
Gets a type of the start shape.
255+
256+
**Returns:**
257+
int - a type of the start shape.
220258
### getTextStyle() {#getTextStyle--}
221259
```
222260
public final TextStyle getTextStyle()
@@ -227,6 +265,16 @@ Gets style of the bar's text.
227265

228266
**Returns:**
229267
[TextStyle](../../com.aspose.tasks/textstyle) - style of the bar's text.
268+
### getTo() {#getTo--}
269+
```
270+
public final int getTo()
271+
```
272+
273+
274+
Gets a finish point position of the gantt bar.
275+
276+
**Returns:**
277+
int - a finish point position of the gantt bar.
230278
### getTopBarTextConverter() {#getTopBarTextConverter--}
231279
```
232280
public final TaskBarTextConverter getTopBarTextConverter()
@@ -325,6 +373,32 @@ Sets java.awt.Color of the shape at the end of the bar.
325373
| --- | --- | --- |
326374
| value | java.awt.Color | a color of the shape at the beginning of the bar. |
327375

376+
### setEndShapeType(int value) {#setEndShapeType-int-}
377+
```
378+
public final void setEndShapeType(int value)
379+
```
380+
381+
382+
Sets a type of the end shape. [GanttBarType](../../com.aspose.tasks/ganttbartype).
383+
384+
**Parameters:**
385+
| Parameter | Type | Description |
386+
| --- | --- | --- |
387+
| value | int | a type of the end shape. |
388+
389+
### setFrom(int value) {#setFrom-int-}
390+
```
391+
public final void setFrom(int value)
392+
```
393+
394+
395+
Sets a start point position of the gantt bar. [Field](../../com.aspose.tasks/field).
396+
397+
**Parameters:**
398+
| Parameter | Type | Description |
399+
| --- | --- | --- |
400+
| value | int | a start point position of the gantt bar. |
401+
328402
### setInsideBarTextConverter(TaskBarTextConverter value) {#setInsideBarTextConverter-com.aspose.tasks.TaskBarTextConverter-}
329403
```
330404
public final void setInsideBarTextConverter(TaskBarTextConverter value)
@@ -442,6 +516,19 @@ Sets java.awt.Color of the shape at the beginning of the bar.
442516
| --- | --- | --- |
443517
| value | java.awt.Color | a color of the shape at the beginning of the bar. |
444518

519+
### setStartShapeType(int value) {#setStartShapeType-int-}
520+
```
521+
public final void setStartShapeType(int value)
522+
```
523+
524+
525+
Sets a type of the start shape.
526+
527+
**Parameters:**
528+
| Parameter | Type | Description |
529+
| --- | --- | --- |
530+
| value | int | a type of the start shape. |
531+
445532
### setTextStyle(TextStyle value) {#setTextStyle-com.aspose.tasks.TextStyle-}
446533
```
447534
public final void setTextStyle(TextStyle value)
@@ -455,6 +542,19 @@ Sets style of the bar's text.
455542
| --- | --- | --- |
456543
| value | [TextStyle](../../com.aspose.tasks/textstyle) | style of the bar's text. |
457544

545+
### setTo(int value) {#setTo-int-}
546+
```
547+
public final void setTo(int value)
548+
```
549+
550+
551+
Sets a finish point position of the gantt bar.
552+
553+
**Parameters:**
554+
| Parameter | Type | Description |
555+
| --- | --- | --- |
556+
| value | int | a finish point position of the gantt bar. |
557+
458558
### setTopBarTextConverter(TaskBarTextConverter value) {#setTopBarTextConverter-com.aspose.tasks.TaskBarTextConverter-}
459559
```
460560
public final void setTopBarTextConverter(TaskBarTextConverter value)

english/java/com.aspose.tasks/ganttbarmiddleshape/_index.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,75 +18,75 @@ Specifies the middle shape of a bar.
1818

1919
| Field | Description |
2020
| --- | --- |
21-
| [LineBottom](#LineBottom) | Indicates Bottom line Gantt bar middle shape. |
22-
| [LineMiddle](#LineMiddle) | Indicates Middle line Gantt bar middle shape. |
23-
| [LineTop](#LineTop) | Indicates Top line Gantt bar middle shape. |
24-
| [None](#None) | Indicates None Gantt bar middle shape. |
25-
| [RectangleBar](#RectangleBar) | Indicates Rectangle Gantt bar middle shape. |
26-
| [RectangleBottom](#RectangleBottom) | Indicates Rectangle bottom Gantt bar middle shape. |
27-
| [RectangleMiddle](#RectangleMiddle) | Indicates Rectangle middle Gantt bar middle shape. |
28-
| [RectangleTop](#RectangleTop) | Indicates Rectangle top Gantt bar middle shape. |
21+
| [LineBottom](#LineBottom) | Indicates bottom-aligned line shape. |
22+
| [LineMiddle](#LineMiddle) | Indicates center-aligned line shape. |
23+
| [LineTop](#LineTop) | Indicates top-aligned line shape. |
24+
| [None](#None) | Indicates empty shape. |
25+
| [RectangleBar](#RectangleBar) | Indicates full height rectangle bar shape. |
26+
| [RectangleBottom](#RectangleBottom) | Indicates Indicates bottom-aligned half height rectangle bar shape. |
27+
| [RectangleMiddle](#RectangleMiddle) | Indicates center-aligned 1/3 height rectangle bar shape. |
28+
| [RectangleTop](#RectangleTop) | Indicates top-aligned half height rectangle bar shape. |
2929
### LineBottom {#LineBottom}
3030
```
3131
public static final int LineBottom
3232
```
3333

3434

35-
Indicates Bottom line Gantt bar middle shape.
35+
Indicates bottom-aligned line shape.
3636

3737
### LineMiddle {#LineMiddle}
3838
```
3939
public static final int LineMiddle
4040
```
4141

4242

43-
Indicates Middle line Gantt bar middle shape.
43+
Indicates center-aligned line shape.
4444

4545
### LineTop {#LineTop}
4646
```
4747
public static final int LineTop
4848
```
4949

5050

51-
Indicates Top line Gantt bar middle shape.
51+
Indicates top-aligned line shape.
5252

5353
### None {#None}
5454
```
5555
public static final int None
5656
```
5757

5858

59-
Indicates None Gantt bar middle shape.
59+
Indicates empty shape.
6060

6161
### RectangleBar {#RectangleBar}
6262
```
6363
public static final int RectangleBar
6464
```
6565

6666

67-
Indicates Rectangle Gantt bar middle shape.
67+
Indicates full height rectangle bar shape.
6868

6969
### RectangleBottom {#RectangleBottom}
7070
```
7171
public static final int RectangleBottom
7272
```
7373

7474

75-
Indicates Rectangle bottom Gantt bar middle shape.
75+
Indicates Indicates bottom-aligned half height rectangle bar shape.
7676

7777
### RectangleMiddle {#RectangleMiddle}
7878
```
7979
public static final int RectangleMiddle
8080
```
8181

8282

83-
Indicates Rectangle middle Gantt bar middle shape.
83+
Indicates center-aligned 1/3 height rectangle bar shape.
8484

8585
### RectangleTop {#RectangleTop}
8686
```
8787
public static final int RectangleTop
8888
```
8989

9090

91-
Indicates Rectangle top Gantt bar middle shape.
91+
Indicates top-aligned half height rectangle bar shape.
9292

english/java/com.aspose.tasks/shape/_index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Shape of a marker at the beginning or end of the bar style to be rendered when s
1919
| Field | Description |
2020
| --- | --- |
2121
| [ArrowDown](#ArrowDown) | Indicates ArrowDown shape. |
22+
| [Circle](#Circle) | Indicates Circle shape. |
2223
| [Diamond](#Diamond) | Indicates Diamond shape. |
2324
| [LeftBracket](#LeftBracket) | Indicates Left bracket shape. |
2425
| [LeftFade](#LeftFade) | Indicates Left fade shape. |
@@ -36,6 +37,14 @@ public static final int ArrowDown
3637

3738
Indicates ArrowDown shape.
3839

40+
### Circle {#Circle}
41+
```
42+
public static final int Circle
43+
```
44+
45+
46+
Indicates Circle shape.
47+
3948
### Diamond {#Diamond}
4049
```
4150
public static final int Diamond

english/java/com.aspose.tasks/taskvalidationexception/_index.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,18 @@ public class TaskValidationException extends RecalculationValidationException
1414
```
1515

1616
Represents an exception which is thrown when errors are found in project's tasks after recalculation.
17+
## Methods
18+
19+
| Method | Description |
20+
| --- | --- |
21+
| [getTask()](#getTask--) | Gets the task which caused the exception. |
22+
### getTask() {#getTask--}
23+
```
24+
public final Task getTask()
25+
```
26+
27+
28+
Gets the task which caused the exception.
29+
30+
**Returns:**
31+
[Task](../../com.aspose.tasks/task) - the task which caused the exception.

0 commit comments

Comments
 (0)