cdx.scorebot.util.swing
Interface TextFieldFIFO

All Known Implementing Classes:
JLogPaneFIFO, JTextAreaFIFO, LogSyntaxDocumentFIFO

public interface TextFieldFIFO

A special text container which limits the number of lines which it displays.

Author:
David Underhill

Method Summary
 void addText(java.lang.String t)
          sets the text in this text field to the current text plus t (minus any truncated lines)
 void clearText()
          clears all text from this text field
 java.lang.String getText()
          gets the text in this text field
 void setText(java.lang.String t)
          sets the text in this text field to t (minus any truncated lines)
 

Method Detail

addText

void addText(java.lang.String t)
sets the text in this text field to the current text plus t (minus any truncated lines)

Parameters:
t - the text add to the text field

clearText

void clearText()
clears all text from this text field


getText

java.lang.String getText()
gets the text in this text field

Returns:
the text in this text field

setText

void setText(java.lang.String t)
sets the text in this text field to t (minus any truncated lines)

Parameters:
t - the text to put in the text field