org.umber.crucible.old.layout.style
Interface InsetStyle

All Known Subinterfaces:
AllStyle, AreaStyle
All Known Implementing Classes:
DatumStyleWrapper, DefaultStyle, StyleChain

public interface InsetStyle

The border of whitespace that shouldn't be drawn upon by this area. The indent, right indent, space before, and space after correspond to the right, left, top, and bottom properties, respectively, of the AWT Insets class.

Author:
jsheets

Method Summary
 int getIndent()
          Returns the left indent spacing of this area.
 java.awt.Insets getInsets()
          Returns an Insets object set to the values of all four InsetStyle properties, indent, rightIndent, spaceBefore, and spaceAfter.
 int getRightIndent()
          Returns the right indent spacing of this area.
 int getSpaceAfter()
          Returns the bottom indent spacing of this area.
 int getSpaceBefore()
          Returns the top indent spacing of this area.
 

Method Detail

getIndent

public int getIndent()
Returns the left indent spacing of this area.

Returns:
the left indent spacing

getRightIndent

public int getRightIndent()
Returns the right indent spacing of this area.

Returns:
the right indent spacing

getSpaceBefore

public int getSpaceBefore()
Returns the top indent spacing of this area.

Returns:
the top indent spacing

getSpaceAfter

public int getSpaceAfter()
Returns the bottom indent spacing of this area.

Returns:
the bottom indent spacing

getInsets

public java.awt.Insets getInsets()
Returns an Insets object set to the values of all four InsetStyle properties, indent, rightIndent, spaceBefore, and spaceAfter.

Returns:
an Insets object for this style