de.espirit.firstspirit.client.gui.applications
Interface BrowserNode


public interface BrowserNode

Interface providing utility methods for element nodes returned by BrowserApplication.getCurrentDocument()

Since:
4.2.436
See Also:
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

setStyleAttribute

void setStyleAttribute(String style,
                       String value)
                       throws DocumentGoneException
Sets a style attribute for this browser node.

Parameters:
style - the style to set the given value for
value - the value for the style attribute
Throws:
DocumentGoneException - if the element belonging to this browser node isn't accessible any more in the underlying document
Since:
4.2.436

setStyleAttributes

void setStyleAttributes(Map<String,String> attributes)
                        throws DocumentGoneException
Applies given style mappings for this browser node.

Parameters:
attributes - map containing style to value mappings
Throws:
DocumentGoneException - if the element belonging to this browser node isn't accessible any more in the underlying document
Since:
4.2.436

setInnerHTML

void setInnerHTML(String html)
                  throws DocumentGoneException
Sets the given html as inner html of this browser node.

Parameters:
html - the html string to set as inner html
Throws:
DocumentGoneException - if the element belonging to this browser node isn't accessible any more in the underlying document
Since:
4.2.436


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480