public class OutputDisplayImpl extends Object implements org.fit.layout.api.OutputDisplay
| Constructor and Description |
|---|
OutputDisplayImpl(Graphics2D g) |
| Modifier and Type | Method and Description |
|---|---|
void |
colorizeByClass(org.fit.layout.model.Area area,
String cname) |
void |
colorizeByTags(org.fit.layout.model.Area area,
Set<org.fit.layout.model.Tag> s) |
void |
drawBox(org.fit.layout.model.Box box) |
void |
drawExtent(org.fit.layout.model.Area area) |
void |
drawExtent(org.fit.layout.model.Box box) |
void |
drawPage(org.fit.layout.model.Page page) |
void |
drawRectangle(org.fit.layout.model.Rectangular rect,
Color color) |
Graphics2D |
getGraphics() |
void |
setGraphics(Graphics2D g) |
protected Color |
stringColor(String cname) |
public OutputDisplayImpl(Graphics2D g)
public Graphics2D getGraphics()
getGraphics in interface org.fit.layout.api.OutputDisplaypublic void setGraphics(Graphics2D g)
public void drawPage(org.fit.layout.model.Page page)
drawPage in interface org.fit.layout.api.OutputDisplaypublic void drawBox(org.fit.layout.model.Box box)
drawBox in interface org.fit.layout.api.OutputDisplaypublic void drawExtent(org.fit.layout.model.Box box)
drawExtent in interface org.fit.layout.api.OutputDisplaypublic void drawExtent(org.fit.layout.model.Area area)
drawExtent in interface org.fit.layout.api.OutputDisplaypublic void drawRectangle(org.fit.layout.model.Rectangular rect,
Color color)
drawRectangle in interface org.fit.layout.api.OutputDisplaypublic void colorizeByTags(org.fit.layout.model.Area area,
Set<org.fit.layout.model.Tag> s)
colorizeByTags in interface org.fit.layout.api.OutputDisplaypublic void colorizeByClass(org.fit.layout.model.Area area,
String cname)
colorizeByClass in interface org.fit.layout.api.OutputDisplayCopyright © 2018. All rights reserved.