/** * Add an option. * * @param returnValue * (Required) The value to be passed back if this option is * selected. */ public Option addOption(int returnValue) throws WingException { return addOption(String.valueOf(returnValue)); }
/** * Add an option. * * @param returnValue * (Required) The value to be passed back if this option is * checked. * @param characters * (Required) The text to set as the visible option. */ public void addOption(String returnValue, String characters) throws WingException { Option option = this.addOption(returnValue); option.addContent(characters); }
/** * Add an option. * * @param returnValue * (Required) The value to be passed back if this option is * selected. * @param message * (Required) The transalted text to set as the visible option. */ public void addOption(int returnValue, Message message) throws WingException { Option option = this.addOption(String.valueOf(returnValue)); option.addContent(message); }
/** * Add an option. * * @param returnValue * (Required) The value to be passed back if this option is * selected. * @param message * (Required) The transalted text to set as the visible option. */ public void addOption(String returnValue, Message message) throws WingException { Option option = this.addOption(returnValue); option.addContent(message); }
/** * Add an option. * * @param returnValue * (Required) The value to be passed back if this option is * checked. * @param characters * (Required) The text to set as the visible option. */ public void addOption(int returnValue, String characters) throws WingException { Option option = this.addOption(String.valueOf(returnValue)); option.addContent(characters); }
/** * Add an option. * * @param selected * (Required) Set the option is checked * @param returnValue * (Required) The value to be passed back if this option is * checked. */ public Option addOption(boolean selected, String returnValue) throws WingException { if (selected) { setOptionSelected(returnValue); } return addOption(returnValue); }
/** * Add an option. * * @param selected * (Required) Set the option is checked * @param returnValue * (Required) The value to be passed back if this option is * checked. * @param characters * (Required) The text to set as the visible option. */ public void addOption(boolean selected,String returnValue, String characters) throws WingException { if (selected) { setOptionSelected(returnValue); } addOption(returnValue,characters); }
/** * Add an option. * * @param selected * (Required) Set the option as selected. * @param returnValue * (Required) The value to be passed back if this option is * selected. * @param message * (Required) The transalted text to set as the visible option. */ public void addOption(boolean selected, String returnValue, Message message) throws WingException { if (selected) { setOptionSelected(returnValue); } addOption(returnValue,message); }
/** * Add an option. * * @param selected * (Required) Set the field as selected. * @param returnValue * (Required) The value to be passed back if this option is * selected. * @param message * (Required) The transalted text to set as the visible option. */ public void addOption(boolean selected, int returnValue, Message message) throws WingException { if (selected) { setOptionSelected(returnValue); } addOption(returnValue,message); }
/** * Add an option. * * @param selected * (Required) Set the option as selected. * @param returnValue * (Required) The value to be passed back if this option is * selected. * @param characters * (Required) The text to set as the visible option. */ public void addOption(boolean selected, int returnValue, String characters) throws WingException { if (selected) { setOptionSelected(returnValue); } addOption(returnValue,characters); }
((CheckBox)listField).addOption(value, display);
optionsField.addOption("blankLines", "Treat blank lines as paragraph breaks."); if (blankLines)
select.addOption(String.valueOf(policy.getID()));
inheritPolicies.setLabel(T_submit_inherit); inheritPolicies.setHelp(T_submit_inherit_help); inheritPolicies.addOption("inheritPolicies"); actions.addButton("submit_move").setValue(T_submit_move); actions.addButton("submit_cancel").setValue(T_submit_cancel);
decision.addOption("accept",T_decision_checkbox);
select.addOption(String.valueOf(policy.getID()));
itemRow.addCell().addCheckBox("workflow_id").addOption(wfi.getID());
select.addOption(itemID);
select.addOption(itemID);