
**Inheritance:**
java.lang.Object
```
public class Table
```

Represents a table in Project
## Constructors

| Constructor | Description |
| --- | --- |
| [Table()](#Table--) | Initializes a new instance of the [Table](../../com.aspose.tasks/table) class. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object obj)](#equals-java.lang.Object-) | Returns a value indicating whether this instance is equal to a specified object. |
| [getAdjustHeaderRowHeight()](#getAdjustHeaderRowHeight--) | Gets a value indicating whether the header row height of the table can be adjusted. |
| [getDateFormat()](#getDateFormat--) | Gets the date format of the table. |
| [getLockFirstColumn()](#getLockFirstColumn--) | Gets a value indicating whether the first column of a table is locked or editable. |
| [getName()](#getName--) | Gets the name of a Table object. |
| [getRowHeight()](#getRowHeight--) | Gets the row height in a table, where the row height is the number of lines of text. |
| [getShowAddNewColumn()](#getShowAddNewColumn--) | Gets a value indicating whether to show 'Add New Column' interface. |
| [getShowInMenu()](#getShowInMenu--) | Gets a value indicating whether project shows the table name in the Tables drop-down list on the View tab of the Ribbon. |
| [getTableFields()](#getTableFields--) | Gets a TableFields collection representing the fields in the table. |
| [getTableType()](#getTableType--) | Gets the table type for the specified table. |
| [getUid()](#getUid--) | Gets the unique identifier of a table. |
| [hashCode()](#hashCode--) | Returns a hash code for this Table. |
| [setAdjustHeaderRowHeight(boolean value)](#setAdjustHeaderRowHeight-boolean-) | Sets a value indicating whether the header row height of the table can be adjusted. |
| [setDateFormat(int value)](#setDateFormat-int-) | Sets the date format of the table. |
| [setLockFirstColumn(boolean value)](#setLockFirstColumn-boolean-) | Sets a value indicating whether the first column of a table is locked or editable. |
| [setName(String value)](#setName-java.lang.String-) | Sets the name of a Table object. |
| [setRowHeight(int value)](#setRowHeight-int-) | Sets the row height in a table, where the row height is the number of lines of text. |
| [setShowAddNewColumn(boolean value)](#setShowAddNewColumn-boolean-) | Sets a value indicating whether to show 'Add New Column' interface. |
| [setShowInMenu(boolean value)](#setShowInMenu-boolean-) | Sets a value indicating whether project shows the table name in the Tables drop-down list on the View tab of the Ribbon. |
| [setTableType(int value)](#setTableType-int-) | Sets the table type for the specified table. |
### Table() {#Table--}
```
public Table()
```


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

### equals(Object obj) {#equals-java.lang.Object-}
```
public boolean equals(Object obj)
```


Returns a value indicating whether this instance is equal to a specified object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| obj | java.lang.Object | The object to compare with this instance. |

**Returns:**
boolean - **True** if the specified object is a Table that has the same UID value as this instance; otherwise, **false**.
### getAdjustHeaderRowHeight() {#getAdjustHeaderRowHeight--}
```
public final boolean getAdjustHeaderRowHeight()
```


Gets a value indicating whether the header row height of the table can be adjusted.

**Returns:**
boolean - a value indicating whether the header row height of the table can be adjusted.
### getDateFormat() {#getDateFormat--}
```
public final int getDateFormat()
```


Gets the date format of the table.

**Returns:**
int - the date format of the table.
### getLockFirstColumn() {#getLockFirstColumn--}
```
public final boolean getLockFirstColumn()
```


Gets a value indicating whether the first column of a table is locked or editable.

**Returns:**
boolean - a value indicating whether the first column of a table is locked or editable.
### getName() {#getName--}
```
public final String getName()
```


Gets the name of a Table object.

**Returns:**
java.lang.String - the name of a Table object.
### getRowHeight() {#getRowHeight--}
```
public final int getRowHeight()
```


Gets the row height in a table, where the row height is the number of lines of text.

**Returns:**
int - the row height in a table, where the row height is the number of lines of text.
### getShowAddNewColumn() {#getShowAddNewColumn--}
```
public final boolean getShowAddNewColumn()
```


Gets a value indicating whether to show 'Add New Column' interface.

--------------------

Supported by MSP 2010 version and later.

**Returns:**
boolean - a value indicating whether to show 'Add New Column' interface.
### getShowInMenu() {#getShowInMenu--}
```
public final boolean getShowInMenu()
```


Gets a value indicating whether project shows the table name in the Tables drop-down list on the View tab of the Ribbon.

**Returns:**
boolean - a value indicating whether project shows the table name in the Tables drop-down list on the View tab of the Ribbon.
### getTableFields() {#getTableFields--}
```
public final TableFieldCollection getTableFields()
```


Gets a TableFields collection representing the fields in the table.

**Returns:**
[TableFieldCollection](../../com.aspose.tasks/tablefieldcollection) - a TableFields collection representing the fields in the table.
### getTableType() {#getTableType--}
```
public final int getTableType()
```


Gets the table type for the specified table.

**Returns:**
int - the table type for the specified table.
### getUid() {#getUid--}
```
public final int getUid()
```


Gets the unique identifier of a table.

**Returns:**
int - the unique identifier of a table.
### hashCode() {#hashCode--}
```
public int hashCode()
```


Returns a hash code for this Table.

**Returns:**
int - Returns a hash code value for this object.
### setAdjustHeaderRowHeight(boolean value) {#setAdjustHeaderRowHeight-boolean-}
```
public final void setAdjustHeaderRowHeight(boolean value)
```


Sets a value indicating whether the header row height of the table can be adjusted.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | a value indicating whether the header row height of the table can be adjusted. |

### setDateFormat(int value) {#setDateFormat-int-}
```
public final void setDateFormat(int value)
```


Sets the date format of the table.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the date format of the table. |

### setLockFirstColumn(boolean value) {#setLockFirstColumn-boolean-}
```
public final void setLockFirstColumn(boolean value)
```


Sets a value indicating whether the first column of a table is locked or editable.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | a value indicating whether the first column of a table is locked or editable. |

### setName(String value) {#setName-java.lang.String-}
```
public final void setName(String value)
```


Sets the name of a Table object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String | the name of a Table object. |

### setRowHeight(int value) {#setRowHeight-int-}
```
public final void setRowHeight(int value)
```


Sets the row height in a table, where the row height is the number of lines of text.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the row height in a table, where the row height is the number of lines of text. |

### setShowAddNewColumn(boolean value) {#setShowAddNewColumn-boolean-}
```
public final void setShowAddNewColumn(boolean value)
```


Sets a value indicating whether to show 'Add New Column' interface.

--------------------

Supported by MSP 2010 version and later.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | a value indicating whether to show 'Add New Column' interface. |

### setShowInMenu(boolean value) {#setShowInMenu-boolean-}
```
public final void setShowInMenu(boolean value)
```


Sets a value indicating whether project shows the table name in the Tables drop-down list on the View tab of the Ribbon.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | a value indicating whether project shows the table name in the Tables drop-down list on the View tab of the Ribbon. |

### setTableType(int value) {#setTableType-int-}
```
public final void setTableType(int value)
```


Sets the table type for the specified table.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the table type for the specified table. |

