Methods Summary |
---|
public void | blur()
// 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 | 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 int | getCols()
return getInteger( getAttribute( "cols" ) );
|
public java.lang.String | getDefaultValue()
// ! NOT FULLY IMPLEMENTED !
return getAttribute( "default-value" );
|
public boolean | getDisabled()
return getBinary( "disabled" );
|
public java.lang.String | getName()
return getAttribute( "name" );
|
public boolean | getReadOnly()
return getBinary( "readonly" );
|
public int | getRows()
return getInteger( getAttribute( "rows" ) );
|
public int | getTabIndex()
return getInteger( getAttribute( "tabindex" ) );
|
public java.lang.String | getType()
return getAttribute( "type" );
|
public java.lang.String | getValue()
return getAttribute( "value" );
|
public void | select()
// No scripting in server-side DOM. This method is moot.
|
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 | setCols(int cols)
setAttribute( "cols", String.valueOf( cols ) );
|
public void | setDefaultValue(java.lang.String defaultValue)
// ! NOT FULLY IMPLEMENTED !
setAttribute( "default-value", defaultValue );
|
public void | setDisabled(boolean disabled)
setAttribute( "disabled", disabled );
|
public void | setName(java.lang.String name)
setAttribute( "name", name );
|
public void | setReadOnly(boolean readOnly)
setAttribute( "readonly", readOnly );
|
public void | setRows(int rows)
setAttribute( "rows", String.valueOf( rows ) );
|
public void | setTabIndex(int tabIndex)
setAttribute( "tabindex", String.valueOf( tabIndex ) );
|
public void | setValue(java.lang.String value)
setAttribute( "value", value );
|