blob: 9ce9be0d120736bc5e1b13f1b0eb10bd575435be [file]
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
package com.google.gwt.aria.client;
/////////////////////////////////////////////////////////
// This is auto-generated code. Do not manually edit! //
/////////////////////////////////////////////////////////
import com.google.gwt.dom.client.Element;
/**
* A type that represents the <a href="http://www.w3.org/TR/wai-aria/roles#option">option</a>
* role in the ARIA specification.
*
* @see Role
* @see Roles
*/
public interface OptionRole extends InputRole {
String getAriaCheckedState(Element element);
String getAriaPosinsetProperty(Element element);
String getAriaSelectedState(Element element);
String getAriaSetsizeProperty(Element element);
void removeAriaCheckedState(Element element);
void removeAriaPosinsetProperty(Element element);
void removeAriaSelectedState(Element element);
void removeAriaSetsizeProperty(Element element);
void setAriaCheckedState(Element element, CheckedValue value);
void setAriaPosinsetProperty(Element element, int value);
void setAriaSelectedState(Element element, SelectedValue value);
void setAriaSetsizeProperty(Element element, int value);
}