List of usage examples for com.google.gwt.dom.client AnchorElement TAG
String TAG
To view the source code for com.google.gwt.dom.client AnchorElement TAG.
Click Source Link
From source file:com.ait.toolkit.soundmanager.client.SoundManager.java
License:Open Source License
/** * Normalized method which checks canPlayMIME() and canPlayURL() as needed to estimate the playability of an HTML link; this means both the href and type attributes, if * provided, are checked for matching file extension and/or MIME type patterns. *//* w w w . j a v a 2s. c o m*/ public static boolean canPlayLink(Element link) { if (link.getTagName().equalsIgnoreCase(AnchorElement.TAG)) { return _canPlayLink(link); } return false; }
From source file:com.ait.toolkit.soundmanager.client.SoundManager.java
License:Open Source License
/** * Returns a boolean indicating whether soundManager can play the given MIME type - eg., audio/mp3. The types supported vary based on Flash version and MPEG4 (MovieStar mode) * options./*ww w . j a v a2s.com*/ * * MIME type patterns are as follows: * <ul> * <li/>Defaults: /^audio\/(?:x-)?(?:mp(?:eg|3))\s*;?/i; - eg. audio/mp3 or audio/mpeg * <li> * <li/>MovieStar-only formats: /^audio\/(?:x-)?(?:mp(?:eg|3)|mp4a-latm|aac|speex)\s*;?/i; - eg. audio/m4a or audio/aac * <li> * </ul> */ public static boolean canPlayMime(Element link) { if (link.getTagName().equalsIgnoreCase(AnchorElement.TAG)) { return _canPlayMime(link); } return false; }
From source file:fr.putnami.pwt.core.widget.client.Anchor.java
License:Open Source License
public Anchor() { super(AnchorElement.TAG); this.endConstruct(); }
From source file:fr.putnami.pwt.core.widget.client.Button.java
License:Open Source License
public Button() { super(AnchorElement.TAG); this.element = AnchorElement.as(this.getElement()); this.endConstruct(); this.setType(Type.DEFAULT); }