Package org.eclipse.epsilon.picto
Class ViewRenderer
- java.lang.Object
-
- org.eclipse.epsilon.picto.ViewRenderer
-
public class ViewRenderer extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ViewRenderer.ZoomType
-
Constructor Summary
Constructors Constructor Description ViewRenderer(org.eclipse.swt.browser.Browser browser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
browser
protected org.eclipse.swt.browser.Browser browser
-
zoom
protected double zoom
-
xmlHelper
protected XmlHelper xmlHelper
-
-
Method Detail
-
getBrowser
public org.eclipse.swt.browser.Browser getBrowser()
-
getScrollPosition
public org.eclipse.swt.graphics.Point getScrollPosition()
-
getPrintableArea
public org.eclipse.swt.graphics.Point getPrintableArea()
-
setScrollPosition
public void setScrollPosition(org.eclipse.swt.graphics.Point point)
-
zoom
public void zoom(ViewRenderer.ZoomType type)
-
getZoom
public double getZoom()
-
display
public void display(Exception ex)
-
display
public void display(String text)
-
nothingToRender
public void nothingToRender()
-
-