public abstract class AbstractRoleWithBaseAttributes extends AbstractRoleWithAttributeExpandedAndSelected implements AttributeWriteAriaReadOnly, AttributeWriteAriaRequired
AbstractRoleWithAttributeExpandedAndSelected
with
AttributeWriteAriaReadOnly
and AttributeWriteAriaRequired
.Modifier and Type | Field and Description |
---|---|
private boolean |
readOnly |
private boolean |
required |
HTML_ATTRIBUTE_ARIA_READ_ONLY
HTML_ATTRIBUTE_ARIA_REQUIRED
WAI_ARIA
HTML_ATTRIBUTE_ARIA_SELECTED
HTML_ATTRIBUTE_ARIA_EXPANDED
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
Constructor and Description |
---|
AbstractRoleWithBaseAttributes()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isReadOnly()
This method gets the value of the readonly property of this
object.
|
boolean |
isRequired()
This method gets the value of the required property of this
object.
|
void |
setReadOnly(boolean readOnly)
This method sets the
readOnly property of this object. |
void |
setRequired(boolean required)
This method sets the
required property of this object. |
protected void |
updateDelegate()
This method is called from
AbstractRole.setDelegate(AttributeWriteOnlyAttribute) in order to update all
attributes on the new delegate. |
getSelected, setSelected
isExpanded, setExpanded
getControls, getDescribedBy, getDropEffect, getFlowTo, getGrabbed, getInvalid, getLabel, getLabelledBy, getLive, getOwns, getRelevant, getRoleInterface, 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
private boolean required
isRequired()
private boolean readOnly
isReadOnly()
public AbstractRoleWithBaseAttributes()
public void setRequired(boolean required)
required
property of this object.setRequired
in interface AttributeWriteAriaRequired
required
- is the new value of AttributeReadAriaRequired.isRequired()
.public boolean isRequired()
isRequired
in interface AttributeReadAriaRequired
true
if the user needs to provide input for this object in order
to submit the data, false
otherwise. The default (if NOT set) is false
.public void setReadOnly(boolean readOnly)
readOnly
property of this object.setReadOnly
in interface AttributeWriteAriaReadOnly
readOnly
- is the new value of AttributeReadAriaReadOnly.isReadOnly()
.public boolean isReadOnly()
isReadOnly
in interface AttributeReadAriaReadOnly
true
if the object is read-only so the user cannot change
its value, false
otherwise. The default (if NOT set) is false
.protected void updateDelegate()
AbstractRole.setDelegate(AttributeWriteOnlyAttribute)
in order to update all
attributes on the new delegate.updateDelegate
in class AbstractRoleWithAttributeExpandedAndSelected
Copyright © 2001–2016 mmm-Team. All rights reserved.