org.xhtmlrenderer.layout
Class Breaker

java.lang.Object
  extended by org.xhtmlrenderer.layout.Breaker

public class Breaker
extends Object

A utility class that scans the text of a single inline box, looking for the next break point.

Author:
Torbjoern Gannholm

Constructor Summary
Breaker()
           
 
Method Summary
static void breakFirstLetter(LayoutContext c, LineBreakContext context, int avail, CalculatedStyle style)
           
static void breakText(LayoutContext c, LineBreakContext context, int avail, CalculatedStyle style)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Breaker

public Breaker()
Method Detail

breakFirstLetter

public static void breakFirstLetter(LayoutContext c,
                                    LineBreakContext context,
                                    int avail,
                                    CalculatedStyle style)

breakText

public static void breakText(LayoutContext c,
                             LineBreakContext context,
                             int avail,
                             CalculatedStyle style)


Copyright © 2013. All Rights Reserved.