Class AreaEventType

  • All Implemented Interfaces:
    java.lang.Cloneable, HasTypeConstraints, Typeable, Changeable, Debuggable, DebugListener, Derivable, ModelErrorHandler, MoMLExportable, Moveable, Nameable, Settable, ValueListener

    public class AreaEventType
    extends StringParameter
    A parameter used to specify the event type actions associated with an area in an HTML image map. This parameter offers the following events:
    • onblur: Command to be run when an element loses focus.
    • onclick: Command to be run on a mouse click.
    • ondblclick: Command to be run on a mouse double-click.
    • onfocus: Command to be run when an element gets focus.
    • onmousedown: Command to be run when mouse button is pressed.
    • onmousemove: Command to be run when mouse pointer moves.
    • onmouseout: Command to be run when mouse pointer moves out of an element.
    • onmouseover: Command to be run when mouse pointer moves over an element.
    • onmouseup: Command to be run when mouse button is released.
    • onkeydown: Command to be run when a key is pressed.
    • onkeypress: Command to be run when a key is pressed and released.
    • onkeyup: Command to be run when a key is released.
    These are the events supported by the HTML area tag. The default value is "onmouseover". It is not clear how these areas get the focus, so the focus and key commands do not appear to be useful.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Edward A. Lee
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Red (cxh)