Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.layout
Class Breaker

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

public class Breaker
extends java.lang.Object

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

Author:
Torbj�rn 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
equals, 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)

Flying Saucer Project Release ${app.version}

Flying Saucer Project Home