org.apache.beehive.netui.tags
Interface IHtmlAccessable

All Superinterfaces:
IHtmlCore
All Known Implementing Classes:
Button, CheckBox, CheckBoxOption, ImageAnchor, ImageButton, RadioButtonOption, TextBox

public interface IHtmlAccessable
extends IHtmlCore

This is an interface that defines the accessability properties defined by HTML accessability. All tags producing HTML elements that require accessability properties should implement this interface. The interface defines two primary properties that will be output with the HTML. The AccessKey usually results in an accesskey attribute. This allows for keyboard navigation to an element on an HTML page. The Alt property usually results in an alt


Method Summary
 void setAccessKey(char accessKey)
          Sets the accessKey attribute value.
 void setAlt(String alt)
          Sets the alt attribute value.
 
Methods inherited from interface IHtmlCore
setStyle, setStyleClass, setTagId, setTitle
 

Method Detail

setAccessKey

void setAccessKey(char accessKey)
Sets the accessKey attribute value. This should key value of the keyboard navigation key. It is recommended not to use the following values because there are often used by browsers A, C, E, F, G, H, V, left arrow, and right arrow.

Parameters:
accessKey - - the accessKey value.

setAlt

void setAlt(String alt)
Sets the alt attribute value.

Parameters:
alt - - the alt value.