|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BrowserNode
Interface providing utility methods for element nodes
returned by
BrowserApplication.getCurrentDocument()
BrowserApplication.getCurrentDocument()
Method Summary | |
---|---|
void |
setInnerHTML(String html)
Sets the given html as inner html of this browser node. |
void |
setStyleAttribute(String style,
String value)
Sets a style attribute for this browser node. |
void |
setStyleAttributes(Map<String,String> attributes)
Applies given style mappings for this browser node. |
Method Detail |
---|
void setStyleAttribute(String style, String value) throws DocumentGoneException
style
- the style to set the given value forvalue
- the value for the style attribute
DocumentGoneException
- if the element belonging to this browser node isn't accessible any more in the underlying documentvoid setStyleAttributes(Map<String,String> attributes) throws DocumentGoneException
attributes
- map containing style to value mappings
DocumentGoneException
- if the element belonging to this browser node isn't accessible any more in the underlying documentvoid setInnerHTML(String html) throws DocumentGoneException
html
- the html string to set as inner html
DocumentGoneException
- if the element belonging to this browser node isn't accessible any more in the underlying document
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |