* <p>
* This property can only take a {@link RGBColor} object as value.
* </p>
- * <h3>Examples:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.BACKGROUND_COLOR, RGBColor.AQUA);
- * $("#myId2").css(CSS.BACKGROUND_COLOR, RGBColor.rgb("#112233"));
- * $("#myId3").css(CSS.BACKGROUND_COLOR, RGBColor.rgb((35, 45, 55));
- * </pre>
- *
*/
public static BackgroundColorProperty BACKGROUND_COLOR;
* This property takes a {@link UriValue} object as value.
* </p>
*
- * <h3>Examples:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.BACKGROUND_IMAGE, ImageValue.url("image.jpg"));
- * $("#myId2").css(CSS.BACKGROUND_IMAGE, ImageValue.NONE);
- * </pre>
*
*/
public static BackgroundImageProperty BACKGROUND_IMAGE;
public static ColorProperty COLOR;
/**
+ * @ *
* <p>
* The <i>cursor</i> property specifies the type of cursor to be displayed for
* the pointing device
* This property takes a {@link Direction} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * // set the direction property to the element with id 'myId'
- * $("#myId").css(CSS.DIRECTION, DIRECTION.RTL);
- * // retrieve the direction property of the element with id 'myId'
- * String direction = $("#myId").css(CSS.DIRECTION);
- *
- * </pre>
*/
public static DirectionProperty DIRECTION;
* This property takes a {@link UnicodeBidi} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * // set the display property to the element with id 'myId'
- * $("#myId").css(CSS.DISPLAY, Display.INLINE);
- * // retrieve the display property of the element with id 'myId'
- * String display = $("#myId").css(CSS.DISPLAY);
- *
- * </pre>
*/
public static UnicodeBidiProperty UNICODE_BIDI;
* This property takes a {@link Display} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * // set the display property to the element with id 'myId'
- * $("#myId").css(CSS.DISPLAY, Display.INLINE);
- * // retrieve the display property of the element with id 'myId'
- * String display = $("#myId").css(CSS.DISPLAY);
- *
- * </pre>
*/
public static DisplayProperty DISPLAY;
* This property takes a {@link EmptyCells} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * // set the empty-cells property to the element with id 'myId'
- * $("#myId").css(CSS.EMPTY_CELLS, EmptyCells.HIDE);
- * </pre>
*/
public static EmptyCellsProperty EMPTY_CELLS;
* This property takes a {@link Float} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.FLOAT, Float.LEFT);
- * </pre>
*/
public static FloatProperty FLOAT;
* This property takes a {@link FontSize} or a {@link Length} object as value.
* </p>
*
- * <h3>Examples:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.FONT_SIZE, FontSize.X_LARGE);
- * $("#myId").css(CSS.FONT_SIZE, Length.px(16));
- * </pre>
*/
public static FontSizeProperty FONT_SIZE;
* <p>
* This property takes a {@link FontStyle} object as value.
* </p>
- *
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.FONT_STYLE, FontStyle.ITALIC);
- * </pre>
*/
public static FontStyleProperty FONT_STYLE;
* <p>
* This property takes a {@link FontVariant} object as value.
* </p>
- *
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.FONT_VARIANT, FontVariant.SMALL_CAPS);
- * </pre>
*/
public static FontVariantProperty FONT_VARIANT;
* This property takes a {@link FontWeight} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.FONT_WEIGHT, FontWeight.BOLD);
- * </pre>
*/
public static FontWeightProperty FONT_WEIGHT;
* This property takes a {@link Length} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.HEIGHT, Length.px(10))
- * </pre>
*/
public static HeightProperty HEIGHT;
* This property takes a {@link Length} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.LEFT,Length.px(20));
- * </pre>
*/
public static EdgePositionProperty LEFT;
* This property takes a {@link Length} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.LETTER_SPACING, Length.px(3));
- * </pre>
*/
public static LetterSpacingProperty LETTER_SPACING;
* </p>
*
* <p>
- * This property takes a {@link Length} object or a {@link CssNumber} object
- * as value.
+ * This property takes a {@link Length} object or a {@link Integer} object or
+ * a {@link Double} object as value as value.
* </p>
- *
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.LINE_HEIGHT, Length.px(15));
- * $("#myId").css(CSS.LINE_HEIGHT, new CssNumber(2));
- * </pre>
*/
public static LineHeightProperty LINE_HEIGHT;
* <i>list-style-position</i> at the same place in the style sheet.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.LIST_STYLE, ListStyleType.DISC,ListStylePosition.OUTSIDE, ImageValue.NONE);
- * </pre>
*/
public static ListStyleProperty LIST_STYLE;
* This property takes a {@link UriValue} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.LIST_STYLE_IMAGE, ImageValue.url("arrow.jpg"));
- * </pre>
*/
public static ListStyleImageProperty LIST_STYLE_IMAGE;
* This property takes a {@link ListStylePosition} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.LIST_STYLE_POSITION, ListStylePosition.OUTSIDE);
- * </pre>
*/
public static ListStylePositionProperty LIST_STYLE_POSITION;
* <p>
* This property takes a {@link ListStyleType} object as value.
* </p>
- *
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.LIST_STYLE_TYPE, ListStyleType.DISC);
- * </pre>
*/
public static ListStyleTypeProperty LIST_STYLE_TYPE;
* the bottom is set to the third. If there are four values, they apply to the
* top, right, bottom, and left, respectively
* </p>
- *
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * // set margin-top and margin-bottom to 10px and margin-left and margin-right to 20px
- * $("#myId").css(CSS.MARGIN, Length.px(10), Length.px(20), null, null);
- * // set margin-top to 10px, margin-right to 20px and margin-bottom to 30px and margin-right to 40px
- * $("#myId").css(CSS.MARGIN, Length.px(10), Length.px(20), Length.px(30), Length.px(40));
- * </pre>
*/
public static ShorthandMarginProperty MARGIN;
* This property takes a {@link Length} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.MARGIN_BOTTOM, Length.px(30));
- * </pre>
*/
public static MarginProperty MARGIN_BOTTOM;
* This property takes a {@link Length} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.MARGIN_LEFT, Length.px(30));
- * </pre>
*/
public static MarginProperty MARGIN_LEFT;
* This property takes a {@link Length} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.MARGIN_RIGHT, Length.px(30));
- * </pre>
*/
public static MarginProperty MARGIN_RIGHT;
* <p>
* This property takes a {@link Length} object as value.
* </p>
- *
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.MARGIN_TOP, Length.px(30));
- * </pre>
*/
public static MarginProperty MARGIN_TOP;
* <p>
* This property takes a {@link Length} object as value.
* </p>
- *
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.MAX_HEIGHT, Length.px(15));
- * </pre>
*/
public static HeightProperty MAX_HEIGHT;
* This property takes a {@link Length} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.MAX_WIDTH, Length.px(100));
- * </pre>
*/
public static WidthProperty MAX_WIDTH;
* This property takes a {@link Length} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.MIN_HEIGHT, Length.px(15));
- * </pre>
*/
public static HeightProperty MIN_HEIGHT;
* <p>
* This property takes a {@link Length} object as value.
* </p>
- *
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.MIN_WIDTH, Length.px(15));
- * </pre>
*/
public static WidthProperty MIN_WIDTH;
* </p>
* The outline shorthand property sets all the outline properties in one
* declaration. </p>
- *
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.OUTLINE, RGBColor.BLACK, LineStyle.DASHED, LineWidth.length(15, Unit.PX));
- * </pre>
*/
public static OutlineProperty OUTLINE;
* <p>
* This property takes a {@link RGBColor} object as value.
* </p>
- *
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.OUTLINE_COLOR, RGBColor.GRAY);
- * </pre>
*/
public static OutlineColorProperty OUTLINE_COLOR;
* This property takes a {@link BorderStyle} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.OUTLINE_STYLE, LineStyle.DOTTED);
- * </pre>
*/
public static OutlineStyleProperty OUTLINE_STYLE;
* This property takes a {@link BorderWidth} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.OUTLINE_WIDTH, LineWidth.MEDIUM);
- * </pre>
- *
*/
public static OutlineWidthProperty OUTLINE_WIDTH;
* This property takes a {@link Overflow} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.OVERFLOW, Overflow.HIDDEN);
- * </pre>
*/
public static OverflowProperty OVERFLOW;
* apply to the top, right, bottom, and left, respectively.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * // set padding-top and padding-bottom to 10px and padding-left and padding-right to 20px
- * $("#myId").css(CSS.PADDING, Length.px(10), Length.px(20), null, null);
- * // set padding-top to 10px, padding-right to 20px and padding-bottom to 30px and padding-right to 40px
- * $("#myId").css(CSS.PADDING, Length.px(10), Length.px(20), Length.px(30), Length.px(40));
- * </pre>
*/
public static ShorthandPaddingProperty PADDING;
* This property takes a {@link Length} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.PADDING_BOTTOM, Length.px(30));
- * </pre>
*/
public static PaddingProperty PADDING_BOTTOM;
* This property takes a {@link Length} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.PADDING_LEFT, Length.px(30));
- * </pre>
*/
public static PaddingProperty PADDING_LEFT;
* This property takes a {@link Length} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.PADDING_RIGHT, Length.px(30));
- * </pre>
*/
public static PaddingProperty PADDING_RIGHT;
* This property takes a {@link Length} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.PADDING_TOP, Length.px(30));
- * </pre>
*/
public static PaddingProperty PADDING_TOP;
* This property takes a {@link Position} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.POSITION, Position.ABSOLUTE);
- * </pre>
*/
public static PositionProperty POSITION;
* <p>
* This property takes a {@link Length} object as value.
* </p>
- *
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.RIGHT,Length.px(20));
- * </pre>
*/
public static EdgePositionProperty RIGHT;
* This property takes a {@link TextAlign} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.TEXT_ALIGN, TextAlign.CENTER);
- * </pre>
*/
public static TextAlignProperty TEXT_ALIGN;
* <p>
* This property takes a {@link TextDecoration} object as value.
* </p>
- *
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.TEXT_DECORATION, TextDecoration.LINE_THROUGH);
- * </pre>
*/
public static TextDecorationProperty TEXT_DECORATION;
* <p>
* This property takes a {@link Length} object as value.
* </p>
- *
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.TEXT_IDENT, Length.px(15));
- * </pre>
*/
public static TextIdentProperty TEXT_IDENT;
* This property takes a {@link TextTransform} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.TEXT_TRANSFORM, TextTransform.UPPERCASE);
- * </pre>
*/
public static TextTransformProperty TEXT_TRANSFORM;
* This property takes a {@link Length} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.TOP,Length.px(20));
- * </pre>
*/
public static EdgePositionProperty TOP;
* This property takes a {@link VerticalAlign} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.VERTICAL_ALIGN, VerticalAlign.BOTTOM);
- * </pre>
*/
public static VerticalAlignProperty VERTICAL_ALIGN;
* This property takes a {@link Visibility} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.VISIBILITY, Visibility.HIDDEN);
- * </pre>
*/
public static VisibilityProperty VISIBILITY;
* This property takes a {@link WhiteSpace} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.WHITE_SPACE, WhiteSpace.NOWRAP);
- * </pre>
*/
public static WhiteSpaceProperty WHITE_SPACE;
* <p>
* This property takes a {@link Length} object as value.
* </p>
- *
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.WIDTH, Length.px(100))
- * </pre>
*/
public static WidthProperty WIDTH;
* This property takes a {@link Length} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.WORD_SPACING, Length.pt(2));
- * </pre>
*/
public static WordSpacingProperty WORD_SPACING;
* </p>
*
* <p>
- * This property takes a {@link CssNumber} object as value.
+ * This property takes a {@link Integer} object as value.
* </p>
*
- * <h3>Example:</h3>
- *
- * <pre class="code">
- * $("#myId").css(CSS.ZINDEX, new CssNumber(1000));
- * </pre>
*/
public static ZIndexProperty ZINDEX;