org.jfree.layouting.layouter.context
Class DefaultPageContext
java.lang.Object
org.jfree.layouting.layouter.context.DefaultPageContext
- All Implemented Interfaces:
- PageContext
public class DefaultPageContext
- extends java.lang.Object
- implements PageContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPageContext
public DefaultPageContext()
getAreaDefinition
public LayoutStyle getAreaDefinition(PageAreaType name)
- Specified by:
getAreaDefinition
in interface PageContext
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:
isPseudoPage
in interface PageContext
- Returns:
- true, if the pseudopage matches, false otherwise.
getPseudoPages
public PseudoPage[] getPseudoPages()
setPseudoPages
public void setPseudoPages(PseudoPage[] pages)
getStyle
public LayoutStyle getStyle()
- Specified by:
getStyle
in interface PageContext