Default implementation of ChainableStatement.
199200201202203204205
* Scope to use * @return the jQuery code */ public static ChainableStatement focus(JsScope jsScope) { return new DefaultChainableStatement(StateEvent.FOCUS.getEventLabel(), jsScope.render()); }
214215216217218219220
* Scope to use on "out" * @return the jQuery code */ public static ChainableStatement hover(JsScope over, JsScope out) { return new DefaultChainableStatement("hover", over.render(), out.render()); }
224225226227228229230
* * @return the jQuery code */ public static ChainableStatement keydown() { return new DefaultChainableStatement(KeyboardEvent.KEYDOWN.getEventLabel()); }
236237238239240241242243
* Scope to use * @return the jQuery code */ public static ChainableStatement keydown(JsScope jsScope) { return new DefaultChainableStatement(KeyboardEvent.KEYDOWN.getEventLabel(), jsScope.render()); }
247248249250251252253
* * @return the jQuery code */ public static ChainableStatement keypress() { return new DefaultChainableStatement(KeyboardEvent.KEYPRESS.getEventLabel()); }
259260261262263264265266
* Scope to use * @return the jQuery code */ public static ChainableStatement keypress(JsScope jsScope) { return new DefaultChainableStatement(KeyboardEvent.KEYPRESS.getEventLabel(), jsScope.render()); }
270271272273274275276
* * @return the jQuery code */ public static ChainableStatement keyup() { return new DefaultChainableStatement(KeyboardEvent.KEYUP.getEventLabel()); }
282283284285286287288
* Scope to use * @return the jQuery code */ public static ChainableStatement keyup(JsScope jsScope) { return new DefaultChainableStatement(KeyboardEvent.KEYUP.getEventLabel(), jsScope.render()); }
297298299300301302303304
* Scope to use * @return the jQuery code */ public static ChainableStatement live(EventLabel eventLabel, JsScope jsScope) { return new DefaultChainableStatement("live", JsUtils.quotes(eventLabel.getEventLabel()), jsScope.render()); }
310311312313314315316
* Scope to use * @return the jQuery code */ public static ChainableStatement load(JsScope jsScope) { return new DefaultChainableStatement(StateEvent.LOAD.getEventLabel(), jsScope.render()); }