| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
javax.help.event.HelpModelEvent
Notifies interested parties that a change in a Help Model source has occurred.
| Constructor Summary | |
| HelpModelEvent(java.lang.Object source,
               int pos0,
               int pos1)Creates a HelpModelEvent for highlighting. | |
| HelpModelEvent(java.lang.Object source,
               Map.ID id,
               java.net.URL url)Represents a change in the JavaHelp in the current ID or URL. | |
| HelpModelEvent(java.lang.Object source,
               Map.ID id,
               java.net.URL url,
               java.lang.String historyName,
               JHelpNavigator navigator)Represents a change in the JavaHelp in the current ID or URL. | |
| Method Summary | |
|  java.lang.String | getHistoryName()Returns the name of this entry | 
|  Map.ID | getID()Returns the current ID in the HelpModel. | 
|  JHelpNavigator | getNavigator()Returns the navigator of this entry | 
|  int | getPos0() | 
|  int | getPos1() | 
|  java.net.URL | getURL()Returns the current URL in the HelpModel. | 
| 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 | 
public HelpModelEvent(java.lang.Object source,
                      Map.ID id,
                      java.net.URL url)
source - The source for this event.id - The ID that has changed. Should be null if URL is specified.url - The URL that has changed. Should be null if ID is specified.
java.lang.IllegalArgumentException - if source is null.
java.lang.IllegalArgumentException - of both ID and URL are null.javax.help.JavaHelp
public HelpModelEvent(java.lang.Object source,
                      Map.ID id,
                      java.net.URL url,
                      java.lang.String historyName,
                      JHelpNavigator navigator)
source - The source for this event.id - The ID that has changed. Should be null if URL is specified.url - The URL that has changed. Should be null if ID is specified.historyName - The name of selected entrynavigator - The JHelpNavigator
java.lang.IllegalArgumentException - if source is null.
java.lang.IllegalArgumentException - of both ID and URL are null.javax.help.JavaHelp
public HelpModelEvent(java.lang.Object source,
                      int pos0,
                      int pos1)
source - The source for this event.pos0 - Start position.pos1 - End position.
java.lang.IllegalArgumentException - if source is null.| Method Detail | 
public Map.ID getID()
public java.net.URL getURL()
public java.lang.String getHistoryName()
public JHelpNavigator getNavigator()
public int getPos0()
public int getPos1()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||