Package org.apache.tapestry5.plastic

## Interface WhenCallback

-     public interface WhenCallback

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

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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 Detail

    - #### 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.