com.mxgraph.shape
Class mxHtmlTextShape
java.lang.Object
com.mxgraph.shape.mxHtmlTextShape
- All Implemented Interfaces:
- mxITextShape
public class mxHtmlTextShape
- extends java.lang.Object
- implements mxITextShape
Field Summary |
protected boolean |
replaceHtmlLinefeeds
Specifies if linefeeds should be replaced with breaks in HTML markup. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
replaceHtmlLinefeeds
protected boolean replaceHtmlLinefeeds
- Specifies if linefeeds should be replaced with breaks in HTML markup.
Default is true.
mxHtmlTextShape
public mxHtmlTextShape()
isReplaceHtmlLinefeeds
public boolean isReplaceHtmlLinefeeds()
- Returns replaceHtmlLinefeeds
setReplaceHtmlLinefeeds
public void setReplaceHtmlLinefeeds(boolean value)
- Returns replaceHtmlLinefeeds
paintShape
public void paintShape(mxGraphics2DCanvas canvas,
java.lang.String text,
mxCellState state,
java.util.Map<java.lang.String,java.lang.Object> style)
- Specified by:
paintShape
in interface mxITextShape
Copyright (c) 2010 Gaudenz Alder. All rights reserved.