Class EmptyBoxDefinition
- java.lang.Object
-
- org.jfree.layouting.renderer.model.EmptyBoxDefinition
-
- All Implemented Interfaces:
BoxDefinition
public final class EmptyBoxDefinition extends java.lang.Object implements BoxDefinition
Creation-Date: 15.06.2006, 17:10:27- Author:
- Thomas Morgner
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CSSColorValue
getBackgroundColor()
Border
getBorder()
static EmptyBoxDefinition
getInstance()
RenderLength
getMarginBottom()
RenderLength
getMarginLeft()
RenderLength
getMarginRight()
RenderLength
getMarginTop()
RenderLength
getMaximumHeight()
RenderLength
getMaximumWidth()
RenderLength
getMinimumHeight()
RenderLength
getMinimumWidth()
RenderLength
getPaddingBottom()
RenderLength
getPaddingLeft()
RenderLength
getPaddingRight()
RenderLength
getPaddingTop()
RenderLength
getPreferredHeight()
The preferred size is only set, if a height has been explicitly defined.RenderLength
getPreferredWidth()
The preferred size is only set, if a width has been explicitly defined.boolean
isEmpty()
BoxDefinition[]
split(int axis)
-
-
-
Method Detail
-
getInstance
public static EmptyBoxDefinition getInstance()
-
getMarginTop
public RenderLength getMarginTop()
- Specified by:
getMarginTop
in interfaceBoxDefinition
-
getMarginBottom
public RenderLength getMarginBottom()
- Specified by:
getMarginBottom
in interfaceBoxDefinition
-
getMarginLeft
public RenderLength getMarginLeft()
- Specified by:
getMarginLeft
in interfaceBoxDefinition
-
getMarginRight
public RenderLength getMarginRight()
- Specified by:
getMarginRight
in interfaceBoxDefinition
-
getPaddingTop
public RenderLength getPaddingTop()
- Specified by:
getPaddingTop
in interfaceBoxDefinition
-
getPaddingLeft
public RenderLength getPaddingLeft()
- Specified by:
getPaddingLeft
in interfaceBoxDefinition
-
getPaddingBottom
public RenderLength getPaddingBottom()
- Specified by:
getPaddingBottom
in interfaceBoxDefinition
-
getPaddingRight
public RenderLength getPaddingRight()
- Specified by:
getPaddingRight
in interfaceBoxDefinition
-
getBorder
public Border getBorder()
- Specified by:
getBorder
in interfaceBoxDefinition
-
getMinimumWidth
public RenderLength getMinimumWidth()
- Specified by:
getMinimumWidth
in interfaceBoxDefinition
-
getMinimumHeight
public RenderLength getMinimumHeight()
- Specified by:
getMinimumHeight
in interfaceBoxDefinition
-
getMaximumWidth
public RenderLength getMaximumWidth()
- Specified by:
getMaximumWidth
in interfaceBoxDefinition
-
getMaximumHeight
public RenderLength getMaximumHeight()
- Specified by:
getMaximumHeight
in interfaceBoxDefinition
-
getPreferredWidth
public RenderLength getPreferredWidth()
Description copied from interface:BoxDefinition
The preferred size is only set, if a width has been explicitly defined.- Specified by:
getPreferredWidth
in interfaceBoxDefinition
- Returns:
-
getPreferredHeight
public RenderLength getPreferredHeight()
Description copied from interface:BoxDefinition
The preferred size is only set, if a height has been explicitly defined.- Specified by:
getPreferredHeight
in interfaceBoxDefinition
- Returns:
-
split
public BoxDefinition[] split(int axis)
- Specified by:
split
in interfaceBoxDefinition
-
getBackgroundColor
public CSSColorValue getBackgroundColor()
- Specified by:
getBackgroundColor
in interfaceBoxDefinition
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceBoxDefinition
-
-