Default implementation of ChainableStatement.
600601602603604605606607
* Scope to use * @return the jQuery code */ public static ChainableStatement unbind(EventLabel eventLabel, JsScope jsScope) { return new DefaultChainableStatement("unbind", JsUtils.quotes(eventLabel.getEventLabel()), jsScope.render()); }
613614615616617618619
* Scope to use * @return the jQuery code */ public static ChainableStatement unload(JsScope jsScope) { return new DefaultChainableStatement(StateEvent.UNLOAD.getEventLabel(), jsScope.render()); }
40414243444546
/** * Binds the <code>eq</code> statement. */ public static ChainableStatement eq(int position) { return new DefaultChainableStatement("eq", JsUtils.string(position)); }
48495051525354
/** * Binds the <code>filter</code> statement. */ public static ChainableStatement filter(String expression) { return new DefaultChainableStatement("filter", JsUtils.quotes(expression)); }
56575859606162
/** * Binds the <code>not</code> statement. */ public static ChainableStatement not(String expression) { return new DefaultChainableStatement("not", JsUtils.quotes(expression)); }
64656667686970
/** * Binds the <code>slice</code> statement. */ public static ChainableStatement slice(int start) { return new DefaultChainableStatement("slice", JsUtils.string(start)); }
72737475767778
/** * Binds the <code>slice</code> statement. */ public static ChainableStatement slice(int start, int end) { return new DefaultChainableStatement("slice", JsUtils.string(start), JsUtils.string(end)); }
80818283848586
/** * Binds the <code>add</code> statement. */ public static ChainableStatement add(String expression) { return new DefaultChainableStatement("add", JsUtils.quotes(expression)); }
88899091929394
/** * Binds the <code>children</code> statement. */ public static ChainableStatement children(String expression) { return new DefaultChainableStatement("children", JsUtils.quotes(expression)); }
96979899100101102
/** * Binds the <code>contents</code> statement. */ public static ChainableStatement contents(String expression) { return new DefaultChainableStatement("contents", JsUtils.quotes(expression)); }