public class

AnchorElement

extends Element
java.lang.Object
   ↳ com.google.gwt.core.client.JavaScriptObject
     ↳ com.google.gwt.dom.client.Node
       ↳ com.google.gwt.dom.client.Element
         ↳ com.google.gwt.dom.client.AnchorElement

Class Overview

The anchor element.

Summary

[Expand]
Inherited Constants
From class com.google.gwt.dom.client.Node
Protected Constructors
AnchorElement()
Public Methods
static AnchorElement as(Element elem)
Assert that the given Element is compatible with this class and automatically typecast it.
final String getAccessKey()
A single character access key to give access to the form control.
final String getHref()
The absolute URI of the linked resource.
final String getHreflang()
Language code of the linked resource.
final String getName()
Anchor name.
final String getRel()
Forward link type.
final String getTarget()
Frame to render the resource in.
final String getType()
Advisory content type.
final void setAccessKey(String accessKey)
A single character access key to give access to the form control.
final void setHref(String href)
The absolute URI of the linked resource.
final void setHreflang(String hreflang)
Language code of the linked resource.
final void setName(String name)
Anchor name.
final void setRel(String rel)
Forward link type.
final void setTarget(String target)
Frame to render the resource in.
final void setType(String type)
Advisory content type.
[Expand]
Inherited Methods
From class com.google.gwt.dom.client.Element
From class com.google.gwt.dom.client.Node
From class com.google.gwt.core.client.JavaScriptObject
From class java.lang.Object

Protected Constructors

protected AnchorElement ()

Public Methods

public static AnchorElement as (Element elem)

Assert that the given Element is compatible with this class and automatically typecast it.

public final String getAccessKey ()

A single character access key to give access to the form control.

public final String getHref ()

The absolute URI of the linked resource.

public final String getHreflang ()

Language code of the linked resource.

public final String getName ()

Anchor name.

public final String getRel ()

Forward link type.

public final String getTarget ()

Frame to render the resource in.

public final String getType ()

Advisory content type.

public final void setAccessKey (String accessKey)

A single character access key to give access to the form control.

public final void setHref (String href)

The absolute URI of the linked resource.

public final void setHreflang (String hreflang)

Language code of the linked resource.

public final void setName (String name)

Anchor name.

public final void setRel (String rel)

Forward link type.

public final void setTarget (String target)

Frame to render the resource in.

public final void setType (String type)

Advisory content type.