Methods Summary |
---|
public java.lang.String | getAccessKey()
String accessKey;
// Make sure that the access key is a single character.
accessKey = getAttribute( "accesskey" );
if ( accessKey != null && accessKey.length() > 1 )
accessKey = accessKey.substring( 0, 1 );
return accessKey;
|
public java.lang.String | getAlt()
return getAttribute( "alt" );
|
public java.lang.String | getCoords()
return getAttribute( "coords" );
|
public java.lang.String | getHref()
return getAttribute( "href" );
|
public boolean | getNoHref()
return getBinary( "href" );
|
public java.lang.String | getShape()
return capitalize( getAttribute( "shape" ) );
|
public int | getTabIndex()
return getInteger( getAttribute( "tabindex" ) );
|
public java.lang.String | getTarget()
return getAttribute( "target" );
|
public void | setAccessKey(java.lang.String accessKey)
// Make sure that the access key is a single character.
if ( accessKey != null && accessKey.length() > 1 )
accessKey = accessKey.substring( 0, 1 );
setAttribute( "accesskey", accessKey );
|
public void | setAlt(java.lang.String alt)
setAttribute( "alt", alt );
|
public void | setCoords(java.lang.String coords)
setAttribute( "coords", coords );
|
public void | setHref(java.lang.String href)
setAttribute( "href", href );
|
public void | setNoHref(boolean noHref)
setAttribute( "nohref", noHref );
|
public void | setShape(java.lang.String shape)
setAttribute( "shape", shape );
|
public void | setTabIndex(int tabIndex)
setAttribute( "tabindex", String.valueOf( tabIndex ) );
|
public void | setTarget(java.lang.String target)
setAttribute( "target", target );
|