Class Demonstrator


  • public class Demonstrator
    extends java.lang.Object
    Class to display step comments.
    Author:
    Alexandre Iline (alexandre.iline@sun.com)
    • Constructor Summary

      Constructors 
      Constructor Description
      Demonstrator()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void nextStep​(java.lang.String stepComment)
      Notifies current CommentWindow implementation to display comments for a new step.
      static void setCommentWindow​(CommentWindow cw)
      Changes current CommentWindow.
      static void setTitle​(java.lang.String title)
      Notifies current CommentWindow implementation to change title.
      static void showFinalComment​(java.lang.String stepComment)
      Notifies current CommentWindow implementation to display final comments.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Demonstrator

        public Demonstrator()
    • Method Detail

      • setTitle

        public static void setTitle​(java.lang.String title)
        Notifies current CommentWindow implementation to change title.
        Parameters:
        title - new CommentWindow's title
      • setCommentWindow

        public static void setCommentWindow​(CommentWindow cw)
        Changes current CommentWindow.
        Parameters:
        cw - CommentWindow instance.
      • nextStep

        public static void nextStep​(java.lang.String stepComment)
        Notifies current CommentWindow implementation to display comments for a new step.
        Parameters:
        stepComment - New step comments
      • showFinalComment

        public static void showFinalComment​(java.lang.String stepComment)
        Notifies current CommentWindow implementation to display final comments.
        Parameters:
        stepComment - New step comments