org.jfree.layouting.input.style.keys.box
Class BoxStyleKeys
public
class
BoxStyleKeys
extends Object
http://www.w3.org/TR/css3-box/
Creation-Date: 27.10.2005, 21:12:57
Author: Thomas Morgner
public static final
StyleKey BOX_VERTICAL_ALIGN
Page 664 of the OpenOffice file format specs:
(This is a similiar effect as the table-cell alignment)
Possible values: top, middle, bottom, justify
public static final
StyleKey CLEAR_AFTER
We alter the semantics a bit. When crop is computed, absolute values are
used. Inset-Rect is voodoo, so ignore it for now.
public static final
StyleKey DISPLAY_MODEL
The 'display-model' property determines the algorithm with which an element
lays out its children.
public static final
StyleKey DISPLAY_ROLE
'display-role' specifies what role an element has in its parent's
algorithm.
public static final
StyleKey FIT_POSITION
A pair of values.
public static final
StyleKey FLOAT_DISPLACE
These values may be auto.
public static final
StyleKey INDENT_EDGE_RESET
public static final
StyleKey MARGIN_BOTTOM
public static final
StyleKey MARGIN_LEFT
public static final
StyleKey MARGIN_RIGHT
These properties set the thickness of the margin. The value may be
negative, but the UA may impose a lower bound.
'Margin' is a shorthand to set top, right, bottom and left together. If
four values are given, they set top, right, bottom and left in that order.
If left is omitted, it is the same as right. If bottom is omitted, it is
the same as top. If right is omitted it is the same as top.
The meaning of 'auto' on 'margin-left' '-right', '-top' and '-bottom' is as
follows:
on floating and inline-level elements, 'auto' is equal to 0 on positioned
elements: see the positioning module[ref] on normal-flow elements, if the
containing block is horizontal: o 'auto' on 'margin-top' and
'margin-bottom' is equal to 0 o on 'margin-right' and 'margin-left': see
equation (1) below on normal-flow elements, if the containing block is
vertical : o 'auto' on 'margin-right' and 'margin-left' is equal to 0 o on
'margin-top' and 'margin-bottom': see equation (1) below
Margins must satisfy certain constraints, which means that the computed
value may be different from the specified value. See equation (1) below.
Note that in a horizontal flow, percentages on 'margin-top' and
'margin-bottom' are relative to the width of the containing block, not the
height (and in vertical flow, 'margin-left' and 'margin-right' are relative
to the height, not the width).
Note that 'margin-top' and 'margin-bottom' do not apply to non-replaced,
inline elements (in horizontal flow); see [CSS3LINE].
public static final
StyleKey OVERFLOW_CLIP
The plain overflow behaviour can be constructed using these both properties.
public static final
StyleKey PADDING_BOTTOM
public static final
StyleKey PADDING_LEFT
public static final
StyleKey PADDING_RIGHT
public static final
StyleKey PADDING_TOP
Set the padding around the content of a box. Padding is between content and
border. Background expands over the padding up to the border.
Values given may not be negative. If percentages are given, all paddings
are relative to the
width of the parent (if the flow is
horizontal, else the height is used).
The Marquee-Property set is not used. Scrolling or animations are useless
when printing.
These values may be auto.