public class MultiFilteredRenderListener extends Object implements RenderListener
Constructor and Description |
---|
MultiFilteredRenderListener() |
Modifier and Type | Method and Description |
---|---|
|
attachRenderListener(E delegate, RenderFilter... filterSet)
Attaches a RenderListener for the corresponding filter set.
|
void |
beginTextBlock()
Called when a new text block is beginning (i.e.
|
void |
endTextBlock()
Called when a text block has ended (i.e.
|
void |
renderImage(ImageRenderInfo renderInfo)
Called when image should be rendered
|
void |
renderText(TextRenderInfo renderInfo)
Called when text should be rendered
|
publicRenderListener> E attachRenderListener(E delegate, RenderFilter... filterSet)
RenderListener
for the corresponding filter set.
delegate
- RenderListener instance to be attached.
filterSet
- filter set to be attached. The delegate will be invoked if all the filters pass.
public void beginTextBlock()
RenderListener
beginTextBlock
in interface RenderListener
public void renderText(TextRenderInfo renderInfo)
RenderListener
renderText
in interface RenderListener
renderInfo
- information specifying what to render
public void endTextBlock()
RenderListener
endTextBlock
in interface RenderListener
public void renderImage(ImageRenderInfo renderInfo)
RenderListener
renderImage
in interface RenderListener
renderInfo
- information specifying what to render
Copyright © 1998–2017. All rights reserved.