Gadget

Inheritance: java.lang.Object

public class Gadget

A gadget that extends this event.

Constructors

Constructor Description
Gadget() Initializes a new instance of the Gadget class.

Methods

Method Description
getType() The gadget’s type.
setType(String value) The gadget’s type.
getTitle() The gadget’s title.
setTitle(String value) The gadget’s title.
getLink() The gadget’s URL.
setLink(String value) The gadget’s URL.
getIconLink() The gadget’s icon URL.
setIconLink(String value) The gadget’s icon URL.
getWidth() The gadget’s width in pixels.
setWidth(int value) The gadget’s width in pixels.
getHeight() The gadget’s height in pixels.
setHeight(int value) The gadget’s height in pixels.
getDisplay() The gadget’s display mode.
setDisplay(String value) The gadget’s display mode.
getPreferences() The gadget’s preferences

Gadget()

public Gadget()

Initializes a new instance of the Gadget class.

getType()

public final String getType()

The gadget’s type.

Returns: java.lang.String

setType(String value)

public final void setType(String value)

The gadget’s type.

Parameters:

Parameter Type Description
value java.lang.String

getTitle()

public final String getTitle()

The gadget’s title.

Returns: java.lang.String

setTitle(String value)

public final void setTitle(String value)

The gadget’s title.

Parameters:

Parameter Type Description
value java.lang.String
public final String getLink()

The gadget’s URL.

Returns: java.lang.String

public final void setLink(String value)

The gadget’s URL.

Parameters:

Parameter Type Description
value java.lang.String
public final String getIconLink()

The gadget’s icon URL.

Returns: java.lang.String

public final void setIconLink(String value)

The gadget’s icon URL.

Parameters:

Parameter Type Description
value java.lang.String

getWidth()

public final int getWidth()

The gadget’s width in pixels.

Returns: int

setWidth(int value)

public final void setWidth(int value)

The gadget’s width in pixels.

Parameters:

Parameter Type Description
value int

getHeight()

public final int getHeight()

The gadget’s height in pixels.

Returns: int

setHeight(int value)

public final void setHeight(int value)

The gadget’s height in pixels.

Parameters:

Parameter Type Description
value int

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

setDisplay(String value)

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

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>