Home » openjdk-7 » javax » swing » [javadoc | source]
javax.swing
public class: JEditorPane.JEditorPaneAccessibleHypertextSupport.HTMLLink [javadoc | source]
java.lang.Object
   javax.accessibility.AccessibleHyperlink
      javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$HTMLLink

All Implemented Interfaces:
    AccessibleAction

Field Summary
 Element element     
Constructor:
 public HTMLLink(Element e) 
Method from javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$HTMLLink Summary:
doAccessibleAction,   getAccessibleActionAnchor,   getAccessibleActionCount,   getAccessibleActionDescription,   getAccessibleActionObject,   getEndIndex,   getStartIndex,   isValid
Methods from javax.accessibility.AccessibleHyperlink:
doAccessibleAction,   getAccessibleActionAnchor,   getAccessibleActionCount,   getAccessibleActionDescription,   getAccessibleActionObject,   getEndIndex,   getStartIndex,   isValid
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.JEditorPane$JEditorPaneAccessibleHypertextSupport$HTMLLink Detail:
 public boolean doAccessibleAction(int i) 
    Perform the specified Action on the object
 public Object getAccessibleActionAnchor(int i) 
    Return an object that represents the link anchor, as appropriate for that link. E.g. from HTML: Accessibility this method would return a String containing the text: 'Accessibility'. Similarly, from this HTML: <a HREF="#top"><img src="top-hat.gif" alt="top hat"></a> this might return the object ImageIcon("top-hat.gif", "top hat");
 public int getAccessibleActionCount() 
    Returns the number of accessible actions available in this Link If there are more than one, the first one is NOT considered the "default" action of this LINK object (e.g. in an HTML imagemap). In general, links will have only one AccessibleAction in them.
 public String getAccessibleActionDescription(int i) 
    Return a String description of this particular link action. The string returned is the text within the document associated with the element which contains this link.
 public Object getAccessibleActionObject(int i) 
    Returns a URL object that represents the link.
 public int getEndIndex() 
    Get the index with the hypertext document at which this link ends
 public int getStartIndex() 
    Get the index with the hypertext document at which this link begins
 public boolean isValid() 
    Since the document a link is associated with may have changed, this method returns whether this Link is valid anymore (with respect to the document it references).