|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.writersforge.catalan.templates.Section
A single section of a larger document. Each Section represents a contiguous span of one or more pages with similar layout. Pages in a Section will share static headers; dynamic content will flow from page to page within a Section.
| Constructor Summary | |
Section(RegionMap regionMap,
org.writersforge.bellows.Datum[] statics,
org.writersforge.bellows.Datum[] flows)
Creates a new instance of Section. |
|
| Method Summary | |
org.writersforge.bellows.Datum |
getFlowTemplate(java.lang.String regionName)
Returns a Datum object that embodies the flow template for the named region. |
java.awt.Rectangle |
getRegion(java.lang.String regionName)
Returns a Rectangle that defines the bounding area for the named region. |
RegionMap |
getRegionMap()
Getter for property regionMap. |
java.lang.String[] |
getRegionNames()
Returns an array of all region names in this section which have flow and/or static content. |
org.writersforge.bellows.Datum |
getStaticTemplate(java.lang.String regionName)
Returns a Datum object that embodies the static template for the named region. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Section(RegionMap regionMap,
org.writersforge.bellows.Datum[] statics,
org.writersforge.bellows.Datum[] flows)
regionMap - the RegionMap for this Sectionstatics - all static templates for this Sectionflows - all flow templates for this Section| Method Detail |
public RegionMap getRegionMap()
public java.lang.String[] getRegionNames()
public java.awt.Rectangle getRegion(java.lang.String regionName)
regionName - the name of the region to retrieve
public org.writersforge.bellows.Datum getStaticTemplate(java.lang.String regionName)
regionName - the name of the region
public org.writersforge.bellows.Datum getFlowTemplate(java.lang.String regionName)
regionName - the name of the region
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||