
**Inheritance:**
java.lang.Object
```
public final class PageLegendItem
```

Represents an item of page legend of Gantt chart.
## Constructors

| Constructor | Description |
| --- | --- |
| [PageLegendItem(int itemType, String title)](#PageLegendItem-int-java.lang.String-) | Initializes a new instance of the [PageLegendItem](../../com.aspose.tasks/pagelegenditem) class. |
## Methods

| Method | Description |
| --- | --- |
| [getItemType()](#getItemType--) | Gets type of the item. |
| [getTitle()](#getTitle--) | Gets text label of the item. |
### PageLegendItem(int itemType, String title) {#PageLegendItem-int-java.lang.String-}
```
public PageLegendItem(int itemType, String title)
```


Initializes a new instance of the [PageLegendItem](../../com.aspose.tasks/pagelegenditem) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| itemType | int | Type of the item. |
| title | java.lang.String | Text content of the text label of the item. |

### getItemType() {#getItemType--}
```
public final int getItemType()
```


Gets type of the item.

**Returns:**
int - type of the item.
### getTitle() {#getTitle--}
```
public final String getTitle()
```


Gets text label of the item.

**Returns:**
java.lang.String - text label of the item.
