Finished
This commit is contained in:
@@ -45,7 +45,7 @@ public interface DomHost {
|
||||
* Sets the element text content.
|
||||
*
|
||||
* @param elementId element id
|
||||
* @param text new text
|
||||
* @param text new text
|
||||
*/
|
||||
void setTextContent(String elementId, String text);
|
||||
|
||||
@@ -53,7 +53,7 @@ public interface DomHost {
|
||||
* Returns an attribute value or null if missing.
|
||||
*
|
||||
* @param elementId element id
|
||||
* @param name attribute name
|
||||
* @param name attribute name
|
||||
* @return value or null if missing
|
||||
*/
|
||||
String getAttribute(String elementId, String name);
|
||||
@@ -62,8 +62,8 @@ public interface DomHost {
|
||||
* Sets an attribute value (empty string allowed).
|
||||
*
|
||||
* @param elementId element id
|
||||
* @param name attribute name
|
||||
* @param value attribute value
|
||||
* @param name attribute name
|
||||
* @param value attribute value
|
||||
*/
|
||||
void setAttribute(String elementId, String name, String value);
|
||||
|
||||
@@ -71,7 +71,7 @@ public interface DomHost {
|
||||
* Removes an attribute from the element.
|
||||
*
|
||||
* @param elementId element id
|
||||
* @param name attribute name
|
||||
* @param name attribute name
|
||||
*/
|
||||
void removeAttribute(String elementId, String name);
|
||||
|
||||
@@ -94,7 +94,7 @@ public interface DomHost {
|
||||
/**
|
||||
* Creates an element and makes it addressable immediately.
|
||||
*
|
||||
* @param tagName tag name
|
||||
* @param tagName tag name
|
||||
* @param requestedId requested id or null
|
||||
* @return created element id
|
||||
*/
|
||||
@@ -111,15 +111,15 @@ public interface DomHost {
|
||||
* Appends a child element to a parent.
|
||||
*
|
||||
* @param parentId parent id
|
||||
* @param childId child id
|
||||
* @param childId child id
|
||||
*/
|
||||
void appendChild(String parentId, String childId);
|
||||
|
||||
/**
|
||||
* Inserts {@code childId} before {@code beforeChildId} within {@code parentId}.
|
||||
*
|
||||
* @param parentId parent id
|
||||
* @param childId child id
|
||||
* @param parentId parent id
|
||||
* @param childId child id
|
||||
* @param beforeChildId existing child id
|
||||
*/
|
||||
void insertBefore(String parentId, String childId, String beforeChildId);
|
||||
|
||||
Reference in New Issue
Block a user