use of com.gargoylesoftware.htmlunit.javascript.host.dom.Selection in project htmlunit by HtmlUnit.
the class HTMLCollectionFrames method getSelectionImpl.
/**
* Returns the current selection.
* @return the current selection
*/
public Selection getSelectionImpl() {
if (selection_ == null) {
selection_ = new Selection();
selection_.setParentScope(this);
selection_.setPrototype(getPrototype(selection_.getClass()));
}
return selection_;
}
Aggregations