Package javax.help.event
Class HelpSetEvent
java.lang.Object
java.util.EventObject
javax.help.event.HelpSetEvent
- All Implemented Interfaces:
Serializable
Conveys information when a HelpSet is added/removed.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
A HelpSet was addedstatic final int
A HelpSet was removedFields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionHelpSetEvent
(Object source, HelpSet helpset, int action) Creates a HelpSetEvent. -
Method Summary
Methods inherited from class java.util.EventObject
getSource
-
Field Details
-
HELPSET_ADDED
public static final int HELPSET_ADDEDA HelpSet was added- See Also:
-
HELPSET_REMOVED
public static final int HELPSET_REMOVEDA HelpSet was removed- See Also:
-
-
Constructor Details
-
HelpSetEvent
Creates a HelpSetEvent.- Parameters:
source
- Source of this Event.helpset
- The HelpSet being added/removed.action
- HELPSET_ADDED or HELPSET_REMOVED.- Throws:
IllegalArgumentException
- if source is null or if action is not a valid action.
-
-
Method Details
-
getHelpSet
- Returns:
- The HelpSet.
-
getAction
public int getAction()- Returns:
- The action
-
toString
Returns textual about the instance.- Overrides:
toString
in classEventObject
-