Lines Matching refs:box
31 * Exactly one check box button in a <code>CheckboxGroup</code> can
36 * The following code example produces a new check box group,
47 * This image depicts the check box group created by this example:
78 * Gets the current choice from this check box group.
79 * The current choice is the check box in this
83 * @return the check box that is currently in the
103 * Sets the currently selected check box in this group
104 * to be the specified check box.
105 * This method sets the state of that check box to "on" and
108 * If the check box argument is <tt>null</tt>, all check boxes
109 * in this check box group are deselected. If the check box argument
110 * belongs to a different check box group, this method does
112 * @param box the <code>Checkbox</code> to set as the
118 public void setSelectedCheckbox(Checkbox box) {
119 setCurrent(box);
127 public synchronized void setCurrent(Checkbox box) {
128 if (box != null && box.group != this) {
132 this.selectedCheckbox = box;
133 if (oldChoice != null && oldChoice != box && oldChoice.group == this) {
136 if (box != null && oldChoice != box && !box.getState()) {
137 box.setStateInternal(true);
142 * Returns a string representation of this check box group,
144 * @return a string representation of this check box group.