/** * 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(); } }
@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(); } }
/** * 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(); } }
/** * 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(); } }
/** * 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(); } }
/** * 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 */ public Boolean getValue() { if (isAttached()) { return inputElem.isChecked(); } else { return inputElem.isDefaultChecked(); } }
/** * 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(); } }
/** * 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(); } }
/** * 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(); } }
@Override public Boolean getValue() { if (!isAttached() && rendered) { return ((InputElement) input.dom.cast()).isDefaultChecked(); } return super.getValue(); }