blob: a2c61220ae70ea9c63ad0e6df084cb57f7504c2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package com.vaadin.client.ui;
/**
* Some Widgets need to handle the required handling for WAI-ARIA themselfs, as
* this attribute needs to be set to the input element itself. In such a case,
* the Widget needs to implement this interface.
*/
public interface HandlesAriaRequired {
/**
* Called to set the element, typically an input element, as required.
*
* @param required
* boolean true when the element needs to be set as required
*/
void setRequired(boolean required);
}
|