Class javax.help.event.HelpSetEvent

java.lang.Object
    |
    +----java.util.EventObject
            |
            +----javax.help.event.HelpSetEvent

public class HelpSetEvent
extends java.util.EventObject
Conveys information when a HelpSet is added/removed.


HELPSET_ADDED

public static final int HELPSET_ADDED
A HelpSet was added

HELPSET_REMOVED

public static final int HELPSET_REMOVED
A HelpSet was removed

HelpSetEvent

public HelpSetEvent(java.lang.Object source,
                    HelpSet helpset,
                    int action)
Creates a HelpSetEvent.
Parameters:
source - Source of this Event.
helpset - The HelpSet being added/removed.
action - HELPSET_ADDED or HELPSET_REMOVED.
Throws:
java.lang.IllegalArgumentException - if source is null or if action is not a valid action.

getHelpSet

public HelpSet getHelpSet()
Returns:
The HelpSet.

getAction

public int getAction()
Returns:
The action

toString

public java.lang.String toString()
Returns textual about the instance.
Overrides:
toString in class java.util.EventObject