It's very clear now, thanks very much, David. :)<br><br>
<div><span class="gmail_quote">2006/2/15, David Holroyd &lt;<a href="mailto:osflash@badgers-in-foil.co.uk">osflash@badgers-in-foil.co.uk</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi again,<br><br>On Thu, Feb 09, 2006 at 09:30:15PM +0800, iiley wrote:<br>&gt; as2api seem has problem to generate link to this:
<br>&gt;<br>&gt; /**<br>&gt;&nbsp;&nbsp;* @see FocusManager#setDefaultFocusTraversalPolicy()<br>&gt;&nbsp;&nbsp;* @see FocusManager#getDefaultFocusTraversalPolicy()<br>&gt;&nbsp;&nbsp;*/<br>&gt;<br>&gt; But @Container#someMethod() generated fined. (FocusManager is at the
<br>&gt; same package)<br><br>I grabbed the source from svn, and the significant parts of the file in<br>question are:<br><br><br>----8&lt;----<br>...<br><br>import org.aswing.Component;<br>import org.aswing.Container;<br>
import org.aswing.JWindow;<br><br>/**<br>...<br>* @see Container#isFocusTraversalPolicyProvider()<br>* @see FocusManager#setDefaultFocusTraversalPolicy()<br>* @see FocusManager#getDefaultFocusTraversalPolicy()<br>...<br>*/
<br>interface org.aswing.FocusTraversalPolicy {<br>&nbsp;&nbsp; ...<br>----&gt;8----<br><br>The generated documentation doesn't include the expected links to<br>FocusManager methods, while the links to methods of Container are fine.
<br>This is because (contradicting my earlier statement ;) types in the same<br>package as the current type are *not* automatically in scope.<br><br>i.e., in order for as2api to know what type 'FocusManager' refers to in<br>
the comment, you need to either 'import' it, or use the fully-qualified<br>name 'org.aswing.FocusManager'.<br><br>(I would suggest you go with the latter option.)<br><br><br>hope that helps,<br>dave<br><br>--<br><a href="http://david.holroyd.me.uk/">
http://david.holroyd.me.uk/</a><br><br>_______________________________________________<br>osflash mailing list<br><a href="mailto:osflash@osflash.org">osflash@osflash.org</a><br><a href="http://osflash.org/mailman/listinfo/osflash_osflash.org">
http://osflash.org/mailman/listinfo/osflash_osflash.org</a><br></blockquote></div><br><br clear="all"><br>-- <br>iiley<br>AsWing <a href="http://www.aswing.org">http://www.aswing.org</a><br>Blog <a href="http://spaces.msn.com/members/iiley/">
http://spaces.msn.com/members/iiley/</a>