(boolean toggle)
| 992 | /// |
| 993 | /// - `toggle`: the toggle to set |
| 994 | public void setToggle(boolean toggle) { |
| 995 | this.toggle = toggle; |
| 996 | if (toggle && "CheckBox".equals(getUIID()) || "RadioButton".equals(getUIID())) { |
| 997 | setUIID("ToggleButton"); |
| 998 | } |
| 999 | } |
| 1000 | |
| 1001 | /// Overriden to workaround issue with caps text and different UIID's |
| 1002 | /// {@inheritDoc} |