Methods Summary |
---|
public void | blur()
// No scripting in server-side DOM. This method is moot.
|
public void | click()
// No scripting in server-side DOM. This method is moot.
|
public void | focus()
// No scripting in server-side DOM. This method is moot.
|
public java.lang.String | getAccept()
return getAttribute( "accept" );
|
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 | getAlign()
return capitalize( getAttribute( "align" ) );
|
public java.lang.String | getAlt()
return getAttribute( "alt" );
|
public boolean | getChecked()
return getBinary( "checked" );
|
public boolean | getDefaultChecked()
// ! NOT FULLY IMPLEMENTED !
return getBinary( "defaultChecked" );
|
public java.lang.String | getDefaultValue()
// ! NOT FULLY IMPLEMENTED !
return getAttribute( "defaultValue" );
|
public boolean | getDisabled()
return getBinary( "disabled" );
|
public int | getMaxLength()
return getInteger( getAttribute( "maxlength" ) );
|
public java.lang.String | getName()
return getAttribute( "name" );
|
public boolean | getReadOnly()
return getBinary( "readonly" );
|
public java.lang.String | getSize()
return getAttribute( "size" );
|
public java.lang.String | getSrc()
return getAttribute( "src" );
|
public int | getTabIndex()
try
{
return Integer.parseInt( getAttribute( "tabindex" ) );
}
catch ( NumberFormatException except )
{
return 0;
}
|
public java.lang.String | getType()
return getAttribute( "type" );
|
public java.lang.String | getUseMap()
return getAttribute( "useMap" );
|
public java.lang.String | getValue()
return getAttribute( "value" );
|
public void | select()
// No scripting in server-side DOM. This method is moot.
|
public void | setAccept(java.lang.String accept)
setAttribute( "accept", accept );
|
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 | setAlign(java.lang.String align)
setAttribute( "align", align );
|
public void | setAlt(java.lang.String alt)
setAttribute( "alt", alt );
|
public void | setChecked(boolean checked)
setAttribute( "checked", checked );
|
public void | setDefaultChecked(boolean defaultChecked)
// ! NOT FULLY IMPLEMENTED !
setAttribute( "defaultChecked", defaultChecked );
|
public void | setDefaultValue(java.lang.String defaultValue)
// ! NOT FULLY IMPLEMENTED !
setAttribute( "defaultValue", defaultValue );
|
public void | setDisabled(boolean disabled)
setAttribute( "disabled", disabled );
|
public void | setMaxLength(int maxLength)
setAttribute( "maxlength", String.valueOf( maxLength ) );
|
public void | setName(java.lang.String name)
setAttribute( "name", name );
|
public void | setReadOnly(boolean readOnly)
setAttribute( "readonly", readOnly );
|
public void | setSize(java.lang.String size)
setAttribute( "size", size );
|
public void | setSrc(java.lang.String src)
setAttribute( "src", src );
|
public void | setTabIndex(int tabIndex)
setAttribute( "tabindex", String.valueOf( tabIndex ) );
|
public void | setUseMap(java.lang.String useMap)
setAttribute( "useMap", useMap );
|
public void | setValue(java.lang.String value)
setAttribute( "value", value );
|