/** * Append the <em>cols</em> attribute with the given Integer parameter as its value. * * @param cols the Integer | null. * @return the receiver, this <code>HtmlAttributes</code> instance. * @since HTML4.01 */ public HtmlAttributes cols(Integer cols) { return this.add("cols", cols); } /**
/** * Append the <em>rows</em> attribute with the given Integer parameter as its value. * * @param rows the Integer | null. * @return the receiver, this <code>HtmlAttributes</code> instance. * @since HTML4.01 */ public HtmlAttributes rows(Integer rows) { return this.add("rows", rows); } /**
/** * @param dataTheme * @return */ public HtmlAttributes dataTheme(String dataTheme) { return this.add("data-theme", dataTheme, false); } // fixed, inline
/** * @param icon * @return */ public HtmlAttributes dataIcon(String icon) { return this.add("data-icon", icon, false); }
/** * @param type * @return */ public HtmlAttributes dataType(String type) { return this.add("data-type", type, false); } /**
/** * Append the <em>size</em> attribute with the given Integer parameter as its value. * * @param size the Integer | null. * @return the receiver, this <code>HtmlAttributes</code> instance. * @since HTML4.01 */ public HtmlAttributes size(Integer size) { return this.add("size", size); } /**
/** * @param direction * @return */ public HtmlAttributes dataDirection(String direction) { return this.add("data-direction", direction, false); } /**
/** * @param flashvars * @return */ public HtmlAttributes flashvars(String flashvars) { return this.add("flashvars", flashvars, ESCAPE_CHARS); } /**
/** * @param inset * @return */ public HtmlAttributes dataInset(boolean inset) { return this.add("data-inset", String.valueOf(inset), false); }
/** * @param enabled * @return */ public HtmlAttributes dataAjax(boolean enabled) { return this.add("data-ajax", Boolean.toString(enabled), false); } /**
/** * @param inline * @return */ public HtmlAttributes dataInline(boolean inline) { return this.add("data-inline", String.valueOf(inline), false); }
/** * @param isMini * @return */ public HtmlAttributes dataMini(boolean isMini) { return this.add("data-mini", Boolean.toString(isMini), false); } /**
/** * @param type * @return */ public static HtmlAttributes dataType(String type) { return new HtmlAttributes().add("data-type", type); }
/** * @param inline * @return */ public static HtmlAttributes dataInline(boolean inline) { return new HtmlAttributes().add("data-inline", String.valueOf(inline)); }
/** * @param key * @param value * @param escapeNeeded * @return a HtmlAttributes */ public static HtmlAttributes add(String key,String value,boolean escapeNeeded) { return new HtmlAttributes().add(key,value,escapeNeeded); } /**
/** * @param role * @return */ public static HtmlAttributes dataRole(String role) { return new HtmlAttributes().add("data-role", role); }
/** * @param dataContentTheme * @return */ public static HtmlAttributes dataContentTheme(String dataContentTheme) { return new HtmlAttributes().add("data-content-theme", dataContentTheme, false); } }
/** * @param icon * @return */ public static HtmlAttributes dataIcon(String icon) { return new HtmlAttributes().add("data-icon", icon); }
/** * @param direction * @return */ public static HtmlAttributes dataDirection(String direction) { return new HtmlAttributes().add("data-direction", direction, false); }
/** * @param inline * @return */ public static HtmlAttributes dataInline(String inline) { return new HtmlAttributes().add("data-inline", inline, false); } /**