|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.widget.AriaSupport
public class AriaSupport
ARIA component support.
Method Summary | |
---|---|
java.lang.String |
getDescribedBy()
Returns the ARIA described by id. |
java.lang.String |
getDescription()
Returns the description. |
java.lang.String |
getLabel()
Returns the ARIA label text. |
java.lang.String |
getLabelledBy()
Returns the ARIA labelled by id. |
java.lang.String |
getRole()
Returns the ARIA role. |
java.lang.String |
getState(java.lang.String stateName)
Returns the ARIA state. |
java.util.Map<java.lang.String,java.lang.String> |
getStates()
Returns the ARIA states. |
boolean |
isPresentation()
Returns true if the component is a presentation element. |
void |
setDescribedBy(java.lang.String describedBy)
Sets the ARIA described by attribute on the component. |
void |
setDescription(java.lang.String description)
Sets the ARIA description. |
void |
setLabel(java.lang.String label)
Sets the ARIA label attribute on the component. |
void |
setLabelledBy(java.lang.String labelledBy)
Sets the ARIA labelled by attribute on the component. |
void |
setPresentation(boolean presentation)
True to mark this component as a ARIA presentation element. |
void |
setRole(java.lang.String role)
Sets the ARIA role. |
void |
setState(java.lang.String stateName,
java.lang.String value)
Sets the ARIA state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getDescribedBy()
public java.lang.String getDescription()
public java.lang.String getLabel()
public java.lang.String getLabelledBy()
public java.lang.String getRole()
public java.lang.String getState(java.lang.String stateName)
stateName
- the state name
public java.util.Map<java.lang.String,java.lang.String> getStates()
public boolean isPresentation()
public void setDescribedBy(java.lang.String describedBy)
describedBy
- the id of the element with the labelpublic void setDescription(java.lang.String description)
setDescribedBy(String)
is used. This method is useful when there
is not an existing element to be used for the description.
description
- the descriptionpublic void setLabel(java.lang.String label)
label
- the labelpublic void setLabelledBy(java.lang.String labelledBy)
labelledBy
- the id of the element with the labelpublic void setPresentation(boolean presentation)
presentation
- true for presentationpublic void setRole(java.lang.String role)
role
- the ARIA rolepublic void setState(java.lang.String stateName, java.lang.String value)
stateName
- the state namevalue
- the state value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |