public final class RoleButtonImpl extends AbstractRoleWithAttributeExpanded implements RoleButton
RoleButton
.Modifier and Type | Field and Description |
---|---|
private AriaTristate |
pressed |
ARIA_ROLE_ALERT, ARIA_ROLE_ALERT_DIALOG, ARIA_ROLE_APPLICATION, ARIA_ROLE_ARTICLE, ARIA_ROLE_BANNER, ARIA_ROLE_BUTTON, ARIA_ROLE_CHECKBOX, ARIA_ROLE_COLUMN_HEADER, ARIA_ROLE_COMBOBOX, ARIA_ROLE_COMPLEMENTARY, ARIA_ROLE_COMPOSITE, ARIA_ROLE_CONTENT_INFO, ARIA_ROLE_DEFINITION, ARIA_ROLE_DIALOG, ARIA_ROLE_DIRECTORY, ARIA_ROLE_DOCUMENT, ARIA_ROLE_FORM, ARIA_ROLE_GRID, ARIA_ROLE_GRID_CELL, ARIA_ROLE_GROUP, ARIA_ROLE_HEADING, ARIA_ROLE_IMG, ARIA_ROLE_LANDMARK, ARIA_ROLE_LINK, ARIA_ROLE_LIST, ARIA_ROLE_LIST_ITEM, ARIA_ROLE_LISTBOX, ARIA_ROLE_LOG, ARIA_ROLE_MAIN, ARIA_ROLE_MARQUEE, ARIA_ROLE_MATH, ARIA_ROLE_MENU, ARIA_ROLE_MENU_BAR, ARIA_ROLE_MENU_ITEM, ARIA_ROLE_MENU_ITEM_CHECKBOX, ARIA_ROLE_MENU_ITEM_RADIO, ARIA_ROLE_NAVIGATION, ARIA_ROLE_NOTE, ARIA_ROLE_OPTION, ARIA_ROLE_PRESENTATION, ARIA_ROLE_PROGRESS_BAR, ARIA_ROLE_RADIO, ARIA_ROLE_RADIO_GROUP, ARIA_ROLE_REGION, ARIA_ROLE_ROW, ARIA_ROLE_ROW_GROUP, ARIA_ROLE_ROW_HEADER, ARIA_ROLE_SCROLLBAR, ARIA_ROLE_SEARCH, ARIA_ROLE_SECTION_HEAD, ARIA_ROLE_SEPARATOR, ARIA_ROLE_SLIDER, ARIA_ROLE_SPIN_BUTTON, ARIA_ROLE_STATUS, ARIA_ROLE_TAB, ARIA_ROLE_TAB_LIST, ARIA_ROLE_TAB_PANEL, ARIA_ROLE_TEXTBOX, ARIA_ROLE_TIMER, ARIA_ROLE_TOOLBAR, ARIA_ROLE_TOOLTIP, ARIA_ROLE_TREE, ARIA_ROLE_TREE_GRID, ARIA_ROLE_TREE_ITEM, HTML_ATTRIBUTE_ARIA_ROLE
HTML_ATTRIBUTE_ARIA_ATOMIC
HTML_ATTRIBUTE_ARIA_BUSY
HTML_ATTRIBUTE_ARIA_CONTROLS
HTML_ATTRIBUTE_ARIA_DESCRIBED_BY
HTML_ATTRIBUTE_ARIA_DISABLED
HTML_ATTRIBUTE_ARIA_DROP_EFFECT
HTML_ATTRIBUTE_ARIA_FLOW_TO
HTML_ATTRIBUTE_ARIA_GRABBED
HTML_ATTRIBUTE_ARIA_HAS_POPUP
HTML_ATTRIBUTE_ARIA_HIDDEN
HTML_ATTRIBUTE_ARIA_INVALID
HTML_ATTRIBUTE_ARIA_LABEL
HTML_ATTRIBUTE_ARIA_LABELLED_BY
HTML_ATTRIBUTE_ARIA_LIVE
HTML_ATTRIBUTE_ARIA_OWNS
HTML_ATTRIBUTE_ARIA_RELEVANT
WAI_ARIA
HTML_ATTRIBUTE_ARIA_EXPANDED
HTML_ATTRIBUTE_ARIA_PRESSED
Constructor and Description |
---|
RoleButtonImpl()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
AriaTristate |
getPressed()
This method gets the pressed state of this object.
|
Class<RoleButton> |
getRoleInterface() |
void |
setPressed(AriaTristate pressed)
This method sets the
pressed state of this object. |
protected void |
updateDelegate()
This method is called from
AbstractRole.setDelegate(AttributeWriteOnlyAttribute) in order to update all
attributes on the new delegate. |
isExpanded, setExpanded
getControls, getDescribedBy, getDropEffect, getFlowTo, getGrabbed, getInvalid, getLabel, getLabelledBy, getLive, getOwns, getRelevant, hasPopup, isAtomic, isBusy, isDisabled, isHidden, setAtomic, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBusy, setControls, setControls, setDelegate, setDescribedBy, setDescribedBy, setDisabled, setDropEffect, setFlowTo, setFlowTo, setGrabbed, setHasPopup, setHidden, setInvalid, setLabel, setLabelledBy, setLabelledBy, setLive, setOwns, setOwns, setRelevant
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setAtomic
isAtomic
setBusy
isBusy
setControls, setControls
getControls
setDescribedBy, setDescribedBy
getDescribedBy
setDisabled
isDisabled
setDropEffect
getDropEffect
setFlowTo, setFlowTo
getFlowTo
setGrabbed
getGrabbed
setHasPopup
hasPopup
setHidden
isHidden
setInvalid
getInvalid
setLabel
getLabel
setLabelledBy, setLabelledBy
getLabelledBy
setLive
getLive
setOwns, setOwns
getOwns
setRelevant
getRelevant
setExpanded
isExpanded
private AriaTristate pressed
getPressed()
public void setPressed(AriaTristate pressed)
pressed
state of this object.setPressed
in interface AttributeWriteAriaPressed
pressed
- is the new value of AttributeReadAriaPressed.getPressed()
.public AriaTristate getPressed()
getPressed
in interface AttributeReadAriaPressed
AriaTristate
indicating if the button is pressed or null
if undefined.public String getName()
getName
in interface Role
Role
.AttributeReadAriaRole.getAriaRole()
public Class<RoleButton> getRoleInterface()
getRoleInterface
in class AbstractRole
Role
-Interface corresponding to this instance.protected void updateDelegate()
AbstractRole.setDelegate(AttributeWriteOnlyAttribute)
in order to update all
attributes on the new delegate.updateDelegate
in class AbstractRoleWithAttributeExpanded
Copyright © 2001–2016 mmm-Team. All rights reserved.