Class DefaultPageContext
- java.lang.Object
-
- org.jfree.layouting.layouter.context.DefaultPageContext
-
- All Implemented Interfaces:
PageContext
public class DefaultPageContext extends java.lang.Object implements PageContext
-
-
Constructor Summary
Constructors Constructor Description DefaultPageContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LayoutStylegetAreaDefinition(PageAreaType name)PseudoPage[]getPseudoPages()LayoutStylegetStyle()booleanisPseudoPage(PseudoPage page)Returns true, if the given PseudoPage identifier matches the current page state.voidsetAreaDefinition(PageAreaType area, LayoutStyle style)voidsetPseudoPages(PseudoPage[] pages)
-
-
-
Method Detail
-
getAreaDefinition
public LayoutStyle getAreaDefinition(PageAreaType name)
- Specified by:
getAreaDefinitionin interfacePageContext
-
setAreaDefinition
public void setAreaDefinition(PageAreaType area, LayoutStyle style)
-
isPseudoPage
public boolean isPseudoPage(PseudoPage page)
Returns true, if the given PseudoPage identifier matches the current page state.- Specified by:
isPseudoPagein interfacePageContext- Returns:
- true, if the pseudopage matches, false otherwise.
-
getPseudoPages
public PseudoPage[] getPseudoPages()
-
setPseudoPages
public void setPseudoPages(PseudoPage[] pages)
-
getStyle
public LayoutStyle getStyle()
- Specified by:
getStylein interfacePageContext
-
-