|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NotificationConfiguration
Provides methods for configuring the notification.
Method Summary | |
---|---|
java.lang.String |
getAssistivePostfix(Notification.Type type)
Gets the accessibility postfix for a notification type. |
java.lang.String |
getAssistivePrefix(Notification.Type type)
Gets the accessibility prefix for a notification type. |
com.vaadin.shared.ui.ui.NotificationRole |
getAssistiveRole(Notification.Type type)
Gets the WAI-ARIA role for a notification type. |
void |
setAssistivePostfix(Notification.Type type,
java.lang.String postfix)
Sets the accessibility postfix for a notification type. |
void |
setAssistivePrefix(Notification.Type type,
java.lang.String prefix)
Sets the accessibility prefix for a notification type. |
void |
setAssistiveRole(Notification.Type type,
com.vaadin.shared.ui.ui.NotificationRole role)
Sets the WAI-ARIA role for a notification type. |
Method Detail |
---|
void setAssistivePrefix(Notification.Type type, java.lang.String prefix)
This prefix is read to assistive device users before the content of the notification, but not visible on the page.
type
- type of the notificationprefix
- string that is placed before the notification contentjava.lang.String getAssistivePrefix(Notification.Type type)
This prefix is read to assistive device users before the content of the notification, but not visible on the page.
type
- type of the notification
void setAssistivePostfix(Notification.Type type, java.lang.String postfix)
This postfix is read to assistive device users after the content of the notification, but not visible on the page.
type
- type of the notificationpostfix
- string that is placed after the notification contentjava.lang.String getAssistivePostfix(Notification.Type type)
This postfix is read to assistive device users after the content of the notification, but not visible on the page.
type
- type of the notification
void setAssistiveRole(Notification.Type type, com.vaadin.shared.ui.ui.NotificationRole role)
This role defines how an assistive device handles a notification. Available roles are alert and status (@see Roles Model). The default role is alert.
type
- type of the notificationrole
- role to set for the notification typecom.vaadin.shared.ui.ui.NotificationRole getAssistiveRole(Notification.Type type)
This role defines how an assistive device handles a notification. Available roles are alert and status (@see Roles Model)
The default role is alert.
type
- type of the notification
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |