Class CheckboxMultipleChoiceSelector

All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IMetadataContext<Serializable,Component>, ILabelProvider<String>, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable

A Javascript-based "Select All" checkbox component that works with CheckBoxMultipleChoice . By default, clicking on any of the controlled checkboxes automatically updates the state of the "select all" checkbox. Override AbstractCheckSelector.wantAutomaticUpdate() to change this.
Carl-Eric Menzel
See Also:
  • Constructor Details

  • Method Details

    • getFindCheckboxesFunction

      Description copied from class: AbstractCheckSelector
      Concrete subclasses must override this to provide a Javascript function that returns the IDs of all checkboxes that should be controlled by this selector.
      Specified by:
      getFindCheckboxesFunction in class AbstractCheckSelector
      a String containing a Javascript expression that evaluates to a function(!). This function must return an array containing the IDs of all checkbox input elements that this selector should control.