/** * Determines whether this check box is currently checked. * <p> * Note that this <em>does not</em> return the value property of the checkbox * input element wrapped by this widget. For access to that property, see * {@link #getFormValue()} * * @return <code>true</code> if the check box is checked, false otherwise. * Will not return null */ @Override public Boolean getValue() { if (isAttached()) { return inputElem.isChecked(); } else { return inputElem.isDefaultChecked(); } }
/** * Get the value of an element that has a value or checked state. * * @param elem the input element * @return the value of the input */ private static Object getInputValue(Element elem) { if (isCheckbox(elem)) { return InputElement.as(elem).isChecked(); } return getInputValueImpl(elem); }
private Boolean getInputValue() { return this.checkbocElement.isChecked(); }
private Boolean getInputValue() { return this.checkbocElement.isChecked(); }
if (BrowserEvents.CHANGE.equals(type) || enterPressed) { InputElement input = parent.getFirstChild().cast(); Boolean isChecked = input.isChecked();
@Override public String getRawValue() { if (!rendered) { return value.toString(); } return String.valueOf(((InputElement) getInputEl().dom.cast()).isChecked()); }
public boolean isChecked() { if (checkBoxInput == null) return false; InputElement cb = checkBoxInput.getElement().cast(); return cb.isChecked(); }
public boolean isChecked() { if (checkBoxInput == null) return false; InputElement cb = checkBoxInput.getElement().cast(); return cb.isChecked(); }
public boolean isChecked() { InputElement e = input.getElement().cast(); return e.isChecked(); }
@EventHandler("project-selected") public void onSelectProject(final ClickEvent event) { ValueChangeEvent.fire(this, projectSelected.isChecked()); } }
public boolean isChecked() { if (checkBoxInput == null) return false; InputElement cb = checkBoxInput.getElement().cast(); return cb.isChecked(); }
@Override public Boolean getValue() { if (isAttached()) { return inputRadio.isChecked(); } else { return inputRadio.isDefaultChecked(); } }
@Override public Boolean getValue() { if (isAttached()) { return inputRadio.isChecked(); } else { return inputRadio.isDefaultChecked(); } }
public boolean isChecked() { InputElement e = input.getElement().cast(); return e.isChecked(); }
public boolean isChecked(){ return ((InputElement)(getElement().cast())).isChecked(); }
@UiHandler("digestButton") public void onDigestButtonClick(ClickEvent e) { final String qop = noQop.isChecked() ? noQop.getValue() : authQop.isChecked() ? authQop.getValue() : authIntQop.isChecked() ? authIntQop.getValue() : ""; handler.onDigestButtonClick(digestUser.getValue(), digestPassword.getValue(), qop); }
@Override public Boolean getValue() { if (isAttached()) { return switchState(getElement()); } return element.isChecked(); }
/** * Get the value of an element that has a value or checked state. * * @param elem the input element * @return the value of the input */ private static Object getInputValue(Element elem) { if (isCheckbox(elem)) { return InputElement.as(elem).isChecked(); } return getInputValueImpl(elem); }
/** * Get the value of an element that has a value or checked state. * * @param elem the input element * @return the value of the input */ private static Object getInputValue(Element elem) { if (isCheckbox(elem)) { return InputElement.as(elem).isChecked(); } return getInputValueImpl(elem); }
@Override public Boolean getValue() { if (isAttached()) { return switchState(getElement()); } return element.isChecked(); }