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

A gadget that extends this event.
## Constructors

| Constructor | Description |
| --- | --- |
| [Gadget()](#Gadget--) | Initializes a new instance of the Gadget class. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getDisplay()](#getDisplay--) | The gadget's display mode. |
| [getHeight()](#getHeight--) | The gadget's height in pixels. |
| [getIconLink()](#getIconLink--) | The gadget's icon URL. |
| [getLink()](#getLink--) | The gadget's URL. |
| [getPreferences()](#getPreferences--) | The gadget's preferences |
| [getTitle()](#getTitle--) | The gadget's title. |
| [getType()](#getType--) | The gadget's type. |
| [getWidth()](#getWidth--) | The gadget's width in pixels. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setDisplay(String value)](#setDisplay-java.lang.String-) | The gadget's display mode. |
| [setHeight(int value)](#setHeight-int-) | The gadget's height in pixels. |
| [setIconLink(String value)](#setIconLink-java.lang.String-) | The gadget's icon URL. |
| [setLink(String value)](#setLink-java.lang.String-) | The gadget's URL. |
| [setTitle(String value)](#setTitle-java.lang.String-) | The gadget's title. |
| [setType(String value)](#setType-java.lang.String-) | The gadget's type. |
| [setWidth(int value)](#setWidth-int-) | The gadget's width in pixels. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### Gadget() {#Gadget--}
```
public Gadget()
```


Initializes a new instance of the Gadget class.

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




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

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




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


The gadget's display mode. Optional. Possible values are: "icon" - The gadget displays next to the event's title in the calendar view. "chip" - The gadget displays when the event is clicked.

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


The gadget's height in pixels.

**Returns:**
int
### getIconLink() {#getIconLink--}
```
public final String getIconLink()
```


The gadget's icon URL.

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


The gadget's URL.

**Returns:**
java.lang.String
### getPreferences() {#getPreferences--}
```
public final System.Collections.Generic.Dictionary<String,String> getPreferences()
```


The gadget's preferences

**Returns:**
com.aspose.ms.System.Collections.Generic.Dictionary<java.lang.String,java.lang.String>
### getTitle() {#getTitle--}
```
public final String getTitle()
```


The gadget's title.

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


The gadget's type.

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


The gadget's width in pixels.

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




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




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




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


The gadget's display mode. Optional. Possible values are: "icon" - The gadget displays next to the event's title in the calendar view. "chip" - The gadget displays when the event is clicked.

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

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


The gadget's height in pixels.

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

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


The gadget's icon URL.

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

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


The gadget's URL.

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

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


The gadget's title.

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

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


The gadget's type.

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

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


The gadget's width in pixels.

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

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

