ModifiersBuilders.Clickable.Builder

Added in 1.0.0
Deprecated in 1.2.0

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

Added in 1.0.0
Deprecated in 1.2.0
public Builder()

Public methods

build

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull ModifiersBuilders.Clickable build()

Builds an instance from accumulated values.

setId

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull ModifiersBuilders.Clickable.Builder setId(@NonNull String id)

Sets the ID associated with this action.

setOnClick

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull ModifiersBuilders.Clickable.Builder setOnClick(@NonNull ActionBuilders.Action onClick)

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