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

5.6.0 - Copyright © 2003-2020 The Apache Software Foundation.