javax.help.event
public class HelpSetEvent extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
HELPSET_ADDED
A HelpSet was added
|
static int |
HELPSET_REMOVED
A HelpSet was removed
|
Constructor and Description |
---|
HelpSetEvent(java.lang.Object source,
HelpSet helpset,
int action)
Creates a HelpSetEvent.
|
Modifier and Type | Method and Description |
---|---|
int |
getAction() |
HelpSet |
getHelpSet() |
java.lang.String |
toString()
Returns textual about the instance.
|
public static final int HELPSET_ADDED
public static final int HELPSET_REMOVED
public HelpSetEvent(java.lang.Object source, HelpSet helpset, int action)
source
- Source of this Event.helpset
- The HelpSet being added/removed.action
- HELPSET_ADDED or HELPSET_REMOVED.java.lang.IllegalArgumentException
- if source is null or if action is not
a valid action.public HelpSet getHelpSet()
public int getAction()
public java.lang.String toString()
toString
in class java.util.EventObject