public class ViewRenderer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ViewRenderer.ZoomType |
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.swt.browser.Browser |
browser |
protected XmlHelper |
xmlHelper |
protected double |
zoom |
Constructor and Description |
---|
ViewRenderer(org.eclipse.swt.browser.Browser browser) |
Modifier and Type | Method and Description |
---|---|
void |
display(Exception ex) |
void |
display(String text) |
org.eclipse.swt.browser.Browser |
getBrowser() |
String |
getHtml(String content) |
org.eclipse.swt.graphics.Point |
getPrintableArea() |
org.eclipse.swt.graphics.Point |
getScrollPosition() |
String |
getVerbatim(String content) |
double |
getZoom() |
void |
nothingToRender() |
void |
setScrollPosition(org.eclipse.swt.graphics.Point point) |
void |
zoom(ViewRenderer.ZoomType type) |
protected org.eclipse.swt.browser.Browser browser
protected double zoom
protected XmlHelper xmlHelper
public org.eclipse.swt.browser.Browser getBrowser()
public org.eclipse.swt.graphics.Point getScrollPosition()
public org.eclipse.swt.graphics.Point getPrintableArea()
public void setScrollPosition(org.eclipse.swt.graphics.Point point)
public void zoom(ViewRenderer.ZoomType type)
public double getZoom()
public void display(Exception ex)
public void display(String text)
public void nothingToRender()
Copyright © 2020. All rights reserved.