org.pentaho.reporting.engine.classic.core.layout.process.linebreak
Class EmptyLinebreaker

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.layout.process.linebreak.EmptyLinebreaker
All Implemented Interfaces:
ParagraphLinebreaker

public final class EmptyLinebreaker
extends Object
implements ParagraphLinebreaker

This implementation does nothing and is used as dummy if the paragraph was unchanged.

Author:
Thomas Morgner

Constructor Summary
EmptyLinebreaker()
           
 
Method Summary
 void addNode(RenderNode node)
           
 void finish()
           
 void finishBlockBox(RenderBox box)
           
 void finishInlineBox(InlineRenderBox box)
           
 void finishParagraphBox(ParagraphRenderBox box)
           
 boolean isBreakRequested()
           
 boolean isSuspended()
           
 boolean isWritable()
           
 void setBreakRequested(boolean breakRequested)
           
 void startBlockBox(RenderBox child)
           
 FullLinebreaker startComplexLayout()
           
 void startInlineBox(InlineRenderBox box)
           
 ParagraphLinebreaker startParagraphBox(ParagraphRenderBox box)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyLinebreaker

public EmptyLinebreaker()
Method Detail

isWritable

public boolean isWritable()
Specified by:
isWritable in interface ParagraphLinebreaker

startComplexLayout

public FullLinebreaker startComplexLayout()
Specified by:
startComplexLayout in interface ParagraphLinebreaker

startBlockBox

public void startBlockBox(RenderBox child)
Specified by:
startBlockBox in interface ParagraphLinebreaker

finishBlockBox

public void finishBlockBox(RenderBox box)
Specified by:
finishBlockBox in interface ParagraphLinebreaker

startParagraphBox

public ParagraphLinebreaker startParagraphBox(ParagraphRenderBox box)
Specified by:
startParagraphBox in interface ParagraphLinebreaker

finishParagraphBox

public void finishParagraphBox(ParagraphRenderBox box)
Specified by:
finishParagraphBox in interface ParagraphLinebreaker

isSuspended

public boolean isSuspended()
Specified by:
isSuspended in interface ParagraphLinebreaker

finish

public void finish()
Specified by:
finish in interface ParagraphLinebreaker

startInlineBox

public void startInlineBox(InlineRenderBox box)
Specified by:
startInlineBox in interface ParagraphLinebreaker

finishInlineBox

public void finishInlineBox(InlineRenderBox box)
Specified by:
finishInlineBox in interface ParagraphLinebreaker

isBreakRequested

public boolean isBreakRequested()
Specified by:
isBreakRequested in interface ParagraphLinebreaker

addNode

public void addNode(RenderNode node)
Specified by:
addNode in interface ParagraphLinebreaker

setBreakRequested

public void setBreakRequested(boolean breakRequested)
Specified by:
setBreakRequested in interface ParagraphLinebreaker