Class TextEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class TextEvent
    extends java.util.EventObject
    Event that encapsulates some textual information
    Version:
    $Revision: 1.4 $
    Author:
    Mark Hall
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TextEvent​(java.lang.Object source, java.lang.String text, java.lang.String textTitle)
      Creates a new TextEvent instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getText()
      Describe getText method here.
      java.lang.String getTextTitle()
      Describe getTextTitle method here.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TextEvent

        public TextEvent​(java.lang.Object source,
                         java.lang.String text,
                         java.lang.String textTitle)
        Creates a new TextEvent instance.
        Parameters:
        source - an Object value
        text - a String value
    • Method Detail

      • getText

        public java.lang.String getText()
        Describe getText method here.
        Returns:
        a String value
      • getTextTitle

        public java.lang.String getTextTitle()
        Describe getTextTitle method here.
        Returns:
        a String value