
**Inheritance:**
java.lang.Object, [com.aspose.gridweb.WebStyle](../../com.aspose.gridweb/webstyle), [com.aspose.gridweb.WebTableStyle](../../com.aspose.gridweb/webtablestyle)
```
public class GridTableStyle extends WebTableStyle
```

Inherited from System.Web.UI.WebControls.TableStyle. Represents the style of a web table. Please refer to .NET SDK document about System.Web.UI.WebControls.TableStyle for further information.
## Constructors

| Constructor | Description |
| --- | --- |
| [GridTableStyle()](#GridTableStyle--) | Default constructor. |
## Methods

| Method | Description |
| --- | --- |
| [copyFrom(WebStyle s)](#copyFrom-com.aspose.gridweb.WebStyle-) | Copies from another style object. |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getBackColor()](#getBackColor--) | Gets the BackColor in the style |
| [getBackImageUrl()](#getBackImageUrl--) | Background image url. |
| [getBorderCollapse()](#getBorderCollapse--) | Specifies the border collapse feature. |
| [getBorderColor()](#getBorderColor--) | Gets the BorderColor in the style |
| [getBorderStyle()](#getBorderStyle--) | Gets the BorderStyle in the style |
| [getBorderWidth()](#getBorderWidth--) | Gets the BorderWidth in the style |
| [getBottomBorderStyle()](#getBottomBorderStyle--) | Specifies the style of bottom border of the table. |
| [getCellPadding()](#getCellPadding--) | Always returns -1. |
| [getCellSpacing()](#getCellSpacing--) | Always returns -1. |
| [getClass()](#getClass--) |  |
| [getCssClass()](#getCssClass--) | Gets the CssClass in the style |
| [getFont()](#getFont--) | Gets the Font in the style |
| [getForeColor()](#getForeColor--) | Gets the ForeColor in the style |
| [getGridLines()](#getGridLines--) | Grid lines. |
| [getHeight()](#getHeight--) | Gets the Height in the style |
| [getHorizontalAlign()](#getHorizontalAlign--) | Horizontal align. |
| [getLayoutFixed()](#getLayoutFixed--) | Specifies whether the layout of the table is fixed(not extended automatically when it contain large objects). |
| [getLeftBorderStyle()](#getLeftBorderStyle--) | Specifies the style of left border of the table. |
| [getRightBorderStyle()](#getRightBorderStyle--) | Specifies the style of right border of the table. |
| [getTopBorderStyle()](#getTopBorderStyle--) | Specifies the style of top border of the table. |
| [getWidth()](#getWidth--) | Gets the Width in the style |
| [hashCode()](#hashCode--) |  |
| [mergeWith(WebStyle s)](#mergeWith-com.aspose.gridweb.WebStyle-) | Merges with another style object. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setBackColor(Color value)](#setBackColor-com.aspose.gridweb.Color-) | Sets the BackColor in the style |
| [setBackImageUrl(String value)](#setBackImageUrl-java.lang.String-) | Background image url. |
| [setBorderCollapse(int value)](#setBorderCollapse-int-) | Specifies the border collapse feature. |
| [setBorderColor(Color value)](#setBorderColor-com.aspose.gridweb.Color-) | Sets the BorderColor in the style |
| [setBorderStyle(int value)](#setBorderStyle-int-) | Sets the BorderStyle in the style |
| [setBorderWidth(Unit value)](#setBorderWidth-com.aspose.gridweb.Unit-) | Sets the BorderWidth in the style |
| [setBottomBorderStyle(WebBorderStyle value)](#setBottomBorderStyle-com.aspose.gridweb.WebBorderStyle-) | Specifies the style of bottom border of the table. |
| [setCellPadding(int value)](#setCellPadding-int-) | Always returns -1. |
| [setCellSpacing(int value)](#setCellSpacing-int-) | Always returns -1. |
| [setCssClass(String value)](#setCssClass-java.lang.String-) | Sets the CssClass in the style |
| [setForeColor(Color value)](#setForeColor-com.aspose.gridweb.Color-) | Sets the ForeColor in the style |
| [setGridLines(int value)](#setGridLines-int-) | Grid lines. |
| [setHeight(Unit value)](#setHeight-com.aspose.gridweb.Unit-) | Sets the Height in the style |
| [setHorizontalAlign(int value)](#setHorizontalAlign-int-) | Horizontal align. |
| [setLayoutFixed(int value)](#setLayoutFixed-int-) | Specifies whether the layout of the table is fixed(not extended automatically when it contain large objects). |
| [setLeftBorderStyle(WebBorderStyle value)](#setLeftBorderStyle-com.aspose.gridweb.WebBorderStyle-) | Specifies the style of left border of the table. |
| [setRightBorderStyle(WebBorderStyle value)](#setRightBorderStyle-com.aspose.gridweb.WebBorderStyle-) | Specifies the style of right border of the table. |
| [setTopBorderStyle(WebBorderStyle value)](#setTopBorderStyle-com.aspose.gridweb.WebBorderStyle-) | Specifies the style of top border of the table. |
| [setWidth(Unit value)](#setWidth-com.aspose.gridweb.Unit-) | Sets the Width in the style |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### GridTableStyle() {#GridTableStyle--}
```
public GridTableStyle()
```


Default constructor.

### copyFrom(WebStyle s) {#copyFrom-com.aspose.gridweb.WebStyle-}
```
public void copyFrom(WebStyle s)
```


Copies from another style object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| s | [WebStyle](../../com.aspose.gridweb/webstyle) | another style object. |

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




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getBackColor() {#getBackColor--}
```
public Color getBackColor()
```


Gets the BackColor in the style

**Returns:**
[Color](../../com.aspose.gridweb/color)
### getBackImageUrl() {#getBackImageUrl--}
```
public String getBackImageUrl()
```


Background image url.

**Returns:**
java.lang.String
### getBorderCollapse() {#getBorderCollapse--}
```
public int getBorderCollapse()
```


Specifies the border collapse feature.

See [BorderCollapseType](../../com.aspose.gridweb/bordercollapsetype).

**Returns:**
int
### getBorderColor() {#getBorderColor--}
```
public Color getBorderColor()
```


Gets the BorderColor in the style

**Returns:**
[Color](../../com.aspose.gridweb/color)
### getBorderStyle() {#getBorderStyle--}
```
public int getBorderStyle()
```


Gets the BorderStyle in the style

See [BorderStyle](../../com.aspose.gridweb/borderstyle).

**Returns:**
int
### getBorderWidth() {#getBorderWidth--}
```
public Unit getBorderWidth()
```


Gets the BorderWidth in the style

**Returns:**
[Unit](../../com.aspose.gridweb/unit)
### getBottomBorderStyle() {#getBottomBorderStyle--}
```
public WebBorderStyle getBottomBorderStyle()
```


Specifies the style of bottom border of the table.

**Returns:**
[WebBorderStyle](../../com.aspose.gridweb/webborderstyle)
### getCellPadding() {#getCellPadding--}
```
public int getCellPadding()
```


Always returns -1.

**Returns:**
int
### getCellSpacing() {#getCellSpacing--}
```
public int getCellSpacing()
```


Always returns -1.

**Returns:**
int
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getCssClass() {#getCssClass--}
```
public String getCssClass()
```


Gets the CssClass in the style

**Returns:**
java.lang.String
### getFont() {#getFont--}
```
public FontInfo getFont()
```


Gets the Font in the style

**Returns:**
[FontInfo](../../com.aspose.gridweb/fontinfo)
### getForeColor() {#getForeColor--}
```
public Color getForeColor()
```


Gets the ForeColor in the style

**Returns:**
[Color](../../com.aspose.gridweb/color)
### getGridLines() {#getGridLines--}
```
public int getGridLines()
```


Grid lines.

See [GridLines](../../com.aspose.gridweb/gridlines).

**Returns:**
int
### getHeight() {#getHeight--}
```
public Unit getHeight()
```


Gets the Height in the style

**Returns:**
[Unit](../../com.aspose.gridweb/unit)
### getHorizontalAlign() {#getHorizontalAlign--}
```
public int getHorizontalAlign()
```


Horizontal align.

See [HorizontalAlign](../../com.aspose.gridweb/horizontalalign).

**Returns:**
int
### getLayoutFixed() {#getLayoutFixed--}
```
public int getLayoutFixed()
```


Specifies whether the layout of the table is fixed(not extended automatically when it contain large objects).

See [LayoutFixedType](../../com.aspose.gridweb/layoutfixedtype).

**Returns:**
int
### getLeftBorderStyle() {#getLeftBorderStyle--}
```
public WebBorderStyle getLeftBorderStyle()
```


Specifies the style of left border of the table.

**Returns:**
[WebBorderStyle](../../com.aspose.gridweb/webborderstyle)
### getRightBorderStyle() {#getRightBorderStyle--}
```
public WebBorderStyle getRightBorderStyle()
```


Specifies the style of right border of the table.

**Returns:**
[WebBorderStyle](../../com.aspose.gridweb/webborderstyle)
### getTopBorderStyle() {#getTopBorderStyle--}
```
public WebBorderStyle getTopBorderStyle()
```


Specifies the style of top border of the table.

**Returns:**
[WebBorderStyle](../../com.aspose.gridweb/webborderstyle)
### getWidth() {#getWidth--}
```
public Unit getWidth()
```


Gets the Width in the style

**Returns:**
[Unit](../../com.aspose.gridweb/unit)
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### mergeWith(WebStyle s) {#mergeWith-com.aspose.gridweb.WebStyle-}
```
public void mergeWith(WebStyle s)
```


Merges with another style object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| s | [WebStyle](../../com.aspose.gridweb/webstyle) | another style object |

### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setBackColor(Color value) {#setBackColor-com.aspose.gridweb.Color-}
```
public void setBackColor(Color value)
```


Sets the BackColor in the style

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Color](../../com.aspose.gridweb/color) |  |

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


Background image url.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setBorderCollapse(int value) {#setBorderCollapse-int-}
```
public void setBorderCollapse(int value)
```


Specifies the border collapse feature.

See [BorderCollapseType](../../com.aspose.gridweb/bordercollapsetype).

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setBorderColor(Color value) {#setBorderColor-com.aspose.gridweb.Color-}
```
public void setBorderColor(Color value)
```


Sets the BorderColor in the style

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Color](../../com.aspose.gridweb/color) |  |

### setBorderStyle(int value) {#setBorderStyle-int-}
```
public void setBorderStyle(int value)
```


Sets the BorderStyle in the style

See [BorderStyle](../../com.aspose.gridweb/borderstyle).

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setBorderWidth(Unit value) {#setBorderWidth-com.aspose.gridweb.Unit-}
```
public void setBorderWidth(Unit value)
```


Sets the BorderWidth in the style

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Unit](../../com.aspose.gridweb/unit) |  |

### setBottomBorderStyle(WebBorderStyle value) {#setBottomBorderStyle-com.aspose.gridweb.WebBorderStyle-}
```
public void setBottomBorderStyle(WebBorderStyle value)
```


Specifies the style of bottom border of the table.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [WebBorderStyle](../../com.aspose.gridweb/webborderstyle) |  |

### setCellPadding(int value) {#setCellPadding-int-}
```
public void setCellPadding(int value)
```


Always returns -1.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setCellSpacing(int value) {#setCellSpacing-int-}
```
public void setCellSpacing(int value)
```


Always returns -1.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

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


Sets the CssClass in the style

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setForeColor(Color value) {#setForeColor-com.aspose.gridweb.Color-}
```
public void setForeColor(Color value)
```


Sets the ForeColor in the style

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Color](../../com.aspose.gridweb/color) |  |

### setGridLines(int value) {#setGridLines-int-}
```
public void setGridLines(int value)
```


Grid lines.

See [GridLines](../../com.aspose.gridweb/gridlines).

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setHeight(Unit value) {#setHeight-com.aspose.gridweb.Unit-}
```
public void setHeight(Unit value)
```


Sets the Height in the style

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Unit](../../com.aspose.gridweb/unit) |  |

### setHorizontalAlign(int value) {#setHorizontalAlign-int-}
```
public void setHorizontalAlign(int value)
```


Horizontal align.

See [HorizontalAlign](../../com.aspose.gridweb/horizontalalign).

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setLayoutFixed(int value) {#setLayoutFixed-int-}
```
public void setLayoutFixed(int value)
```


Specifies whether the layout of the table is fixed(not extended automatically when it contain large objects).

See [LayoutFixedType](../../com.aspose.gridweb/layoutfixedtype).

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setLeftBorderStyle(WebBorderStyle value) {#setLeftBorderStyle-com.aspose.gridweb.WebBorderStyle-}
```
public void setLeftBorderStyle(WebBorderStyle value)
```


Specifies the style of left border of the table.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [WebBorderStyle](../../com.aspose.gridweb/webborderstyle) |  |

### setRightBorderStyle(WebBorderStyle value) {#setRightBorderStyle-com.aspose.gridweb.WebBorderStyle-}
```
public void setRightBorderStyle(WebBorderStyle value)
```


Specifies the style of right border of the table.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [WebBorderStyle](../../com.aspose.gridweb/webborderstyle) |  |

### setTopBorderStyle(WebBorderStyle value) {#setTopBorderStyle-com.aspose.gridweb.WebBorderStyle-}
```
public void setTopBorderStyle(WebBorderStyle value)
```


Specifies the style of top border of the table.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [WebBorderStyle](../../com.aspose.gridweb/webborderstyle) |  |

### setWidth(Unit value) {#setWidth-com.aspose.gridweb.Unit-}
```
public void setWidth(Unit value)
```


Sets the Width in the style

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Unit](../../com.aspose.gridweb/unit) |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

