Changeset 1276 for trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/guimodel/HTMLPageElement.java
- Timestamp:
- 07/26/13 09:20:36 (11 years ago)
- 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 17 17 /** 18 18 * <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. 20 22 * </p> 21 23 * … … 24 26 public class HTMLPageElement extends HTMLGUIElement { 25 27 26 /** */ 28 /** 29 * <p> 30 * default serial version UID 31 * </p> 32 */ 27 33 private static final long serialVersionUID = 1L; 28 34 29 35 /** 30 36 * <p> 31 * TODO: comment37 * instantiates a page element with it parent (either a document or another page element) 32 38 * </p> 33 39 * 34 * @param specification 35 * @param parent 40 * @param specification the specification of the page element 41 * @param parent the parent GUI element 36 42 */ 37 43 public HTMLPageElement(HTMLPageElementSpec specification, HTMLGUIElement parent) { … … 41 47 /** 42 48 * <p> 43 * TODO: comment49 * returns the name of the tag represented by this specification 44 50 * </p> 45 51 * 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 59 53 */ 60 54 public String getTagName() { … … 64 58 /** 65 59 * <p> 66 * TODO: comment60 * returns the id of the tag represented by this specification 67 61 * </p> 68 62 * 69 * @return 63 * @return the id of the tag represented by this specification 70 64 */ 71 65 public String getHtmlId() { … … 75 69 /** 76 70 * <p> 77 * TODO: comment71 * returns the index of the tag 78 72 * </p> 79 73 * 80 * @return 74 * @return the index of the tag 81 75 */ 82 76 public int getIndex() { … … 94 88 } 95 89 96 /**97 * <p>98 * TODO: comment99 * </p>100 *101 * @return102 */103 HTMLDocumentSpec getPage() {104 return ((HTMLPageElementSpec) super.getSpecification()).getPage();105 }106 107 90 }
Note: See TracChangeset
for help on using the changeset viewer.