@Override public short acceptNode(final Node n) { final Object response = ScriptableObject.callMethod(filter, "acceptNode", new Object[] {n}); return (short) Context.toNumber(response); } };
@Override public short acceptNode(final Node n) { final Object response = ScriptableObject.callMethod(filter, "acceptNode", new Object[] {n}); return (short) Context.toNumber(response); } };
@Override public short acceptNode(final Node n) { final Object response = ScriptableObject.callMethod(filter, "acceptNode", new Object[] {n}); return (short) Context.toNumber(response); } };
/** * Gets the "size" attribute. * @return the "size" attribute */ public int jsxGet_size() { return (int) Context.toNumber(getDomNodeOrDie().getAttribute("size")); }
/** * Returns the value of the tabIndex attribute. * @return the value of the tabIndex attribute */ public int jsxGet_tabIndex() { return (int) Context.toNumber(getDomNodeOrDie().getAttribute("tabindex")); }
/** * Returns the value of the tabIndex attribute. * @return the value of the tabIndex attribute */ public int jsxGet_tabIndex() { return (int) Context.toNumber(getDomNodeOrDie().getAttribute("tabindex")); }
/** * Gets the "size" attribute. * @return the "size" attribute */ public int jsxGet_size() { return (int) Context.toNumber(getDomNodeOrDie().getAttribute("size")); }
/** * Gets the "size" attribute. * @return the "size" attribute */ public int jsxGet_size() { return (int) Context.toNumber(getDomNodeOrDie().getAttribute("size")); }
/** * Returns the value of the tabIndex attribute. * @return the value of the tabIndex attribute */ public int jsxGet_tabIndex() { return (int) Context.toNumber(getDomNodeOrDie().getAttribute("tabindex")); }
/** * Gets the "size" attribute. * @return the "size" attribute */ public int jsxGet_size() { return (int) Context.toNumber(getDomNodeOrDie().getAttribute("size")); }
/** * Gets the "size" attribute. * @return the "size" attribute */ public int jsxGet_size() { return (int) Context.toNumber(getDomNodeOrDie().getAttribute("size")); }
/** * Gets the "size" attribute. * @return the "size" attribute */ public int jsxGet_size() { return (int) Context.toNumber(getDomNodeOrDie().getAttribute("size")); }
/** * Get and set the language version. * * This method is defined as a JavaScript function. */ public static double version(Context cx, Scriptable thisObj, Object[] args, Function funObj) { double result = cx.getLanguageVersion(); if (args.length > 0) { double d = Context.toNumber(args[0]); cx.setLanguageVersion((int) d); } return result; }
/** * Sets the {@code lineWidth} property. * @param lineWidth the {@code lineWidth} property */ @JsxSetter public void setLineWidth(final Object lineWidth) { if (lineWidth != Undefined.instance) { final double width = Context.toNumber(lineWidth); if (!Double.isNaN(width)) { getRenderingBackend().setLineWidth((int) width); } } }
/** * Returns the value of the tabIndex attribute. * @return the value of the tabIndex attribute */ @JsxGetter public int getTabIndex() { return (int) Context.toNumber(getDomNodeOrDie().getAttributeDirect("tabindex")); }
/** * Gets the {@code size} attribute. * @return the {@code size} attribute */ @JsxGetter public int getSize() { return (int) Context.toNumber(getDomNodeOrDie().getAttributeDirect("size")); }
/** * Gets the {@code size} attribute. * @return the {@code size} attribute */ @JsxGetter public int getSize() { final HtmlBaseFont base = (HtmlBaseFont) getDomNodeOrDie(); return (int) Context.toNumber(base.getSizeAttribute()); }
/** * Gets the {@code size} attribute. * @return the {@code size} attribute */ @JsxGetter public int getSize() { final HtmlBaseFont base = (HtmlBaseFont) getDomNodeOrDie(); return (int) Context.toNumber(base.getSizeAttribute()); }
/** * Gets the {@code size} attribute. * @return the {@code size} attribute */ @JsxGetter public int getSize() { return (int) Context.toNumber(getDomNodeOrDie().getAttributeDirect("size")); }
/** * Returns the value of the tabIndex attribute. * @return the value of the tabIndex attribute */ @JsxGetter public int getTabIndex() { return (int) Context.toNumber(getDomNodeOrDie().getAttributeDirect("tabindex")); }