com.google.gwt.query.client.css.CSS Maven / Gradle / Ivy
/*
* Copyright 2011, The gwtquery team.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.google.gwt.query.client.css;
import com.google.gwt.dom.client.Style.Cursor;
import com.google.gwt.dom.client.Style.Display;
import com.google.gwt.dom.client.Style.FontStyle;
import com.google.gwt.dom.client.Style.FontWeight;
import com.google.gwt.dom.client.Style.ListStyleType;
import com.google.gwt.dom.client.Style.Overflow;
import com.google.gwt.dom.client.Style.Position;
import com.google.gwt.dom.client.Style.TextDecoration;
import com.google.gwt.dom.client.Style.VerticalAlign;
import com.google.gwt.dom.client.Style.Visibility;
import com.google.gwt.query.client.css.BackgroundAttachmentProperty.BackgroundAttachment;
import com.google.gwt.query.client.css.BackgroundPositionProperty.BackgroundPosition;
import com.google.gwt.query.client.css.BackgroundRepeatProperty.BackgroundRepeat;
import com.google.gwt.query.client.css.BorderCollapseProperty.BorderCollapse;
import com.google.gwt.query.client.css.BorderSpacingProperty.BorderSpacing;
import com.google.gwt.query.client.css.BorderStyleProperty.BorderStyle;
import com.google.gwt.query.client.css.BorderWidthProperty.BorderWidth;
import com.google.gwt.query.client.css.CaptionSideProperty.CaptionSide;
import com.google.gwt.query.client.css.ClearProperty.Clear;
import com.google.gwt.query.client.css.ClipProperty.Shape;
import com.google.gwt.query.client.css.DirectionProperty.Direction;
import com.google.gwt.query.client.css.EmptyCellsProperty.EmptyCells;
import com.google.gwt.query.client.css.FontSizeProperty.FontSize;
import com.google.gwt.query.client.css.FontVariantProperty.FontVariant;
import com.google.gwt.query.client.css.ListStylePositionProperty.ListStylePosition;
import com.google.gwt.query.client.css.MarginProperty.ShorthandMarginProperty;
import com.google.gwt.query.client.css.PaddingProperty.ShorthandPaddingProperty;
import com.google.gwt.query.client.css.TextAlignProperty.TextAlign;
import com.google.gwt.query.client.css.TextTransformProperty.TextTransform;
import com.google.gwt.query.client.css.UnicodeBidiProperty.UnicodeBidi;
import com.google.gwt.query.client.css.WhiteSpaceProperty.WhiteSpace;
/**
* This class lists all CSS properties.
*/
public class CSS {
/**
*
* The 'background' property is a shorthand property for setting the
* individual background properties (i.e., 'background-color',
* 'background-image', 'background-repeat',
* 'background-attachment' and 'background-position') at the
* same place in the style sheet.
*
*
* The 'background' property first sets all the individual background
* properties to their initial values, then assigns explicit values given in
* the declaration.
*
*/
public static BackgroundProperty BACKGROUND;
/**
*
* If a background image is specified, this property specifies whether it is
* fixed with regard to the viewport ('fixed') or scrolls along with
* the containing block ('scroll').
*
*
*
* This property can only take a {@link BackgroundAttachment} object as value.
*
*/
public static BackgroundAttachmentProperty BACKGROUND_ATTACHMENT;
/**
*
* This property sets the background color of an element, either a color value
* or the keyword 'transparent', to make the underlying colors shine through.
*
*
*
* This property can only take a {@link RGBColor} object as value.
*
*/
public static BackgroundColorProperty BACKGROUND_COLOR;
/**
*
* This property sets the background image of an element. When setting a
* background image, authors should also specify a background color that will
* be used when the image is unavailable. When the image is available, it is
* rendered on top of the background color. (Thus, the color is visible in the
* transparent parts of the image).
*
*
*
* This property takes a {@link UriValue} object as value.
*
*
*
*/
public static BackgroundImageProperty BACKGROUND_IMAGE;
/**
*
* If a background image has been specified, this property specifies its
* initial position.
*
*
*
* This property takes a {@link BackgroundPosition} object as value.
*
*
*/
public static BackgroundPositionProperty BACKGROUND_POSITION;
/**
*
* If a background image is specified, this property specifies whether the
* image is repeated (tiled), and how. All tiling covers the content and
* padding areas of a box
*
*
*
* This property takes a {@link BackgroundRepeat} object as value.
*
*
*/
public static BackgroundRepeatProperty BACKGROUND_REPEAT;
/**
*
* The border property is a shorthand property for setting the same
* width, color, and style for all four borders of a box. Unlike the shorthand
* margin and padding properties, the border property
* cannot set different values on the four borders. To do so, one or more of
* the other border properties must be used.
*
*
*/
public static BorderProperty BORDER;
/**
*
* The border-bottom property is a shorthand property for setting the
* width, style, and color of the bottom border of a box.
*
*
*/
public static BorderProperty BORDER_BOTTOM;
/**
*
* The border-bottom-color property specifies the color of the bottom
* border of a box.
*
*
*
* This property takes a {@link RGBColor} object as value.
*
*
*/
public static BorderColorProperty BORDER_BOTTOM_COLOR;
/**
*
* The border-bottom-style property specifies the line style of a box's
* bottom border (solid, double, dashed, etc.).
*
*
*
* This property takes a {@link BorderStyle} object as value.
*
*/
public static BorderStyleProperty BORDER_BOTTOM_STYLE;
/**
*
* The border-bottom-width property specifies the width of the bottom
* border of a box.
*
*
*
* This property takes a {@link BorderWidth} or a {@link Length} object as
* value.
*
*
*/
public static BorderWidthProperty BORDER_BOTTOM_WIDTH;
/**
*
* The border-collapse selects a table's border model.
*
*
*
* This property takes a {@link BorderCollapse} object as value.
*
*
*/
public static BorderCollapseProperty BORDER_COLLAPSE;
/**
*
* The border-color property specifies the color of the 4 borders of a
* box.
*
*
*
* This property takes a {@link RGBColor} object as value.
*
*
*/
public static BorderColorProperty BORDER_COLOR;
/**
*
* The border-left property is a shorthand property for setting the
* width, style, and color of the left border of a box.
*
*/
public static BorderProperty BORDER_LEFT;
/**
*
* The border-left-color property specifies the color of the left
* border of a box.
*
*
*
* This property takes a {@link RGBColor} object as value.
*
*
*/
public static BorderColorProperty BORDER_LEFT_COLOR;
/**
*
* The border-left-style property specifies the line style of a box's
* left border (solid, double, dashed, etc.).
*
*
*
* This property takes a {@link BorderStyle} object as value.
*
*
*/
public static BorderStyleProperty BORDER_LEFT_STYLE;
/**
*
* The border-left-width property specifies the width of the left
* border of a box.
*
*
*
* This property takes a {@link BorderWidth} or a {@link Length} object as
* value.
*
*
*/
public static BorderWidthProperty BORDER_LEFT_WIDTH;
/**
*
* The border-right property is a shorthand property for setting the
* width, style, and color of the right border of a box.
*
*
*/
public static BorderProperty BORDER_RIGHT;
/**
*
* The border-right-color property specifies the color of the right
* border of a box.
*
*
*
* This property takes a {@link RGBColor} object as value.
*
*
*/
public static BorderColorProperty BORDER_RIGHT_COLOR;
/**
*
* The border-right-style property specifies the line style of a box's
* right border (solid, double, dashed, etc.).
*
*
*
* This property takes a {@link BorderStyle} object as value.
*
*
*/
public static BorderStyleProperty BORDER_RIGHT_STYLE;
/**
*
* The border-right-width property specifies the width of the right
* border of a box.
*
*
*
* This property takes a {@link BorderWidth} or a {@link Length} object as
* value.
*
*
*/
public static BorderWidthProperty BORDER_RIGHT_WIDTH;
/**
*
* The border-spacing property specifies the distance that separates
* adjacent cell borders in a table context. If one length is specified, it
* gives both the horizontal and vertical spacing. If two are specified, the
* first gives the horizontal spacing and the second the vertical spacing.
* Lengths may not be negative.
*
*
*
* This property takes a {@link BorderSpacing} object as value.
*
*
*/
public static BorderSpacingProperty BORDER_SPACING;
/**
*
* The border-style property specifies the line style of the 4 borders
* of a box (solid, double, dashed, etc.).
*
*
*
* This property takes a {@link BorderStyle} object as value.
*
*
*/
public static BorderStyleProperty BORDER_STYLE;
/**
*
* The border-top property is a shorthand property for setting the
* width, style, and color of the top border of a box.
*
*
*/
public static BorderProperty BORDER_TOP;
/**
*
* The border-top-color property specifies the color of the top border
* of a box.
*
*
*
* This property takes a {@link RGBColor} object as value.
*
*
*/
public static BorderColorProperty BORDER_TOP_COLOR;
/**
*
* The border-top-style property specifies the line style of a box's
* top border (solid, double, dashed, etc.).
*
*
*
* This property takes a {@link BorderStyle} object as value.
*
*
*/
public static BorderStyleProperty BORDER_TOP_STYLE;
/**
*
* The border-top-width property specifies the width of the top border
* of a box.
*
*
*
* This property takes a {@link BorderWidth} or a {@link Length} object as
* value.
*
*
*/
public static BorderWidthProperty BORDER_TOP_WIDTH;
/**
*
* The border-width property specifies the width of the 4 border of a
* box.
*
*
*
* This property takes a {@link BorderWidth} or a {@link Length} object as
* value.
*
*
*/
public static BorderWidthProperty BORDER_WIDTH;
/**
*
* This property specifies how far a box's bottom content edge is offset above
* the bottom of the box's containing block.
*
*
* For absolutely positioned elements, the bottom property sets the bottom
* edge of an element to a unit above the bottom edge of its containing
* element.
*
*
* For relatively positioned elements,it sets the bottom edge of an element to
* a unit above its normal position.
*
*
* For static positioned elements, the bottom property has no effect.
*
*
*
* This property takes a {@link Length} object as value.
*
*
*/
public static EdgePositionProperty BOTTOM;
/**
*
* The caption-side property specifies the position of the caption box
* with respect to the table box.
*
*
*
* This property takes a {@link CaptionSide} object as value.
*
*
*/
public static CaptionSideProperty CAPTION_SIDE;
/**
*
* The clear property indicates which sides of an element's box(es) may
* not be adjacent to an earlier floating box. (It may be that the element
* itself has floating descendants; the clear property has no effect on
* those.)
*
*
*
* This property takes a {@link Clear} object as value.
*
*
*/
public static ClearProperty CLEAR;
/**
*
* A clipping region defines what portion of an element's rendered content is
* visible. By default, the clipping region has the same size and shape as the
* element's box(es). The clip property allows you to modify this
* cliping region by defining a shape.
*
*
* The clip property applies to elements that have a overflow
* property with a value other than visible.
*
*
* This property takes a {@link Shape} object as value.
*
*
*/
public static ClipProperty CLIP;
/**
*
* The color property describes the foreground color of an element's
* text content.
*
*
* This property takes a {@link RGBColor} object as value.
*
*/
public static ColorProperty COLOR;
/**
* @ *
*
* The cursor property specifies the type of cursor to be displayed for
* the pointing device
*
*
* This property takes a {@link Cursor} object as value.
*
*
*/
public static CursorProperty CURSOR;
/**
*
* The direction specifies the base writing direction of blocks and the
* direction of embeddings and overrides (see 'unicode-bidi') for the Unicode
* bidirectional algorithm. In addition, it specifies the direction of table
* column layout, the direction of horizontal overflow, and the position of an
* incomplete last line in a block in case of 'text-align: justify'.
*
*
* This property takes a {@link Direction} object as value.
*
*
*/
public static DirectionProperty DIRECTION;
/**
*
* This property takes a {@link UnicodeBidi} object as value.
*
*
*/
public static UnicodeBidiProperty UNICODE_BIDI;
/**
*
* The display property specifies the mechanism by which elements are
* rendered.
*
*
* This property takes a {@link Display} object as value.
*
*
*/
public static DisplayProperty DISPLAY;
/**
*
* In the separated borders model, The empty-cells/i> property controls the
* rendering of borders around cells that have no visible content. Empty cells
* and cells with the 'visibility' property set to 'hidden' are considered to
* have no visible content. Visible content includes " " and other
* whitespace except ASCII CR ("\0D"), LF ("\0A"), tab ("\09"), and space
* ("\20").
*
*
* When this property has the value show, borders are drawn around
* empty cells (like normal cells).
*
*
* A value of hide means that no borders are drawn around empty cells.
* Furthermore, if all the cells in a row have a value of hide and have
* no visible content, the entire row behaves as if it had display:
* none.
*
*
*
* This property takes a {@link EmptyCells} object as value.
*
*
*/
public static EmptyCellsProperty EMPTY_CELLS;
/**
*
* The float property specifies whether a box should float to the left,
* right, or not at all. It may be set for elements that generate boxes that
* are not absolutely positioned.
*
*
*
* This property takes a {@link Float} object as value.
*
*
*/
public static FloatProperty FLOAT;
/**
*
* The font-size property requests normal (sometimes referred to as
* "roman" or "upright"), italic, and oblique faces within a font family.
*
*
*
* This property takes a {@link FontSize} or a {@link Length} object as value.
*
*
*/
public static FontSizeProperty FONT_SIZE;
/**
*
* The font-style property requests normal (sometimes referred to as
* "roman" or "upright"), italic, and oblique faces within a font family.
*
*
*
* This property takes a {@link FontStyle} object as value.
*
*/
public static FontStyleProperty FONT_STYLE;
/**
*
* In a small-caps font, the glyphs for lowercase letters look similar to the
* uppercase ones, but in a smaller size and with slightly different
* proportions. The font-variant property requests such a font for
* bicameral (having two cases, as with Latin script). This property has no
* visible effect for scripts that are unicameral (having only one case, as
* with most of the world's writing systems).
*
*
*
* This property takes a {@link FontVariant} object as value.
*
*/
public static FontVariantProperty FONT_VARIANT;
/**
*
* The font-weight property specifies the weight of the font.
*
*
*
* This property takes a {@link FontWeight} object as value.
*
*
*/
public static FontWeightProperty FONT_WEIGHT;
/**
*
* The height property specifies the content height of boxes generated
* by block-level, inline-block and replaced elements.
*
*
* This property does not apply to non-replaced inline-level elements. See the
* section on computing heights and margins for non-replaced inline elements
* for the rules used instead.
*
*
*
* This property takes a {@link Length} object as value.
*
*
*/
public static HeightProperty HEIGHT;
/**
* CSS value specifying that the setting of the related property should be
* inherited from the parent element
*/
public static final String INHERIT = "inherit";
/**
*
* This property specifies how far a box's left content edge is offset to the
* right of the left edge of the box's containing block.
*
*
* For absolutely positioned elements, the left property sets the left edge of
* an element to a unit to the left/right of the left edge of its containing
* element.
*
*
* For relatively positioned elements, the left property sets the left edge of
* an element to a unit to the left/right to its normal position.
*
*
* For static positioned elements, the left property has no effect.
*
*
*
* This property takes a {@link Length} object as value.
*
*
*/
public static EdgePositionProperty LEFT;
/**
*
* The letter-spacing property specifies spacing behavior between text
* characters.
*
*
*
* This property takes a {@link Length} object as value.
*
*
*/
public static LetterSpacingProperty LETTER_SPACING;
/**
*
* If the property is set on a block-level element whose content is composed
* of inline-level elements, it specifies the minimal height of each generated
* inline box.
*
*
*
* If the property is set on an inline-level element, it specifies the exact
* height of each box generated by the element. (Except for inline replaced
* elements, where the height of the box is given by the height
* property.)
*
*
*
* This property takes a {@link Length} object or a {@link Integer} object or
* a {@link Double} object as value as value.
*
*/
public static LineHeightProperty LINE_HEIGHT;
/**
*
* The list-style property is a shorthand notation for setting the
* three properties list-style-type, list-style-image, and
* list-style-position at the same place in the style sheet.
*
*
*/
public static ListStyleProperty LIST_STYLE;
/**
*
* The list-style-image property sets the image that will be used as
* the list item marker. When the image is available, it will replace the
* marker set with the list-style-type marker.
*
*
*
* This property takes a {@link UriValue} object as value.
*
*
*/
public static ListStyleImageProperty LIST_STYLE_IMAGE;
/**
*
* The list-style-position property specifies the position of the
* marker box in the principal block box.
*
*
*
* This property takes a {@link ListStylePosition} object as value.
*
*
*/
public static ListStylePositionProperty LIST_STYLE_POSITION;
/**
*
* The list-style-type property specifies appearance of the list item
* marker if list-style-image has the value 'none' or if the image
* pointed to by the URI cannot be displayed. The value 'none' specifies no
* marker, otherwise there are three types of marker: glyphs, numbering
* systems, and alphabetic systems. Note. Numbered lists improve document
* accessibility by making lists easier to navigate.
*
*
*
* Glyphs are specified with disc, circle, and square. Their exact rendering
* depends on the user agent.
*
*
*
* This property takes a {@link ListStyleType} object as value.
*
*/
public static ListStyleTypeProperty LIST_STYLE_TYPE;
/**
*
* The margin property is a shorthand property for setting
* margin-top, margin-right, margin-bottom, and
* margin-left at the same place in the style sheet.
*
*
*
* If there is only one value, it applies to all sides. If there are two
* values, the top and bottom margins are set to the first value and the right
* and left margins are set to the second. If there are three values, the top
* is set to the first value, the left and right are set to the second, and
* the bottom is set to the third. If there are four values, they apply to the
* top, right, bottom, and left, respectively
*
*/
public static ShorthandMarginProperty MARGIN;
/**
*
* The margin-bottom property specifies the width of the margin area of
* the bottom of a box
*
*
*
* This property takes a {@link Length} object as value.
*
*
*/
public static MarginProperty MARGIN_BOTTOM;
/**
*
* The margin-left property specifies the width of the margin area of
* the left side of a box
*
*
*
* This property takes a {@link Length} object as value.
*
*
*/
public static MarginProperty MARGIN_LEFT;
/**
*
* The margin-right property specifies the width of the margin area of
* the right side of a box
*
*
*
* This property takes a {@link Length} object as value.
*
*
*/
public static MarginProperty MARGIN_RIGHT;
/**
*
* The margin-top property specifies the width of the margin area of
* the top of a box
*
*
*
* This property takes a {@link Length} object as value.
*
*/
public static MarginProperty MARGIN_TOP;
/**
*
* The max-height property sets the maximum height of an element.
*
*
*
* This property takes a {@link Length} object as value.
*
*/
public static HeightProperty MAX_HEIGHT;
/**
*
* The max-width property sets the maximum width of an element.
*
*
*
* This property takes a {@link Length} object as value.
*
*
*/
public static WidthProperty MAX_WIDTH;
/**
*
* The min-height property sets the minimum height of an element.
*
*
*
* This property takes a {@link Length} object as value.
*
*
*/
public static HeightProperty MIN_HEIGHT;
/**
*
* The max-width property sets the minimum width of an element.
*
*
*
* This property takes a {@link Length} object as value.
*
*/
public static WidthProperty MIN_WIDTH;
/**
*
* An outline is a line that is drawn around elements (outside the borders) to
* make the element "stand out".
*
*
* The outline shorthand property sets all the outline properties in one
* declaration.
*/
public static OutlineProperty OUTLINE;
/**
*
* An outline is a line that is drawn around elements (outside the borders) to
* make the element "stand out". The outline-color property specifies the
* color of an outline.
*
*
*
* This property takes a {@link RGBColor} object as value.
*
*/
public static OutlineColorProperty OUTLINE_COLOR;
/**
*
* An outline is a line that is drawn around elements (outside the borders) to
* make the element "stand out". The outline-color property specifies the
* style of an outline.
*
*
* This property takes a {@link BorderStyle} object as value.
*
*
*/
public static OutlineStyleProperty OUTLINE_STYLE;
/**
*
* An outline is a line that is drawn around elements (outside the borders) to
* make the element "stand out". The outline-width specifies the width of an
* outline
*
*
* This property takes a {@link BorderWidth} object as value.
*
*
*/
public static OutlineWidthProperty OUTLINE_WIDTH;
/**
*
* The overflow property specifies whether the content of a block-level
* element is clipped when it overflows the element's box (which is acting as
* a containing block for the content).
*
*
*
* This property takes a {@link Overflow} object as value.
*
*
*/
public static OverflowProperty OVERFLOW;
/**
*
* The padding property is a shorthand property for setting
* padding-top, padding-right, padding-bottom, and
* padding-left at the same place in the style sheet.
*
*
*
* If there is only one component value, it applies to all sides. If there are
* two values, the top and bottom paddings are set to the first value and the
* right and left paddings are set to the second. If there are three values,
* the top is set to the first value, the left and right are set to the
* second, and the bottom is set to the third. If there are four values, they
* apply to the top, right, bottom, and left, respectively.
*
*
*/
public static ShorthandPaddingProperty PADDING;
/**
*
* The padding-bottom property specifies the width of the padding area
* of the bottom of a box
*
*
*
* This property takes a {@link Length} object as value.
*
*
*/
public static PaddingProperty PADDING_BOTTOM;
/**
*
* The padding-left property specifies the width of the padding area of
* the left side of a box
*
*
*
* This property takes a {@link Length} object as value.
*
*
*/
public static PaddingProperty PADDING_LEFT;
/**
*
* The padding-right property specifies the width of the padding area
* of the right side of a box
*
*
*
* This property takes a {@link Length} object as value.
*
*
*/
public static PaddingProperty PADDING_RIGHT;
/**
*
* The padding-top property specifies the width of the padding area of
* the top of a box
*
*
*
* This property takes a {@link Length} object as value.
*
*
*/
public static PaddingProperty PADDING_TOP;
/**
*
* The position property determines which of the CSS2 positioning
* algorithms is used to calculate the position of a box.
*
*
*
* This property takes a {@link Position} object as value.
*
*
*/
public static PositionProperty POSITION;
/**
*
* This property specifies how far a box's right content edge is offset to the
* left of the right edge of the box's containing block.
*
*
* For absolutely positioned elements, the right property sets the right edge
* of an element to a unit to the left/right of the right edge of its
* containing element.
*
*
* For relatively positioned elements, the right property sets the right edge
* of an element to a unit to the left/right to its normal position.
*
*
* For static positioned elements, the right property has no effect.
*
*
*
* This property takes a {@link Length} object as value.
*
*/
public static EdgePositionProperty RIGHT;
/**
*
* The text-align property describes how inline-level content of a
* block container is aligned.
*
*
*
* This property takes a {@link TextAlign} object as value.
*
*
*/
public static TextAlignProperty TEXT_ALIGN;
/**
*
* The text-decoration property describes decorations that are added to
* the text of an element using the element's color. When specified on or
* propagated to an inline element, it affects all the boxes generated by that
* element, and is further propagated to any in-flow block-level boxes that
* split the inline. For block containers that establish an inline formatting
* context, the decorations are propagated to an anonymous inline element that
* wraps all the in-flow inline-level children of the block container. For all
* other elements it is propagated to any in-flow children. Note that text
* decorations are not propagated to floating and absolutely positioned
* descendants, nor to the contents of atomic inline-level descendants such as
* inline blocks and inline tables.
*
*
* Underlines, overlines, and line-throughs are applied only to text
* (including white space, letter spacing, and word spacing): margins,
* borders, and padding are skipped. User agents must not render these text
* decorations on content that is not text. For example, images and inline
* blocks must not be underlined.
*
*
*
* This property takes a {@link TextDecoration} object as value.
*
*/
public static TextDecorationProperty TEXT_DECORATION;
/**
*
* The text-ident property specifies the indentation of the first line
* of text in a block container. More precisely, it specifies the indentation
* of the first box that flows into the block's first line box. The box is
* indented with respect to the left (or right, for right-to-left layout) edge
* of the line box. User agents must render this indentation as blank space.
*
*
*
* Text-ident only affects a line if it is the first formatted line of
* an element. For example, the first line of an anonymous block box is only
* affected if it is the first child of its parent element.
*
*
*
* This property takes a {@link Length} object as value.
*
*/
public static TextIdentProperty TEXT_IDENT;
/**
*
* The text-transform property controls capitalization effects of an
* element's text.
*
*
* This property takes a {@link TextTransform} object as value.
*
*
*/
public static TextTransformProperty TEXT_TRANSFORM;
/**
*
* This property specifies how far a box's top content edge is offset below
* the top edge of the box's containing block.
*
*
* For absolutely positioned elements, the top property sets the top edge of
* an element to a unit above/below the top edge of its containing element.
*
*
* For relatively positioned elements, the top property sets the top edge of
* an element to a unit above/below its normal position.
*
*
* For static positioned elements, the top property has no effect.
*
*
*
* This property takes a {@link Length} object as value.
*
*
*/
public static EdgePositionProperty TOP;
/**
*
* The vertical-align property affects the vertical positioning inside
* a line box of the boxes generated by an inline-level element.
*
*
*
* This property takes a {@link VerticalAlign} object as value.
*
*
*/
public static VerticalAlignProperty VERTICAL_ALIGN;
/**
*
* The visibility property specifies whether the boxes generated by an
* element are rendered. Invisible boxes still affect layout (set the
* display property to none to suppress box generation
* altogether).
*
*
*
* This property takes a {@link Visibility} object as value.
*
*
*/
public static VisibilityProperty VISIBILITY;
/**
*
* The white-space property declares how white space inside the element
* is handled
*
*
* Newlines in the source can be represented by a carriage return (U+000D), a
* linefeed (U+000A) or both (U+000D U+000A) or by some other mechanism that
* identifies the beginning and end of document segments, such as the SGML
* RECORD-START and RECORD-END tokens. The CSS 'white-space' processing model
* assumes all newlines have been normalized to line feeds. UAs that recognize
* other newline representations must apply the white space processing rules
* as if this normalization has taken place. If no newline rules are specified
* for the document language, each carriage return (U+000D) and CRLF sequence
* (U+000D U+000A) in the document text is treated as single line feed
* character. This default normalization rule also applies to generated
* content.
*
*
* This property takes a {@link WhiteSpace} object as value.
*
*
*/
public static WhiteSpaceProperty WHITE_SPACE;
/**
*
* This property specifies the content width of boxes generated by block-level
* and replaced elements.
*
*
* This property does not apply to non-replaced inline-level elements. The
* content width of a non-replaced inline element's boxes is that of the
* rendered content within them (before any relative offset of children).
* Recall that inline boxes flow into line boxes. The width of line boxes is
* given by the their containing block, but may be shorted by the presence of
* floats.
*
*
*
* The width of a replaced element's box is intrinsic and may be scaled by the
* user agent if the value of this property is different than auto.
*
*
* This property takes a {@link Length} object as value.
*
*/
public static WidthProperty WIDTH;
/**
*
* The word-spacing property specifies spacing behavior between words.
*
*
* Word spacing algorithms are user agent-dependent. Word spacing is also
* influenced by justification (see the text-align property). Word
* spacing affects each space (U+0020) and non-breaking space (U+00A0), left
* in the text after the white space processing rules have been applied. The
* effect of the property on other word-separator characters is undefined.
* However general punctuation, characters with zero advance width (such as
* the zero with space U+200B) and fixed-width spaces (such as U+3000 and
* U+2000 through U+200A) are not affected.
*
*
* This property takes a {@link Length} object as value.
*
*
*/
public static WordSpacingProperty WORD_SPACING;
/**
*
* For a positioned box, the i>z-index property specifies:
*
* - The stack level of the box in the current stacking context.
* - Whether the box establishes a local stacking context.
*
*
*
*
*
* This property takes a {@link Integer} object as value.
*
*
*/
public static ZIndexProperty ZINDEX;
static {
BackgroundProperty.init();
BorderProperty.init();
BorderCollapseProperty.init();
BorderSpacingProperty.init();
CaptionSideProperty.init();
ColorProperty.init();
CursorProperty.init();
ClearProperty.init();
ClipProperty.init();
DisplayProperty.init();
EdgePositionProperty.init();
EmptyCellsProperty.init();
FloatProperty.init();
FontStyleProperty.init();
FontVariantProperty.init();
FontWeightProperty.init();
FontSizeProperty.init();
HeightProperty.init();
LetterSpacingProperty.init();
LineHeightProperty.init();
ListStyleProperty.init();
MarginProperty.init();
OutlineProperty.init();
OverflowProperty.init();
PaddingProperty.init();
PositionProperty.init();
TextAlignProperty.init();
TextDecorationProperty.init();
TextIdentProperty.init();
TextTransformProperty.init();
UnicodeBidiProperty.init();
VerticalAlignProperty.init();
VisibilityProperty.init();
WidthProperty.init();
WhiteSpaceProperty.init();
WordSpacingProperty.init();
ZIndexProperty.init();
}
}