GWT 2.5.0.rc1

com.google.gwt.aria.client
Interface ListboxRole

All Superinterfaces:
CompositeRole, GroupRole, InputRole, ListRole, RegionRole, RoletypeRole, SectionRole, SelectRole, StructureRole, WidgetRole
All Known Implementing Classes:
ListboxRoleImpl

public interface ListboxRole
extends ListRole, SelectRole

ListboxRole interface. The interface defines methods for setting, getting, removing states and properties.

Allows ARIA Accessibility attributes to be added to widgets so that they can be identified by assistive technology.

ARIA roles define widgets and page structure that can be interpreted by a reader application/device. There is a set of abstract roles which are used as building blocks of the roles hierarchy structural and define the common properties and states for the concrete roles. Abstract roles cannot be set to HTML elements.

There are states and properties that are defined for a role. As roles are organized in a hierarchy, a role has inherited and own properties and states which can be set to the element.

For more details about ARIA roles check The Roles Model .


Method Summary
 java.lang.String getAriaMultiselectableProperty(Element element)
           
 java.lang.String getAriaRequiredProperty(Element element)
           
 void removeAriaMultiselectableProperty(Element element)
           
 void removeAriaRequiredProperty(Element element)
           
 void setAriaMultiselectableProperty(Element element, boolean value)
           
 void setAriaRequiredProperty(Element element, boolean value)
           
 
Methods inherited from interface com.google.gwt.aria.client.CompositeRole
getAriaActivedescendantProperty, removeAriaActivedescendantProperty, setAriaActivedescendantProperty
 
Methods inherited from interface com.google.gwt.aria.client.GroupRole
getAriaActivedescendantProperty, removeAriaActivedescendantProperty, setAriaActivedescendantProperty
 
Methods inherited from interface com.google.gwt.aria.client.SectionRole
getAriaExpandedState, removeAriaExpandedState, setAriaExpandedState
 

Method Detail

getAriaMultiselectableProperty

java.lang.String getAriaMultiselectableProperty(Element element)

getAriaRequiredProperty

java.lang.String getAriaRequiredProperty(Element element)

removeAriaMultiselectableProperty

void removeAriaMultiselectableProperty(Element element)

removeAriaRequiredProperty

void removeAriaRequiredProperty(Element element)

setAriaMultiselectableProperty

void setAriaMultiselectableProperty(Element element,
                                    boolean value)

setAriaRequiredProperty

void setAriaRequiredProperty(Element element,
                             boolean value)

GWT 2.5.0.rc1