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.

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.