public class HtmlImageGenerator extends Object
| Constructor and Description |
|---|
HtmlImageGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected JEditorPane |
createJEditorPane() |
BufferedImage |
getBufferedImage() |
Dimension |
getDefaultSize() |
List<LinkInfo> |
getLinks() |
String |
getLinksMapMarkup(String mapName) |
ComponentOrientation |
getOrientation() |
Dimension |
getSize() |
void |
loadHtml(String html) |
void |
loadUrl(String url) |
void |
loadUrl(URL url) |
protected void |
onDocumentLoad() |
void |
saveAsHtmlWithMap(File file,
String imageUrl) |
void |
saveAsHtmlWithMap(String file,
String imageUrl) |
void |
saveAsImage(File file) |
void |
saveAsImage(String file) |
void |
setOrientation(ComponentOrientation orientation) |
void |
setSize(Dimension dimension) |
public ComponentOrientation getOrientation()
public void setOrientation(ComponentOrientation orientation)
public Dimension getSize()
public void setSize(Dimension dimension)
public void loadUrl(URL url)
public void loadUrl(String url)
public void loadHtml(String html)
public void saveAsImage(String file)
public void saveAsImage(File file)
protected void onDocumentLoad()
public Dimension getDefaultSize()
public BufferedImage getBufferedImage()
protected JEditorPane createJEditorPane()
Copyright © 2011. All Rights Reserved.