net.grinder.console.editor
Class StringTextSource

java.lang.Object
  extended by net.grinder.console.editor.AbstractTextSource
      extended by net.grinder.console.editor.StringTextSource
All Implemented Interfaces:
TextSource

public class StringTextSource
extends AbstractTextSource

Simple TextSource for the unit tests.

Author:
Philip Aston

Nested Class Summary
static class StringTextSource.Factory
           
 
Nested classes/interfaces inherited from interface net.grinder.console.editor.TextSource
TextSource.Listener
 
Constructor Summary
StringTextSource()
           
StringTextSource(String text)
           
 
Method Summary
 String getText()
           
 void setText(String text)
           
 
Methods inherited from class net.grinder.console.editor.AbstractTextSource
addListener, isDirty, setChanged, setClean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringTextSource

public StringTextSource()

StringTextSource

public StringTextSource(String text)
Method Detail

getText

public String getText()

setText

public void setText(String text)


Copyright © 2000-2013. All Rights Reserved.