Package org.apache.tapestry5.plastic

# Interface WhenCallback

public interface WhenCallback
Used with `InstructionBuilder.when(Condition, WhenCallback)`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `ifFalse(InstructionBuilder builder)`
  Generates code for when the condition is false.
  `void`
  `ifTrue(InstructionBuilder builder)`
  Generates code for when the condition is true.

- ## Method Details

  - ### ifTrue

    void ifTrue(InstructionBuilder builder)
    Generates code for when the condition is true.

  - ### ifFalse

    void ifFalse(InstructionBuilder builder)
    Generates code for when the condition is false.