Home | History | Annotate | Download | only in api

Lines Matching refs:choices

39  * or into a flat submenu using the {@link Choices} class.
51 * Character used to split multiple checked choices.
91 * Special value which will insert a separator in the choices' submenu.
192 NestedAction choices = new NestedAction(id, title, provider, callback,
194 choices.setIconUrl(iconUrl);
195 return choices;
207 * marked. Can be null. Can be an id not present in the choices
218 * @return the new {@link Choices}
221 public static Choices createChoices(
232 Choices choices = new Choices(id, title, callback, titles, iconUrls,
234 choices.setIconUrl(iconUrl);
236 return choices;
247 * marked. Can be null. Can be an id not present in the choices
259 * @return the new {@link Choices}
262 public static Choices createChoices(
279 Choices choices = new Choices(id, title, callback, titles, iconUrls,
281 choices.setIconUrl(iconUrl);
282 return choices;
292 * @param provider the provider which provides choices lazily
302 * @return the new {@link Choices}
305 public static Choices createChoices(
314 Choices choices = new DelayedChoices(id, title, callback,
316 choices.setIconUrl(iconUrl);
317 return choices;
537 * An ordered list of choices the user can choose between. For choosing between
540 public static class Choices extends RuleAction {
548 * Can be null. Can be an id not present in the choices map.
552 private Choices(
580 * Returns the list of ids for the menu choices, never null
582 * @return the list of ids for the menu choices, never null
590 * Returns the titles to be displayed for the menu choices, never null
592 * @return the titles to be displayed for the menu choices, never null
632 * {@link Choices} but for actions instead.
661 /** Like {@link Choices}, but the set of choices is computed lazily */
662 private static class DelayedChoices extends Choices {
705 * Provides the set of nested action choices associated with a {@link NestedAction}
721 * Provides the set of choices associated with an {@link Choices}