All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.polymer.paper.element.PaperRadioGroupElement Maven / Gradle / Ivy

There is a newer version: 1.9.3.1
Show newest version
/*
 * This code was generated with Vaadin Web Component GWT API Generator, 
 * from paper-radio-group project by The Polymer Authors
 * that is licensed with http://polymer.github.io/LICENSE.txt license.
 */
package com.vaadin.polymer.paper.element;

import com.vaadin.polymer.elemental.*;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.core.client.js.JsProperty;
import com.google.gwt.core.client.js.JsType;

/**
 * 

paper-radio-group allows user to select only one radio button from a set.
Checking one radio button that belongs to a radio group unchecks any
previously checked radio button within the same group. Use
selected to get or set the selected radio button.

*

Example:

*
<paper-radio-group selected="small">
 *   <paper-radio-button name="small">Small</paper-radio-button>
 *   <paper-radio-button name="medium">Medium</paper-radio-button>
 *   <paper-radio-button name="large">Large</paper-radio-button>
 * </paper-radio-group>
 * 
 * 
 * 

See paper-radio-button for more
information about paper-radio-button.

*/ @JsType public interface PaperRadioGroupElement extends HTMLElement { public static final String TAG = "paper-radio-group"; public static final String SRC = "paper-radio-group/paper-radio-group.html"; /** *

Overriden from Polymer.IronSelectableBehavior

* * JavaScript Info: * @property attrForSelected * @type String * */ @JsProperty String getAttrForSelected(); /** *

Overriden from Polymer.IronSelectableBehavior

* * JavaScript Info: * @property attrForSelected * @type String * */ @JsProperty void setAttrForSelected(String value); /** * * * JavaScript Info: * @property keyBindings * @type Object * */ @JsProperty JavaScriptObject getKeyBindings(); /** * * * JavaScript Info: * @property keyBindings * @type Object * */ @JsProperty void setKeyBindings(JavaScriptObject value); /** *

Selects the given value.

* * JavaScript Info: * @method select * @param {} value * */ void select(JavaScriptObject value); /** *

Selects the next item. If the next item is disabled, then it is
skipped, and the next item after it is selected.

* * JavaScript Info: * @method selectNext * */ void selectNext(); /** *

Selects the previous item. If the previous item is disabled, then it is
skipped, and its previous item is selected

* * JavaScript Info: * @method selectPrevious * */ void selectPrevious(); /** *

Overriden from Polymer.IronSelectableBehavior

* * JavaScript Info: * @property selectable * @type String * */ @JsProperty String getSelectable(); /** *

Overriden from Polymer.IronSelectableBehavior

* * JavaScript Info: * @property selectable * @type String * */ @JsProperty void setSelectable(String value); /** *

Overriden from Polymer.IronSelectableBehavior

* * JavaScript Info: * @property selectedAttribute * @type String * */ @JsProperty String getSelectedAttribute(); /** *

Overriden from Polymer.IronSelectableBehavior

* * JavaScript Info: * @property selectedAttribute * @type String * */ @JsProperty void setSelectedAttribute(String value); /** * * * JavaScript Info: * @property hostAttributes * @type Object * */ @JsProperty JavaScriptObject getHostAttributes(); /** * * * JavaScript Info: * @property hostAttributes * @type Object * */ @JsProperty void setHostAttributes(JavaScriptObject value); /** *

Can be used to imperatively add a key binding to the implementing
element. This is the imperative equivalent of declaring a keybinding
in the keyBindings prototype property.

* * JavaScript Info: * @method addOwnKeyBinding * @param {} eventString * @param {} handlerName * @behavior PaperTab */ void addOwnKeyBinding(JavaScriptObject eventString, JavaScriptObject handlerName); /** *

The HTMLElement that will be firing relevant KeyboardEvents.

* * JavaScript Info: * @property keyEventTarget * @type Object * @behavior PaperTab */ @JsProperty JavaScriptObject getKeyEventTarget(); /** *

The HTMLElement that will be firing relevant KeyboardEvents.

* * JavaScript Info: * @property keyEventTarget * @type Object * @behavior PaperTab */ @JsProperty void setKeyEventTarget(JavaScriptObject value); /** * * * JavaScript Info: * @method keyboardEventMatchesKeys * @param {} event * @param {} eventString * @behavior PaperTab */ void keyboardEventMatchesKeys(JavaScriptObject event, JavaScriptObject eventString); /** *

When called, will remove all imperatively-added key bindings.

* * JavaScript Info: * @method removeOwnKeyBindings * @behavior PaperTab */ void removeOwnKeyBindings(); /** * * * JavaScript Info: * @method attached * @behavior PaperTab */ void attached(); /** * * * JavaScript Info: * @method detached * @behavior PaperTab */ void detached(); /** * * * JavaScript Info: * @property observers * @type Array * @behavior PaperTab */ @JsProperty JsArray getObservers(); /** * * * JavaScript Info: * @property observers * @type Array * @behavior PaperTab */ @JsProperty void setObservers(JsArray value); /** * * * JavaScript Info: * @method registered * @behavior PaperTab */ void registered(); /** *

The event that fires from items when they are selected. Selectable
will listen for this event from items and update the selection state.
Set to empty string to listen to no events.

* * JavaScript Info: * @property activateEvent * @type string * @behavior PaperTabs */ @JsProperty String getActivateEvent(); /** *

The event that fires from items when they are selected. Selectable
will listen for this event from items and update the selection state.
Set to empty string to listen to no events.

* * JavaScript Info: * @property activateEvent * @type string * @behavior PaperTabs */ @JsProperty void setActivateEvent(String value); /** * * * JavaScript Info: * @property excludedLocalNames * @type Object * @behavior PaperTabs */ @JsProperty JavaScriptObject getExcludedLocalNames(); /** * * * JavaScript Info: * @property excludedLocalNames * @type Object * @behavior PaperTabs */ @JsProperty void setExcludedLocalNames(JavaScriptObject value); /** *

Returns the index of the given item.

* * JavaScript Info: * @method indexOf * @param {Object} item * @behavior PaperTabs */ void indexOf(JavaScriptObject item); /** *

Returns an array of selectable items.

* * JavaScript Info: * @method items * @behavior PaperTabs */ void items(); /** *

Gets or sets the selected element. The default is to use the index of the item.

* * JavaScript Info: * @property selected * @type string * @behavior PaperTabs */ @JsProperty String getSelected(); /** *

Gets or sets the selected element. The default is to use the index of the item.

* * JavaScript Info: * @property selected * @type string * @behavior PaperTabs */ @JsProperty void setSelected(String value); /** *

The class to set on elements when selected.

* * JavaScript Info: * @property selectedClass * @type string * @behavior PaperTabs */ @JsProperty String getSelectedClass(); /** *

The class to set on elements when selected.

* * JavaScript Info: * @property selectedClass * @type string * @behavior PaperTabs */ @JsProperty void setSelectedClass(String value); /** *

Returns the currently selected item.

* * JavaScript Info: * @property selectedItem * @type Object * @behavior PaperTabs */ @JsProperty JavaScriptObject getSelectedItem(); /** *

Returns the currently selected item.

* * JavaScript Info: * @property selectedItem * @type Object * @behavior PaperTabs */ @JsProperty void setSelectedItem(JavaScriptObject value); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy