2013-10-24 21 views
0

我开始写的Javadoc像这样的方法:如何在javadoc块中设置特定的方法标题描述?

/** 
    * This is my method's title 
    * I DON'T want this line to be shown as title in the resumed method espec 
    * Any lines after this are not shown. though .. 
    *<pre> 
    * 
    * {@code 
    * for (int i = 0; i < arr.length; i++) { 
    *  Object object = arr[i]; 
     } 
    * } 
    * </pre> 
    * 
    * 
    * 
    * @param event Evento que por defecto se recibe en un Nodo, en este caso corresponde al click sobre <code>{@link #button1}</code> 
    */ 
    @FXML private void modificarLabel(ActionEvent event) { 

在生成的index.html示出了该:

modificarLabel(javafx.event.ActionEvent事件)
方法方法对modificar EL valor de un Label我不想让这行显示为恢复方法中的标题espec

如何设置某个或第一行显示作为标题说明的方法?另外,我该如何放弃显示类的整个包层次?

回答

0

如果您的意思是您希望第一行是'简要'标题,那么您需要完成该行以完整句号“”。

我注意到Javadoc和Doxygen在这方面有所不同。 Doxygen完成第一个“一个新行的标题。 Javadoc需要“

相关问题