Ignore:
Timestamp:
07/26/13 09:20:36 (11 years ago)
Author:
pharms
Message:
  • added some Java Docs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/guimodel/HTMLPageElement.java

    r1264 r1276  
    1717/** 
    1818 * <p> 
    19  * TODO comment 
     19 * This is a GUI element representing tags in HTML documents. Each tag belongs to a certain 
     20 * document. Each page element has a tag name and either an id or at least 
     21 * an index in the list of siblings of the same type. 
    2022 * </p> 
    2123 *  
     
    2426public class HTMLPageElement extends HTMLGUIElement { 
    2527 
    26     /**  */ 
     28    /** 
     29     * <p> 
     30     * default serial version UID 
     31     * </p> 
     32     */ 
    2733    private static final long serialVersionUID = 1L; 
    2834 
    2935    /** 
    3036     * <p> 
    31      * TODO: comment 
     37     * instantiates a page element with it parent (either a document or another page element) 
    3238     * </p> 
    3339     * 
    34      * @param specification 
    35      * @param parent 
     40     * @param specification the specification of the page element 
     41     * @param parent        the parent GUI element 
    3642     */ 
    3743    public HTMLPageElement(HTMLPageElementSpec specification, HTMLGUIElement parent) { 
     
    4147    /** 
    4248     * <p> 
    43      * TODO: comment 
     49     * returns the name of the tag represented by this specification 
    4450     * </p> 
    4551     * 
    46      * @param specification 
    47      * @param parent 
    48      */ 
    49     public HTMLPageElement(HTMLPageElementSpec specification, HTMLDocument parent) { 
    50         super(specification, parent); 
    51     } 
    52  
    53     /** 
    54      * <p> 
    55      * TODO: comment 
    56      * </p> 
    57      * 
    58      * @return 
     52     * @return the name of the tag represented by this specification 
    5953     */ 
    6054    public String getTagName() { 
     
    6458    /** 
    6559     * <p> 
    66      * TODO: comment 
     60     * returns the id of the tag represented by this specification 
    6761     * </p> 
    6862     * 
    69      * @return 
     63     * @return the id of the tag represented by this specification 
    7064     */ 
    7165    public String getHtmlId() { 
     
    7569    /** 
    7670     * <p> 
    77      * TODO: comment 
     71     * returns the index of the tag 
    7872     * </p> 
    7973     * 
    80      * @return 
     74     * @return the index of the tag 
    8175     */ 
    8276    public int getIndex() { 
     
    9488    } 
    9589 
    96     /** 
    97      * <p> 
    98      * TODO: comment 
    99      * </p> 
    100      * 
    101      * @return 
    102      */ 
    103     HTMLDocumentSpec getPage() { 
    104         return ((HTMLPageElementSpec) super.getSpecification()).getPage(); 
    105     } 
    106  
    10790} 
Note: See TracChangeset for help on using the changeset viewer.