org.writersforge.catalan.layout.style
Interface AreaStyle

All Superinterfaces:
AlignStyle, BorderStyle, ExtentStyle, InsetStyle
All Known Subinterfaces:
AllStyle
All Known Implementing Classes:
DatumStyleWrapper, DefaultStyle, StyleChain

public interface AreaStyle
extends AlignStyle, InsetStyle, ExtentStyle, BorderStyle

Composite style for layout area objects. Essentially just a grouping of AlignStyle, InsetStyle, ExtentStyle, and BorderStyle, gathered together for convenience. Typically, these styles will be managed separately by the template, but combined into a single composite style for the layout engine.

Author:
jsheets

Field Summary
 
Fields inherited from interface org.writersforge.catalan.layout.style.AlignStyle
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_ENUM, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_TOP
 
Method Summary
 java.awt.Color getBackgroundColor()
          Returns the background color of this area.
 java.lang.String getDescription()
          Returns an optional text description of this area.
 boolean isBreakable()
          Returns the breakable property of this area.
 
Methods inherited from interface org.writersforge.catalan.layout.style.AlignStyle
getHAlign, getVAlign
 
Methods inherited from interface org.writersforge.catalan.layout.style.InsetStyle
getIndent, getInsets, getRightIndent, getSpaceAfter, getSpaceBefore
 
Methods inherited from interface org.writersforge.catalan.layout.style.ExtentStyle
getMaximum, getMinimum, getPreferred
 
Methods inherited from interface org.writersforge.catalan.layout.style.BorderStyle
getBorderColor, getBorderWidth
 

Method Detail

getBackgroundColor

public java.awt.Color getBackgroundColor()
Returns the background color of this area.

Returns:
the background color

getDescription

public java.lang.String getDescription()
Returns an optional text description of this area.

Returns:
text description

isBreakable

public boolean isBreakable()
Returns the breakable property of this area. If the area is breakable, it can be wrapped to another page.

Returns:
the breakable value for this area