<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://jexp.ru/index.php?action=history&amp;feed=atom&amp;title=Java_by_API%2Fjavax.accessibility%2FAccessibleHypertext</id>
		<title>Java by API/javax.accessibility/AccessibleHypertext - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://jexp.ru/index.php?action=history&amp;feed=atom&amp;title=Java_by_API%2Fjavax.accessibility%2FAccessibleHypertext"/>
		<link rel="alternate" type="text/html" href="http://jexp.ru/index.php?title=Java_by_API/javax.accessibility/AccessibleHypertext&amp;action=history"/>
		<updated>2026-04-21T19:59:32Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://jexp.ru/index.php?title=Java_by_API/javax.accessibility/AccessibleHypertext&amp;diff=330&amp;oldid=prev</id>
		<title> в 17:43, 31 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://jexp.ru/index.php?title=Java_by_API/javax.accessibility/AccessibleHypertext&amp;diff=330&amp;oldid=prev"/>
				<updated>2010-05-31T17:43:48Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 17:43, 31 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://jexp.ru/index.php?title=Java_by_API/javax.accessibility/AccessibleHypertext&amp;diff=331&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://jexp.ru/index.php?title=Java_by_API/javax.accessibility/AccessibleHypertext&amp;diff=331&amp;oldid=prev"/>
				<updated>2010-05-31T14:16:02Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== AccessibleHypertext: getLinkCount() ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
import java.awt.BorderLayout;&lt;br /&gt;
import java.awt.Dimension;&lt;br /&gt;
import java.io.IOException;&lt;br /&gt;
import javax.accessibility.AccessibleContext;&lt;br /&gt;
import javax.accessibility.AccessibleHyperlink;&lt;br /&gt;
import javax.accessibility.AccessibleHypertext;&lt;br /&gt;
import javax.accessibility.AccessibleText;&lt;br /&gt;
import javax.swing.JEditorPane;&lt;br /&gt;
import javax.swing.JFrame;&lt;br /&gt;
import javax.swing.JScrollPane;&lt;br /&gt;
import javax.swing.event.HyperlinkEvent;&lt;br /&gt;
import javax.swing.event.HyperlinkListener;&lt;br /&gt;
public class MainClass extends JFrame implements HyperlinkListener {&lt;br /&gt;
  JEditorPane view;&lt;br /&gt;
  MainClass() throws IOException {&lt;br /&gt;
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);&lt;br /&gt;
    view = new JEditorPane(&amp;quot;http://www.jexp.ru&amp;quot;);&lt;br /&gt;
    view.setEditable(false);&lt;br /&gt;
    view.setPreferredSize(new Dimension(400, 400));&lt;br /&gt;
    view.addHyperlinkListener(this);&lt;br /&gt;
    getContentPane().add(new JScrollPane(view), BorderLayout.CENTER);&lt;br /&gt;
    pack();&lt;br /&gt;
    setVisible(true);&lt;br /&gt;
  }&lt;br /&gt;
  public void hyperlinkUpdate(HyperlinkEvent e) {&lt;br /&gt;
    try {&lt;br /&gt;
      view.setPage(e.getURL());&lt;br /&gt;
    } catch (java.io.IOException e2) {&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
  public static void main(String[] args)throws IOException  {&lt;br /&gt;
    MainClass ad4 = new MainClass();&lt;br /&gt;
    ad4.dumpHypertextInfo(ad4.getAccessibleContext());&lt;br /&gt;
  }&lt;br /&gt;
  void dumpHypertextInfo(AccessibleContext ac) {&lt;br /&gt;
    AccessibleText at = ac.getAccessibleText();&lt;br /&gt;
    AccessibleHypertext ah = null;&lt;br /&gt;
    if (at instanceof AccessibleHypertext)&lt;br /&gt;
      ah = (AccessibleHypertext) at;&lt;br /&gt;
    if (ah != null) {&lt;br /&gt;
      int nLinks = ah.getLinkCount();&lt;br /&gt;
      for (int i = 0; i &amp;lt; nLinks; i++) {&lt;br /&gt;
        AccessibleHyperlink ahl = ah.getLink(i);&lt;br /&gt;
        int nActions = ahl.getAccessibleActionCount();&lt;br /&gt;
        for (int j = 0; j &amp;lt; nActions; j++) {&lt;br /&gt;
          String s = ahl.getAccessibleActionDescription(j);&lt;br /&gt;
          System.out.println(&amp;quot;Action = &amp;quot; + s);&lt;br /&gt;
        }&lt;br /&gt;
      }&lt;br /&gt;
      return;&lt;br /&gt;
    }&lt;br /&gt;
    int nChildren = ac.getAccessibleChildrenCount();&lt;br /&gt;
    for (int i = 0; i &amp;lt; nChildren; i++)&lt;br /&gt;
      dumpHypertextInfo(ac.getAccessibleChild(i).getAccessibleContext());&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- end source code --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>