/** * * @deprecated Use Elemental 2 for new development * * @author Max Barkley <mbarkley@redhat.com> * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLSpanElement">Web API</a> */ @JsType(isNative = true) @Element("span") @Deprecated public interface Span extends HTMLElement { }
private static Collection<String> customElementTags(final MetaClass type) { final Element elementAnnotation = type.getAnnotation(Element.class); if (elementAnnotation == null) { return Collections.emptyList(); } final JsType jsTypeAnnotation = type.getAnnotation(JsType.class); if (jsTypeAnnotation == null || !jsTypeAnnotation.isNative()) { final String element = Element.class.getSimpleName(); final String jsType = JsType.class.getSimpleName(); throw new RuntimeException(element + " is only valid on native " + jsType + "s."); } return Arrays.asList(elementAnnotation.value()); }
private static Collection<String> customElementTags(final MetaClass type) { final Element elementAnnotation = type.getAnnotation(Element.class); if (elementAnnotation == null) { return Collections.emptyList(); } final JsType jsTypeAnnotation = type.getAnnotation(JsType.class); if (jsTypeAnnotation == null || !jsTypeAnnotation.isNative()) { final String element = Element.class.getSimpleName(); final String jsType = JsType.class.getSimpleName(); throw new RuntimeException(element + " is only valid on native " + jsType + "s."); } return Arrays.asList(elementAnnotation.value()); }
/** * * @deprecated Use Elemental 2 for new development * * @author Max Barkley <mbarkley@redhat.com> * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLSpanElement">Web API</a> */ @JsType(isNative = true) @Element("span") @Deprecated public interface Span extends HTMLElement { }
/** * * @deprecated Use Elemental 2 for new development * * @author Max Barkley <mbarkley@redhat.com> * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement">Web API</a> */ @JsType(isNative = true) @Element("caption") @Deprecated public interface TableCaption extends HTMLElement { @JsProperty String getAlign(); @JsProperty void setAlign(String align); }
/** * * @deprecated Use Elemental 2 for new development * * @author Max Barkley <mbarkley@redhat.com> * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement">Web API</a> */ @JsType(isNative = true) @Element("div") @Deprecated public interface Div extends HTMLElement { @JsProperty String getAlign(); @JsProperty void setAlign(String align); }
/** * * @deprecated Use Elemental 2 for new development * * @author Max Barkley <mbarkley@redhat.com> * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement">Web API</a> */ @JsType(isNative = true) @Element({"h1", "h2", "h3", "h4", "h5", "h6"}) @Deprecated public interface Heading extends HTMLElement { @JsProperty String getAlign(); @JsProperty void setAlign(String align); }
/** * * @deprecated Use Elemental 2 for new development * * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement">Web API</a> */ @JsType(isNative = true) @Element("p") @Deprecated public interface Paragraph extends HTMLElement { @JsProperty String getAlign(); @JsProperty void setAlign(String align); }
/** * * @deprecated Use Elemental 2 for new development * * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement">Web API</a> */ @JsType(isNative = true) @Element("label") @Deprecated public interface Label extends HTMLElement { @JsProperty String getHtmlFor(); @JsProperty void setHtmlFor(String htmlFor); }
/** * * @deprecated Use Elemental 2 for new development * * @author Max Barkley <mbarkley@redhat.com> * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement">Web API</a> */ @JsType(isNative = true) @Element("div") @Deprecated public interface Div extends HTMLElement { @JsProperty String getAlign(); @JsProperty void setAlign(String align); }
/** * * @deprecated Use Elemental 2 for new development * * @author Max Barkley <mbarkley@redhat.com> * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement">Web API</a> */ @JsType(isNative = true) @Element("caption") @Deprecated public interface TableCaption extends HTMLElement { @JsProperty String getAlign(); @JsProperty void setAlign(String align); }
/** * * @deprecated Use Elemental 2 for new development * * @author Max Barkley <mbarkley@redhat.com> * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement">Web API</a> */ @JsType(isNative = true) @Element({"h1", "h2", "h3", "h4", "h5", "h6"}) @Deprecated public interface Heading extends HTMLElement { @JsProperty String getAlign(); @JsProperty void setAlign(String align); }
/** * * @deprecated Use Elemental 2 for new development * * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement">Web API</a> */ @JsType(isNative = true) @Element("label") @Deprecated public interface Label extends HTMLElement { @JsProperty String getHtmlFor(); @JsProperty void setHtmlFor(String htmlFor); }
/** * * @deprecated Use Elemental 2 for new development * * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement">Web API</a> */ @JsType(isNative = true) @Element("p") @Deprecated public interface Paragraph extends HTMLElement { @JsProperty String getAlign(); @JsProperty void setAlign(String align); }
/** * * @deprecated Use Elemental 2 for new development * * @author Max Barkley <mbarkley@redhat.com> * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement">Web API</a> */ @JsType(isNative = true) @Element("li") @Deprecated public interface ListItem extends HTMLElement { @JsProperty String getType(); @JsProperty void setType(String type); @JsProperty int getValue(); @JsProperty void setValue(int value); }
/** * * @deprecated Use Elemental 2 for new development * * @author Max Barkley <mbarkley@redhat.com> * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement">Web API</a> */ @JsType(isNative = true) @Element("ul") @Deprecated public interface UnorderedList extends HTMLElement { @JsProperty boolean getCompact(); @JsProperty void setCompact(boolean compact); @JsProperty String getType(); @JsProperty void setType(String type); }
/** * * @deprecated Use Elemental 2 for new development * * @author Max Barkley <mbarkley@redhat.com> * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement">Web API</a> */ @JsType(isNative = true) @Element("li") @Deprecated public interface ListItem extends HTMLElement { @JsProperty String getType(); @JsProperty void setType(String type); @JsProperty int getValue(); @JsProperty void setValue(int value); }
/** * * @deprecated Use Elemental 2 for new development * * @author Max Barkley <mbarkley@redhat.com> * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement">Web API</a> */ @JsType(isNative = true) @Element("ul") @Deprecated public interface UnorderedList extends HTMLElement { @JsProperty boolean getCompact(); @JsProperty void setCompact(boolean compact); @JsProperty String getType(); @JsProperty void setType(String type); }
/** * * @deprecated Use Elemental 2 for new development * * @author Max Barkley <mbarkley@redhat.com> * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement">Web API</a> */ @JsType(isNative = true) @Element("ol") @Deprecated public interface OrderedList extends HTMLElement { @JsProperty boolean getCompact(); @JsProperty void setCompact(boolean compact); @JsProperty String getType(); @JsProperty void setType(String type); @JsProperty int getStart(); @JsProperty void setStart(int start); }
/** * * @deprecated Use Elemental 2 for new development * * @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement">Web API</a> */ @JsType(isNative = true) @Element("iframe") @Deprecated public interface IFrame extends HTMLElement { @JsProperty String getHeight(); @JsProperty void setHeight(String height); @JsProperty String getWidth(); @JsProperty void setWidth(String width); @JsProperty String getName(); @JsProperty void setName(String name); @JsProperty String getSrc(); @JsProperty void setSrc(String src); }