jeters.core
Interface EditableText

All Known Implementing Classes:
MediaWikiText, PlainText

public interface EditableText

This interface must be implemented by all classes representing text that can be edited by JETERS.


Method Summary
 java.lang.String getLabel()
          get the "label" of the text, i.e. some kind of name (title of wiki article, filename, ...)
 java.lang.String getText()
          get the text represented by this object
 void setLabel(java.lang.String newText)
          changes the label of the text
 void setText(java.lang.String newText)
          changes the text to a new String
 

Method Detail

getText

java.lang.String getText()
get the text represented by this object

Returns:
this text as a String

setText

void setText(java.lang.String newText)
changes the text to a new String

Parameters:
newText - the String containing the new text

getLabel

java.lang.String getLabel()
get the "label" of the text, i.e. some kind of name (title of wiki article, filename, ...)

Returns:
the label of this text as a String

setLabel

void setLabel(java.lang.String newText)
changes the label of the text

Parameters:
newText - the String containing the new label