ModifiersBuilders.Clickable.Builder

public final class ModifiersBuilders.Clickable.Builder


Builder for Clickable

Summary

Public constructors

Public methods

@NonNull ModifiersBuilders.Clickable

Builds an instance from accumulated values.

@NonNull ModifiersBuilders.Clickable.Builder

Sets the ID associated with this action.

@NonNull ModifiersBuilders.Clickable.Builder

Sets the action to perform when the element this modifier is attached to is clicked.

Public constructors

Builder

public Builder()

Public methods

build

@NonNull
public ModifiersBuilders.Clickable build()

Builds an instance from accumulated values.

setId

@NonNull
public ModifiersBuilders.Clickable.Builder setId(@NonNull String id)

Sets the ID associated with this action.

setOnClick

@NonNull
public ModifiersBuilders.Clickable.Builder setOnClick(@NonNull ActionBuilders.Action onClick)

Sets the action to perform when the element this modifier is attached to is clicked.