Interface ClickableInput<T extends AbstractInputBuilder>

All Known Implementing Classes:
ButtonInputBuilder

public interface ClickableInput<T extends AbstractInputBuilder>
  • Method Summary

    Modifier and Type
    Method
    Description
    default T
    Registers the onClick event for the input.
    default T
    onClick(List<String> dependentInputs)
    Registers the onClick event for the input.
    default T
    onClick(List<String> dependentInputs, List<String> excludeInputNames)
    Registers the onClick event for the input.
  • Method Details

    • onClick

      default T onClick(List<String> dependentInputs, List<String> excludeInputNames)
      Registers the onClick event for the input. The event will be triggered when the input is clicked.
      Parameters:
      dependentInputs - list of input names that depend on this input; they are locked while the onClick event is processed, optional
      excludeInputNames - list of inputs that should be excluded from the onClick event.
      Returns:
      self
      Since:
      17.0 - Paloma
    • onClick

      default T onClick(List<String> dependentInputs)
      Registers the onClick event for the input. The event will be triggered when the input is clicked.
      Parameters:
      dependentInputs - list of input names that depend on this input; they are locked while the onClick event is processed, optional
      Returns:
      self
      Since:
      17.0 - Paloma
    • onClick

      default T onClick()
      Registers the onClick event for the input. The event will be triggered when the input is clicked. All inputs will be locked and no inputs will be excluded.
      Returns:
      self
      Since:
      17.0 - Paloma