http://www.jpicedt.org

jpicedt.graphic.event
Class HelpMessageEvent

java.lang.Object
  extended by jpicedt.graphic.event.HelpMessageEvent

public class HelpMessageEvent
extends Object

A class that allows an EditorKit to post help-messages (or tooltips) that make sense with the current operation being performed. This may be used e.g. by the UI machinery.

Since:
jpicedt 1.3.2
Version:
$Id: HelpMessageEvent.java,v 1.7 2013/03/27 07:06:42 vincentb1 Exp $
Author:
Sylvain Reynal

Constructor Summary
HelpMessageEvent(EditorKit source, String message)
          contruct a new event
 
Method Summary
 String getMessage()
          Return the help-message.
 EditorKit getSource()
          Return the editor kit that sourced this event.
 String toString()
          Return a String representation of this event for debugging purpose.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HelpMessageEvent

public HelpMessageEvent(EditorKit source,
                        String message)
contruct a new event

Parameters:
source - the editorkit that sourced the event
message - the help-message
Method Detail

getSource

public EditorKit getSource()
Return the editor kit that sourced this event.


getMessage

public String getMessage()
Return the help-message.


toString

public String toString()
Return a String representation of this event for debugging purpose.

Overrides:
toString in class Object

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org