API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text.html. HTMLEditorKit.LinkController View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      MouseAdapter
          HTMLEditorKit.LinkController
Implements
 MouseMotionListener
 Serializable
Subclasses
Description
publicstatic class HTMLEditorKit.LinkController
Class to watch the associated component and fire hyperlink events on it when appropriate.
See also:   
Constructors
public HTMLEditorKit.LinkController ()
Methods
Hide/Show inherited methods
protected void activateLink (int pos, JEditorPane editor)
  Calls linkActivated on the associated JEditorPane if the given position represents a link.
pack-private void activateLink (int pos, JEditorPane html, int x, int y)
  Calls linkActivated on the associated JEditorPane if the given position represents a link.
pack-private HyperlinkEvent createHyperlinkEvent (JEditorPane html, HTMLDocument hdoc, String href, AttributeSet anchor, Element element)
  Creates and returns a new instance of HyperlinkEvent.
pack-private void fireEvents (JEditorPane editor, HTMLDocument doc, String href, Element lastElem)
public void mouseClicked (MouseEvent e) [Overrides MouseAdapter]
  Called for a mouse click event.
public void mouseDragged (MouseEvent e) [Overrides MouseAdapter] [Specified in MouseMotionListener]
public void mouseEntered (MouseEvent e) [Inherited From MouseAdapter]
Invoked when the mouse enters a component.
public void mouseExited (MouseEvent e) [Inherited From MouseAdapter]
Invoked when the mouse exits a component.
public void mouseMoved (MouseEvent e) [Overrides MouseAdapter] [Specified in MouseMotionListener]
public void mousePressed (MouseEvent e) [Inherited From MouseAdapter]
Invoked when a mouse button has been pressed on a component.
public void mouseReleased (MouseEvent e) [Inherited From MouseAdapter]
Invoked when a mouse button has been released on a component.
public void mouseWheelMoved (MouseWheelEvent e) [Inherited From MouseAdapter]
  Invoked when the mouse wheel is rotated.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar