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

Encapsulates the style of web table or cell border.

**Remarks**

Please refer to .NET SDK document for further information about System.Web.UI.WebControls namespace.
## Constructors

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

| Method | Description |
| --- | --- |
| [copyFrom(WebBorderStyle style)](#copyFrom-com.aspose.gridweb.WebBorderStyle-) | Copies from another style object. |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getBorderColor()](#getBorderColor--) | Gets the color of the border. |
| [getBorderStyle()](#getBorderStyle--) | Gets the style of the border. |
| [getBorderWidth()](#getBorderWidth--) | Gets the width of the border. |
| [getClass()](#getClass--) |  |
| [hashCode()](#hashCode--) | Gets the hash code of this object. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setBorderColor(Color value)](#setBorderColor-com.aspose.gridweb.Color-) | Sets the color of the border. |
| [setBorderStyle(int value)](#setBorderStyle-int-) | Sets the style of the border. |
| [setBorderWidth(Unit value)](#setBorderWidth-com.aspose.gridweb.Unit-) | Sets the width of the border. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### WebBorderStyle() {#WebBorderStyle--}
```
public WebBorderStyle()
```


Default constructor.

### copyFrom(WebBorderStyle style) {#copyFrom-com.aspose.gridweb.WebBorderStyle-}
```
public void copyFrom(WebBorderStyle style)
```


Copies from another style object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| style | [WebBorderStyle](../../com.aspose.gridweb/webborderstyle) | The style object to be copied. |

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




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

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


Gets the color of the border. Please refer to System.Drawing.Color struct.

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


Gets the style of the border. Please refer to .NET SDK document about System.Web.UI.WebControls.BorderStyle enum.

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

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


Gets the width of the border. Please refer to System.Web.UI.WebControls.Unit struct.

**Returns:**
[Unit](../../com.aspose.gridweb/unit)
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




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


Gets the hash code of this object.

**Returns:**
int - 
### notify() {#notify--}
```
public final native void notify()
```




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




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


Sets the color of the border. Please refer to System.Drawing.Color struct.

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

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


Sets the style of the border. Please refer to .NET SDK document about System.Web.UI.WebControls.BorderStyle enum.

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 width of the border. Please refer to System.Web.UI.WebControls.Unit struct.

**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 |  |

