ISvgShape

public interface ISvgShape

Represents options for SVG shape.

Methods

MethodDescription
setEventHandler(int eventType, String handler)Sets event handler for the shape
getId()Sets or gets id for the shape
setId(String value)Sets or gets id for the shape

setEventHandler(int eventType, String handler)

public abstract void setEventHandler(int eventType, String handler)

Sets event handler for the shape

Parameters:

ParameterTypeDescription
eventTypeintType of event.
handlerjava.lang.StringJavascript function to handle event. Null value removes handler.

getId()

public abstract String getId()

Sets or gets id for the shape

Returns: java.lang.String

setId(String value)

public abstract void setId(String value)

Sets or gets id for the shape

Parameters:

ParameterTypeDescription
valuejava.lang.String