Interface HamletSpec.EventsAttrs
- All Known Subinterfaces:
HamletSpec._Cell,HamletSpec.A,HamletSpec.ABBR,HamletSpec.ACRONYM,HamletSpec.ADDRESS,HamletSpec.AREA,HamletSpec.Attrs,HamletSpec.B,HamletSpec.BLOCKQUOTE,HamletSpec.BODY,HamletSpec.BUTTON,HamletSpec.CAPTION,HamletSpec.CITE,HamletSpec.CODE,HamletSpec.COL,HamletSpec.COLGROUP,HamletSpec.DD,HamletSpec.DEL,HamletSpec.DFN,HamletSpec.DIV,HamletSpec.DL,HamletSpec.DT,HamletSpec.EM,HamletSpec.FIELDSET,HamletSpec.FORM,HamletSpec.H1,HamletSpec.H2,HamletSpec.H3,HamletSpec.H4,HamletSpec.H5,HamletSpec.H6,HamletSpec.HR,HamletSpec.I,HamletSpec.IMG,HamletSpec.INPUT,HamletSpec.INS,HamletSpec.KBD,HamletSpec.LABEL,HamletSpec.LEGEND,HamletSpec.LI,HamletSpec.LINK,HamletSpec.MAP,HamletSpec.OBJECT,HamletSpec.OL,HamletSpec.OPTGROUP,HamletSpec.OPTION,HamletSpec.P,HamletSpec.PRE,HamletSpec.Q,HamletSpec.SAMP,HamletSpec.SELECT,HamletSpec.SMALL,HamletSpec.SPAN,HamletSpec.STRONG,HamletSpec.SUB,HamletSpec.SUP,HamletSpec.TABLE,HamletSpec.TBODY,HamletSpec.TD,HamletSpec.TEXTAREA,HamletSpec.TFOOT,HamletSpec.TH,HamletSpec.THEAD,HamletSpec.TR,HamletSpec.UL,HamletSpec.VAR
- All Known Implementing Classes:
Hamlet.A,Hamlet.ABBR,Hamlet.ACRONYM,Hamlet.ADDRESS,Hamlet.AREA,Hamlet.B,Hamlet.BLOCKQUOTE,Hamlet.BODY,Hamlet.BUTTON,Hamlet.CAPTION,Hamlet.CITE,Hamlet.CODE,Hamlet.COL,Hamlet.COLGROUP,Hamlet.DD,Hamlet.DEL,Hamlet.DFN,Hamlet.DIV,Hamlet.DL,Hamlet.DT,Hamlet.EM,Hamlet.FIELDSET,Hamlet.FORM,Hamlet.H1,Hamlet.H2,Hamlet.H3,Hamlet.H4,Hamlet.H5,Hamlet.H6,Hamlet.HR,Hamlet.I,Hamlet.IMG,Hamlet.INPUT,Hamlet.INS,Hamlet.KBD,Hamlet.LABEL,Hamlet.LEGEND,Hamlet.LI,Hamlet.LINK,Hamlet.MAP,Hamlet.OBJECT,Hamlet.OL,Hamlet.OPTGROUP,Hamlet.OPTION,Hamlet.P,Hamlet.PRE,Hamlet.Q,Hamlet.SAMP,Hamlet.SELECT,Hamlet.SMALL,Hamlet.SPAN,Hamlet.STRONG,Hamlet.SUB,Hamlet.SUP,Hamlet.TABLE,Hamlet.TBODY,Hamlet.TD,Hamlet.TEXTAREA,Hamlet.TFOOT,Hamlet.TH,Hamlet.THEAD,Hamlet.TR,Hamlet.UL,Hamlet.VAR
- Enclosing class:
- HamletSpec
public static interface HamletSpec.EventsAttrs
%events
-
Method Summary
Modifier and TypeMethodDescriptiona pointer button was clicked$ondblclick(String ondblclick) a pointer button was double clicked$onkeydown(String onkeydown) a key was pressed down$onkeypress(String onkeypress) a key was pressed and releaseda key was released$onmousedown(String onmousedown) a pointer button was pressed down$onmousemove(String onmousemove) a pointer was moved within$onmouseout(String onmouseout) a pointer was moved away$onmouseover(String onmouseover) a pointer was moved onto$onmouseup(String onmouseup) a pointer button was released
-
Method Details
-
$onclick
a pointer button was clicked- Parameters:
onclick- the script- Returns:
- the current element builder
-
$ondblclick
a pointer button was double clicked- Parameters:
ondblclick- the script- Returns:
- the current element builder
-
$onmousedown
a pointer button was pressed down- Parameters:
onmousedown- the script- Returns:
- the current element builder
-
$onmouseup
a pointer button was released- Parameters:
onmouseup- the script- Returns:
- the current element builder
-
$onmouseover
a pointer was moved onto- Parameters:
onmouseover- the script- Returns:
- the current element builder
-
$onmousemove
a pointer was moved within- Parameters:
onmousemove- the script- Returns:
- the current element builder
-
$onmouseout
a pointer was moved away- Parameters:
onmouseout- the script- Returns:
- the current element builder
-
$onkeypress
a key was pressed and released- Parameters:
onkeypress- the script- Returns:
- the current element builder
-
$onkeydown
a key was pressed down- Parameters:
onkeydown- the script- Returns:
- the current element builder
-
$onkeyup
a key was released- Parameters:
onkeyup- the script- Returns:
- the current element builder
-