Package org.zkoss.zul

Class Imagemap

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Component, Scope, ComponentCtrl
    Direct Known Subclasses:
    Chart

    public class Imagemap
    extends Image
    An image map.

    There are two ways to use Imagemap:

    1. Listen to the onClick event, which is an instance of MouseEvent. Then, you could call getX() and getY() to retrieve where user has clicked.
    2. Assign one or multiple of Area as its children. Then, listen to the onClick event, and use MouseEvent.getArea() to retrieve which area is clicked.
    Author:
    tomyeh
    See Also:
    Serialized Form