Lines Matching refs:options

184  * buttons you want using the options parameter.
185 * <dt>options<dd>A more detailed description of the set of option buttons
187 * The usual value for the options parameter is an array of
234 * <dt>Show an information panel with the options yes/no and message 'choose one':
238 * <dt>Show an internal information dialog with the options yes/no/cancel and
244 * <dt>Show a warning dialog with the options OK, CANCEL, title 'Warning', and
247 * Object[] options = { "OK", "CANCEL" };<br>
250 * <ul><ul>null, options, options[0]);</ul></ul>
277 * if(options == null) {
283 * for(int counter = 0, maxCounter = options.length;
285 * if(options[counter].equals(selectedValue))
332 * Type meaning Look and Feel should not supply any options -- only
333 * use the options from the <code>JOptionPane</code>.
381 public static final String OPTIONS_PROPERTY = "options";
402 transient protected Object[] options;
403 /** Value that should be initially selected in <code>options</code>. */
531 * initial selection, possible selections, and all other options can
672 * Brings up a dialog with the options <i>Yes</i>,
706 * @param optionType an int designating the options available on the dialog:
738 * @param optionType an integer designating the options available
775 * @param optionType an int designating the options available on the dialog:
808 * and the <code>options</code> parameter is <code>null</code>,
809 * then the options are
823 * @param optionType an integer designating the options available on the
836 * @param options an array of objects indicating the possible choices
842 * the options are determined by the Look and Feel
844 * for the dialog; only meaningful if <code>options</code>
856 Icon icon, Object[] options, Object initialValue)
860 options, initialValue);
877 if(options == null) {
882 for(int counter = 0, maxCounter = options.length;
884 if(options[counter].equals(selectedValue))
1105 * Brings up an internal dialog panel with the options <i>Yes</i>, <i>No</i>
1137 * @param optionType an integer designating the options
1167 * @param optionType an integer designating the options
1204 * @param optionType an integer designating the options available
1233 * and the <code>options</code> parameter is <code>null</code>,
1234 * then the options are supplied by the Look and Feel.
1250 * @param optionType an integer designating the options available
1260 * @param options an array of objects indicating the possible choices
1265 * the options are determined by the Look and Feel
1267 * for the dialog; only meaningful if <code>options</code>
1276 Object[] options, Object initialValue) {
1278 optionType, icon, options, initialValue);
1336 if (options == null) {
1342 for(int counter = 0, maxCounter = options.length;
1344 if (options[counter].equals(selectedValue)) {
1390 * options can be specified. The user will able to choose from
1713 * plain-message message type and the default options delivered by
1724 * with the specified message type and the default options,
1740 * with the specified message type and options.
1749 * @param optionType the options to display in the pane:
1760 * with the specified message type, options, and icon.
1769 * @param optionType the options to display in the pane:
1782 * with the specified message type, icon, and options.
1783 * None of the options is initially selected.
1785 * The options objects should contain either instances of
1799 * @param optionType the options to display in the pane:
1805 * @param options the choices the user can select
1808 Icon icon, Object[] options) {
1809 this(message, messageType, optionType, icon, options, null);
1814 * with the specified message type, icon, and options, with the
1824 * @param optionType the options to display in the pane:
1830 * @param options the choices the user can select
1833 * only meaningful if <code>options</code> is used
1836 Icon icon, Object[] options, Object initialValue) {
1839 this.options = options;
1976 * the returned value will be one of the options defined in this
1991 * Sets the options this pane displays. If an element in
2003 * description: The option pane's options objects.
2006 Object[] oldOptions = options;
2008 options = newOptions;
2009 firePropertyChange(OPTIONS_PROPERTY, oldOptions, options);
2019 if(options != null) {
2020 int optionCount = options.length;
2023 System.arraycopy(options, 0, retOptions, 0, optionCount);
2026 return options;
2103 * Sets the options to display.
2105 * determine what buttons to show (unless options are supplied).
2106 * @param newType an integer specifying the options the L&F is to display:
2133 * Returns the type of options that are displayed.
2135 * @return an integer specifying the user-selectable options
2349 if(options != null) {
2352 for(int counter = 0, maxCounter = options.length;
2354 if(options[counter] instanceof Serializable)
2355 serOptions.addElement(options[counter]);
2361 values.addElement("options");
2425 equals("options")) {
2426 options = (Object[])values.elementAt(++indexCounter);