JGraph X 1.8.0.3


com.mxgraph.shape
Class mxHtmlTextShape

java.lang.Object
  extended by com.mxgraph.shape.mxHtmlTextShape
All Implemented Interfaces:
mxITextShape

public class mxHtmlTextShape
extends Object
implements mxITextShape


Field Summary
protected  boolean replaceHtmlLinefeeds
          Specifies if linefeeds should be replaced with breaks in HTML markup.
 
Constructor Summary
mxHtmlTextShape()
           
 
Method Summary
 boolean isReplaceHtmlLinefeeds()
          Returns replaceHtmlLinefeeds
 void paintShape(mxGraphics2DCanvas canvas, String text, mxCellState state, Map<String,Object> style)
           
 void setReplaceHtmlLinefeeds(boolean value)
          Returns replaceHtmlLinefeeds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

replaceHtmlLinefeeds

protected boolean replaceHtmlLinefeeds
Specifies if linefeeds should be replaced with breaks in HTML markup. Default is true.

Constructor Detail

mxHtmlTextShape

public mxHtmlTextShape()
Method Detail

isReplaceHtmlLinefeeds

public boolean isReplaceHtmlLinefeeds()
Returns replaceHtmlLinefeeds


setReplaceHtmlLinefeeds

public void setReplaceHtmlLinefeeds(boolean value)
Returns replaceHtmlLinefeeds


paintShape

public void paintShape(mxGraphics2DCanvas canvas,
                       String text,
                       mxCellState state,
                       Map<String,Object> style)
Specified by:
paintShape in interface mxITextShape

JGraph X 1.8.0.3


Copyright (c) 2010 Gaudenz Alder. All rights reserved.