API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.event. HyperlinkEvent View Source
Author(s)
Timothy Prinzing
Since
Version
1.19 11/17/05
Serial
Hierarchy
 Object
      EventObject
          HyperlinkEvent
Implements
Subclasses
Description
public class HyperlinkEvent
  HyperlinkEvent is used to notify interested parties that something has happened with respect to a hypertext link.
See also:   
Constructors
public HyperlinkEvent (Object source, EventType type, URL u)
  Creates a new object representing a hypertext link event.
public HyperlinkEvent (Object source, EventType type, URL u, String desc)
  Creates a new object representing a hypertext link event.
public HyperlinkEvent (Object source, EventType type, URL u, String desc, Element sourceElement)
  Creates a new object representing a hypertext link event.
Methods
Hide/Show inherited methods
public String getDescription ()
  Get the description of the link as a string.
public EventType getEventType ()
  Gets the type of event.
public Object getSource () [Inherited From EventObject]
  The object on which the Event initially occurred.
public Element getSourceElement ()
  Returns the Element that corresponds to the source of the event.
public URL getURL ()
  Gets the URL that the link refers to.
public String toString () [Inherited From EventObject]
  Returns a String representation of this EventObject.
Fields
Hide/Show inherited fields
protectedtransient Object source [Inherited From EventObject]
The object on which the Event initially occurred.
Nested Classes
  HyperlinkEvent.EventType
Defines the ENTERED, EXITED, and ACTIVATED event types, along with their string representations, returned by toString().
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar