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

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

public interface ExtentStyle

The requested geometrical size of an area. The preferred extents should be followed if possible, but the minimum and maximum extents allow for flexibility. The minimum or maximum extents should be respected if at all possible.

Author:
jsheets

Method Summary
 java.awt.Dimension getMaximum()
          Returns the maximum geometrical extents of this area.
 java.awt.Dimension getMinimum()
          Returns the minimum geometrical extents of this area.
 java.awt.Dimension getPreferred()
          Returns the preferred geometrical extents of this area.
 

Method Detail

getPreferred

public java.awt.Dimension getPreferred()
Returns the preferred geometrical extents of this area. These extents should be followed if possible, but can be ignored if necessary.

Returns:
the preferred extents

getMinimum

public java.awt.Dimension getMinimum()
Returns the minimum geometrical extents of this area. These extents should be followed at all costs, even if clipping or overflow occurs because of it.

Returns:
the minimum extents

getMaximum

public java.awt.Dimension getMaximum()
Returns the maximum geometrical extents of this area. These extents should be followed at all costs, even if clipping or overflow occurs because of it.

Returns:
the maximum extents