Class TemplateScreen


  • public class TemplateScreen
    extends Object
    Returns output of a Screen module. An instance of this is placed in the Velocity context by the VelocityDirectLayout. This allows the screen to be executed only at rendering. Here's how it's used in a template:

    $screen_placeholder

    $screen_placeholder.setScreen("Test")

    Version:
    $Id$
    Author:
    Raphaƫl Luta
    • Constructor Detail

      • TemplateScreen

        public TemplateScreen​(PipelineData pipelineData)
        Constructor
        Parameters:
        pipelineData - A Turbine PipelineData object.
    • Method Detail

      • setScreen

        public TemplateScreen setScreen​(String screen)
        Set the screen.
        Parameters:
        screen - A String with the name of the screen module
        Returns:
        A TemplateScreen (self).
      • toString

        public String toString()
        Builds the output of the navigation template.
        Overrides:
        toString in class Object
        Returns:
        A String.