636465666768697071
public static class InlineViewFactory implements ViewFactory { public static final GlyphPainter painter = new FixedPainter(); public View create(Element element) { GlyphView result = new InlineView(element); result.setGlyphPainter(painter); return result; }
4748495051525354555657
public void clearColoredRegions() { coloredRegions = createNewMap(); } public View createView(Element elem) { return new GlyphView(elem) { @Override public void setGlyphPainter(GlyphPainter p) { super.setGlyphPainter(new Painter(p)); }