Package org.jfree.fonts.text.breaks

Examples of org.jfree.fonts.text.breaks.LineBreakProducer


  {
    final CSSValue wordBreak = layoutContext.getValue(TextStyleKeys.TEXT_WRAP);
    if (TextWrap.NONE.equals(wordBreak))
    {
      // surpress all but the linebreaks. This equals the 'pre' mode of HTML
      return new LineBreakProducer();
    }

    // allow other breaks as well. The wordbreak producer does not perform
    // advanced break-detection (like syllable based breaks).
    return new WordBreakProducer();
View Full Code Here


    {

      // surpress all but the linebreaks. This equals the 'pre' mode of HTML

      return new LineBreakProducer();

    }


View Full Code Here

TOP

Related Classes of org.jfree.fonts.text.breaks.LineBreakProducer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.