org.netbeans.jemmy.demo
Class Demonstrator

java.lang.Object
  extended by org.netbeans.jemmy.demo.Demonstrator

public class Demonstrator
extends Object

Class to display step comments.

Author:
Alexandre Iline (alexandre.iline@sun.com)

Constructor Summary
Demonstrator()
           
 
Method Summary
static void nextStep(String stepComment)
          Notifies current CommentWindow implementation to display comments for a new step.
static void setCommentWindow(CommentWindow cw)
          Changes current CommentWindow.
static void setTitle(String title)
          Notifies current CommentWindow implementation to change title.
static void showFinalComment(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(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(String stepComment)
Notifies current CommentWindow implementation to display comments for a new step.

Parameters:
stepComment - New step comments

showFinalComment

public static void showFinalComment(String stepComment)
Notifies current CommentWindow implementation to display final comments.

Parameters:
stepComment - New step comments