ISvgShape
public interface ISvgShape
Represents options for SVG shape.
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
eventType | int | Type of event. |
handler | java.lang.String | Javascript 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:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |