org.apache.tapestry5.plastic
Interface WhenCallback


public interface WhenCallback

Used with InstructionBuilder.when(Condition, WhenCallback).


Method Summary
 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.



Copyright © 2003-2012 The Apache Software Foundation.