Class Role
java.lang.Object
com.webfirmframework.wffweb.tag.core.AbstractTagBase
com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute
com.webfirmframework.wffweb.tag.html.attribute.Role
- All Implemented Interfaces:
TagBase
,GlobalAttributable
,Serializable
,Cloneable
The role value can be any
Role.*
, for eg Role.BUTTON
. Refer
http://w3c.github.io/html/dom.html#global-aria--attributes for more info- Since:
- 2.0.1
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
A message with important, and usually time-sensitive, information.static final String
A type of dialog that contains an alert message, where initial focus goes to an element within the dialog.static final String
ARIA global states and properties can be used on any HTML element.static final String
A region declared as a web application, as opposed to a web document.static final String
A section of a page that consists of a composition that forms an independent part of a document, page, or site.static final String
A region that contains mostly site-oriented content, rather than page-specific content.static final String
An input that allows for user-triggered actions when clicked or pressed.static final String
A checkable input that has three possible values: true, false, or mixed.static final String
A cell containing header information for a column.static final String
A presentation of a select; usually similar to a textbox where users can type ahead to select an option, or type to enter arbitrary text as a new item in the list.static final String
A supporting section of the document, designed to be complementary to the main content at a similar level in the DOM hierarchy, but remains meaningful when separated from the main content.static final String
A large perceivable region that contains information about the parent document.static final String
A definition of a term or concept.static final String
A dialog is an application window that is designed to interrupt the current processing of an application in order to prompt the user to enter information or require a response.static final String
A list of references to members of a group, such as a static table of contents.static final String
A region containing related information that is declared as document content, as opposed to a web application.static final String
A landmark region that contains a collection of items and objects that, as a whole, combine to create a form.static final String
A grid is an interactive control which contains cells of tabular data arranged in rows and columns, like a table.static final String
A cell in a grid or treegrid.static final String
A set of user interface objects which are not intended to be included in a page summary or table of contents by assistive technologies.static final String
A heading for a section of the page.static final String
A container for a collection of elements that form an image.static final String
An interactive reference to an internal or external resource that, when activated, causes the user agent to navigate to that resource.static final String
A group of non-interactive list items.static final String
A widget that allows the user to select one or more items from a list of choices.static final String
A single item in a list or directory.static final String
A type of live region where new information is added in meaningful order and old information may disappear.static final String
The main content of a document.static final String
A type of live region where non-essential information changes frequently.static final String
Content that represents a mathematical expression.static final String
A type of widget that offers a list of choices to the user.static final String
A presentation of menu that usually remains visible and is usually presented horizontally.static final String
An option in a group of choices contained by a menu or menubar.static final String
A checkable menuitem that has three possible values: true, false, or mixed.static final String
A checkable menuitem in a group of menuitemradio roles, only one of which can be checked at a time.static final String
A collection of navigational elements (usually links) for navigating the document or related documents.static final String
A section whose content is parenthetic or ancillary to the main content of the resource.static final String
A selectable item in a select list.static final String
An element whose implicit native role semantics will not be mapped to the accessibility API.static final String
An element that displays the progress status for tasks that take a long time.static final String
A checkable input in a group of radio roles, only one of which can be checked at a time.static final String
A group of radio buttons.static final String
A large perceivable section of a web page or document, that the author feels is important enough to be included in a page summary or table of contents, for example, an area of the page containing live sporting event statistics.static final String
A row of cells in a grid.static final String
A group containing one or more row elements in a grid.static final String
A cell containing header information for a row in a grid.static final String
A graphical object that controls the scrolling of content within a viewing area, regardless of whether the content is fully displayed within the viewing area.static final String
A landmark region that contains a collection of items and objects that, as a whole, combine to create a search facility.static final String
A divider that separates and distinguishes sections of content or groups of menuitems.static final String
A user input where the user selects a value from within a given range.static final String
A form of range that expects the user to select from among discrete choices.static final String
A container whose content is advisory information for the user but is not important enough to justify an alert, often but not necessarily presented as a status bar.static final String
A grouping label providing a mechanism for selecting the tab content that is to be rendered to the user.static final String
A list of tab elements, which are references to tabpanel elements.static final String
A container for the resources associated with a tab, where each tab is contained in a tablist.static final String
Input that allows free-form text as its value.static final String
A type of live region containing a numerical counter which indicates an amount of elapsed time from a start point, or the time remaining until an end point.static final String
A collection of commonly used function buttons represented in compact visual form.static final String
A contextual popup that displays a description for an element.static final String
A type of list that may contain sub-level nested groups that can be collapsed and expanded.static final String
A grid whose rows can be expanded and collapsed in the same manner as for a tree.static final String
An option item of a tree. -
Constructor Summary
-
Method Summary
Methods inherited from class com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute
addAllToAttributeValueMap, addAllToAttributeValueSet, addAllToAttributeValueSet, addToAttributeValueMap, addToAttributeValueSet, addValueChangeListener, beforePrintStructure, beforePrintStructureCompressedByIndex, beforeWffPrintStructure, getAttributeName, getAttributeValue, getAttributeValueMap, getAttributeValueSet, getBinaryStructureCompressedByIndex, getBinaryStructureCompressedByIndex, getCharset, getOwnerTag, getOwnerTags, getPrintStructure, getPrintStructure, getReadLocks, getValueChangeListeners, getWffPrintStructure, getWriteLocks, lockAndGetReadLocks, lockAndGetReadLocksWithAttrLock, lockAndGetWriteLocks, lockAndGetWriteLocksWithAttrLock, removeAllFromAttributeValueMap, removeAllFromAttributeValueSet, removeAllFromAttributeValueSet, removeFromAttributeValueMap, removeFromAttributeValueMap, removeFromAttributeValueMapByKeys, removeFromAttributeValueSet, removeValueChangeListener, replaceAllInAttributeValueSet, replaceAllInAttributeValueSet, setAttributeName, setAttributeValue, setAttributeValue, setAttributeValueMap, setAttributeValueSet, setCharset, setModified, setModifiedLockless, setOwnerTag, setPreIndexedAttribute, toCompressedBytesByIndex, toCompressedBytesByIndex, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toString, toWffString, unsetOwnerTag
Methods inherited from class com.webfirmframework.wffweb.tag.core.AbstractTagBase
equals, getData, hashCode, isModified, isRebuild, setData, setRebuild
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.webfirmframework.wffweb.tag.core.TagBase
toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toString
-
Field Details
-
ANY
ARIA global states and properties can be used on any HTML element.- See Also:
-
ALERT
A message with important, and usually time-sensitive, information.- See Also:
-
ALERTDIALOG
A type of dialog that contains an alert message, where initial focus goes to an element within the dialog.- See Also:
-
APPLICATION
A region declared as a web application, as opposed to a web document.- See Also:
-
ARTICLE
A section of a page that consists of a composition that forms an independent part of a document, page, or site.- See Also:
-
BANNER
A region that contains mostly site-oriented content, rather than page-specific content.- See Also:
-
BUTTON
An input that allows for user-triggered actions when clicked or pressed.- See Also:
-
CHECKBOX
A checkable input that has three possible values: true, false, or mixed.- See Also:
-
COLUMNHEADER
A cell containing header information for a column.- See Also:
-
COMBOBOX
A presentation of a select; usually similar to a textbox where users can type ahead to select an option, or type to enter arbitrary text as a new item in the list. See related listbox.- See Also:
-
COMPLEMENTARY
A supporting section of the document, designed to be complementary to the main content at a similar level in the DOM hierarchy, but remains meaningful when separated from the main content.- See Also:
-
CONTENTINFO
A large perceivable region that contains information about the parent document.- See Also:
-
DEFINITION
A definition of a term or concept.- See Also:
-
DIALOG
A dialog is an application window that is designed to interrupt the current processing of an application in order to prompt the user to enter information or require a response.- See Also:
-
DIRECTORY
A list of references to members of a group, such as a static table of contents.- See Also:
-
DOCUMENT
A region containing related information that is declared as document content, as opposed to a web application.- See Also:
-
FORM
A landmark region that contains a collection of items and objects that, as a whole, combine to create a form.- See Also:
-
GRID
A grid is an interactive control which contains cells of tabular data arranged in rows and columns, like a table.- See Also:
-
GRIDCELL
A cell in a grid or treegrid.- See Also:
-
GROUP
A set of user interface objects which are not intended to be included in a page summary or table of contents by assistive technologies.- See Also:
-
HEADING
A heading for a section of the page.- See Also:
-
IMG
A container for a collection of elements that form an image.- See Also:
-
LINK
An interactive reference to an internal or external resource that, when activated, causes the user agent to navigate to that resource.- See Also:
-
LIST
A group of non-interactive list items.- See Also:
-
LISTBOX
A widget that allows the user to select one or more items from a list of choices.- See Also:
-
LISTITEM
A single item in a list or directory.- See Also:
-
LOG
A type of live region where new information is added in meaningful order and old information may disappear.- See Also:
-
MAIN
The main content of a document.- See Also:
-
MARQUEE
A type of live region where non-essential information changes frequently.- See Also:
-
MATH
Content that represents a mathematical expression.- See Also:
-
MENU
A type of widget that offers a list of choices to the user.- See Also:
-
MENUBAR
A presentation of menu that usually remains visible and is usually presented horizontally.- See Also:
-
MENUITEM
An option in a group of choices contained by a menu or menubar.- See Also:
-
MENUITEMCHECKBOX
A checkable menuitem that has three possible values: true, false, or mixed.- See Also:
-
MENUITEMRADIO
A checkable menuitem in a group of menuitemradio roles, only one of which can be checked at a time.- See Also:
-
NAVIGATION
A collection of navigational elements (usually links) for navigating the document or related documents.- See Also:
-
NOTE
A section whose content is parenthetic or ancillary to the main content of the resource.- See Also:
-
OPTION
A selectable item in a select list.- See Also:
-
PRESENTATION
An element whose implicit native role semantics will not be mapped to the accessibility API.- See Also:
-
PROGRESSBAR
An element that displays the progress status for tasks that take a long time.- See Also:
-
RADIO
A checkable input in a group of radio roles, only one of which can be checked at a time.- See Also:
-
RADIOGROUP
A group of radio buttons.- See Also:
-
REGION
A large perceivable section of a web page or document, that the author feels is important enough to be included in a page summary or table of contents, for example, an area of the page containing live sporting event statistics.- See Also:
-
ROW
A row of cells in a grid.- See Also:
-
ROWGROUP
A group containing one or more row elements in a grid.- See Also:
-
ROWHEADER
A cell containing header information for a row in a grid.- See Also:
-
SCROLLBAR
A graphical object that controls the scrolling of content within a viewing area, regardless of whether the content is fully displayed within the viewing area.- See Also:
-
SEARCH
A landmark region that contains a collection of items and objects that, as a whole, combine to create a search facility.- See Also:
-
SEPARATOR
A divider that separates and distinguishes sections of content or groups of menuitems.- See Also:
-
SLIDER
A user input where the user selects a value from within a given range.- See Also:
-
SPINBUTTON
A form of range that expects the user to select from among discrete choices.- See Also:
-
STATUS
A container whose content is advisory information for the user but is not important enough to justify an alert, often but not necessarily presented as a status bar.- See Also:
-
TAB
A grouping label providing a mechanism for selecting the tab content that is to be rendered to the user.- See Also:
-
TABLIST
A list of tab elements, which are references to tabpanel elements.- See Also:
-
TABPANEL
A container for the resources associated with a tab, where each tab is contained in a tablist.- See Also:
-
TEXTBOX
Input that allows free-form text as its value.- See Also:
-
TIMER
A type of live region containing a numerical counter which indicates an amount of elapsed time from a start point, or the time remaining until an end point.- See Also:
-
TOOLBAR
A collection of commonly used function buttons represented in compact visual form.- See Also:
-
TOOLTIP
A contextual popup that displays a description for an element.- See Also:
-
TREE
A type of list that may contain sub-level nested groups that can be collapsed and expanded.- See Also:
-
TREEGRID
A grid whose rows can be expanded and collapsed in the same manner as for a tree.- See Also:
-
TREEITEM
An option item of a tree. This is an element within a tree that may be expanded or collapsed if it contains a sub-level group of treeitems.- See Also:
-
-
Constructor Details
-
Role
- Parameters:
value
- the value for the attribute- Since:
- 2.0.1
-
-
Method Details
-
setValue
sets the value for this attribute- Parameters:
value
- the value for the attribute.- Since:
- 2.0.1
-
setValue
sets the value for this attribute- Parameters:
updateClient
- true to update client browser page if it is available. The default value is true but it will be ignored if there is no client browser page.value
- the value for the attribute.- Since:
- 2.1.15
-
getValue
gets the value of this attribute- Returns:
- the value of the attribute
- Since:
- 2.0.1
-
init
protected void init()invokes only once per object- Since:
- 2.0.1
-