@Override protected Collection<String> getCustomAttributes() { Collection<String> result = super.getCustomAttributes(); result.add("alt-text"); return result; }
@Override protected Collection<String> getCustomAttributes() { Collection<String> c = super.getCustomAttributes(); c.add("alternate-text"); c.add("alt"); return c; } }
@Override protected Collection<String> getCustomAttributes() { Collection<String> attributes = super.getCustomAttributes(); attributes.add("readonly"); // must be handled by subclasses attributes.add("value"); return attributes; }
@Override protected Collection<String> getCustomAttributes() { Collection<String> result = super.getCustomAttributes(); result.add(DESIGN_ATTR_PLAIN_TEXT); result.add("html-content-allowed"); return result; } }
@Override protected Collection<String> getCustomAttributes() { Collection<String> result = super.getCustomAttributes(); result.add("value"); result.add("content-mode"); result.add("plain-text"); return result; }
@Override protected Collection<String> getCustomAttributes() { Collection<String> a = super.getCustomAttributes(); a.add("target-name"); a.add("resource"); // Add custom attributes, see #19107 a.add("target"); a.add("href"); return a; } }
/** * Returns a collection of attributes that do not require custom handling * when reading or writing design. These are typically attributes of some * primitive type. The default implementation searches setters with * primitive values * * @return a collection of attributes that can be read and written using the * default approach. */ private Collection<String> getDefaultAttributes() { Collection<String> attributes = DesignAttributeHandler .getSupportedAttributes(this.getClass()); attributes.removeAll(getCustomAttributes()); return attributes; }
supported.addAll(getCustomAttributes()); for (Attribute a : attr) { if (!a.getKey().startsWith(":")
@Override protected Collection<String> getCustomAttributes() { Collection<String> result = super.getCustomAttributes(); result.add("editor-enabled"); result.add("editable"); result.add("frozen-column-count"); result.add("frozen-columns"); result.add("height-by-rows"); result.add("rows"); result.add("selection-mode"); result.add("header-visible"); result.add("footer-visible"); result.add("editor-error-handler"); result.add("height-mode"); return result; } }