All Superinterfaces:
Cloneable
All Known Implementing Classes:
TextImpl

public interface Text extends Cloneable
Representation of user configurable texts. A text consists of an id identifying the type of the text and the textual information itself.
  • Method Details

    • setId

      void setId(String id)
      Sets the type of the text
      Parameters:
      id - The type to be set
    • setText

      void setText(String text)
      Sets the text
      Parameters:
      text - Text to be set
    • getText

      String getText()
      Reads the text
      Returns:
      Text
    • getId

      String getId()
      Reads the type of the text
      Returns:
      Type of text
    • getHandle

      String getHandle()
      Reads the text handle
      Returns:
      handle representing this text
    • setHandle

      void setHandle(String handle)
      Sets the handle (which is a temporary key to identify the object)
      Parameters:
      handle - representing this text
    • clear

      void clear()
      Clears all the fields in the test object
    • clone

      Text clone()
      Returns:
      clone
      See Also:
    • hasTextChanged

      boolean hasTextChanged()
      checks whether the text or the id has been changed since the last invocation of resetTextChanged()
      Returns:
      true, only if the text has been changed
    • resetTextChanged

      void resetTextChanged()
      resets the text changed status to false