|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jclientpages.page.dom.ClientPageNodeStyle
public class ClientPageNodeStyle
This class represents the style of a DOM node.
Contains methods to get and set style properties of the corresponding DOM node
and constants for supported style properties (comments from www.w3schools.com)
| Field Summary | |
|---|---|
static java.lang.String |
BACKGROUND
Sets all background properties in one IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BACKGROUND_ATTACHMENT
Sets whether a background-image is fixed or scrolls with the page IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BACKGROUND_COLOR
Sets the background-color of an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BACKGROUND_IMAGE
Sets the background-image of an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BACKGROUND_POSITION
Sets the starting position of a background-image IE: 4 FF: No O: No W3C: Yes |
static java.lang.String |
BACKGROUND_POSITION_X
Sets the x-coordinates of the backgroundPosition property IE: 4 FF: No O: No W3C: No |
static java.lang.String |
BACKGROUND_POSITION_Y
Sets the y-coordinates of the backgroundPosition property IE: 4 FF: No O: No W3C: No |
static java.lang.String |
BACKGROUND_REPEAT
Sets if/how a background-image will be repeated IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER
Sets all properties for the four borders in one IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_BOTTOM
Sets all properties for the bottom border in one IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_BOTTOM_COLOR
Sets the color of the bottom border IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_BOTTOM_STYLE
Sets the style of the bottom border IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_BOTTOM_WIDTH
Sets the width of the bottom border IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_COLLAPSE
Sets whether the table border are collapsed into a single border or detached as in standard HTML IE: 5 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_COLOR
Sets the color of all four borders (can have up to four colors) IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_LEFT
Sets all properties for the left border in one IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_LEFT_COLOR
Sets the color of the left border IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_LEFT_STYLE
Sets the style of the left border IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_LEFT_WIDTH
Sets the width of the left border IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_RIGHT
Sets all properties for the right border in one IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_RIGHT_COLOR
Sets the color of the right border IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_RIGHT_STYLE
Sets the style of the right border IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_RIGHT_WIDTH
Sets the width of the right border IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_SPACING
Sets the distance that separates cell borders IE: 5M FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_STYLE
Sets the style of all four borders (can have up to four styles) IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_TOP
Sets all properties for the top border in one IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_TOP_COLOR
Sets the color of the top border IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_TOP_STYLE
Sets the style of the top border IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_TOP_WIDTH
Sets the width of the top border IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BORDER_WIDTH
Sets the width of all four borders (can have up to four widths) IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
BOTTOM
Sets how far the bottom edge of an element is above/below the bottom edge of the parent element IE: 5 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
CAPTION_SIDE
Sets the position of the table caption IE: 5M FF: No O: No W3C: Yes |
static java.lang.String |
CLEAR
Sets on which sides of an element other floating elements are not allowed IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
CLIP
Sets the shape of an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
COLOR
Sets the color of the text IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
CONTENT
Sets meta-information IE: 5M FF: 1 O: - W3C: Yes |
static java.lang.String |
COUNTER_INCREMENT
Sets a list of counter names, followed by an integer. |
static java.lang.String |
COUNTER_RESET
Sets a list of counter names, followed by an integer. |
static java.lang.String |
CSS_FLOAT
Sets where an image or a text will appear (float) in another element IE: 5M FF: 1 O: 9 W3C: Yes |
static java.lang.String |
CSS_TEXT
IE: 4 FF: 1 O: W3C: |
static java.lang.String |
CURSOR
Sets the type of cursor to be displayed IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
DIR
Sets or returns the direction of text IE: 5 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
DIRECTION
Sets the text direction of an element IE: 5 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
DISPLAY
Sets how an element will be displayed IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
EMPTY_CELLS
Sets whether or not to show empty cells in a table IE: 5M FF: 1 O: 9 W3C: Yes |
static java.lang.String |
FONT
Sets all font properties in one IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
FONT_FAMILY
Sets the font of an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
FONT_SIZE
Sets the font-size of an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
FONT_SIZE_ADJUST
Sets/adjusts the size of a text IE: 5M FF: 1 O: No W3C: Yes |
static java.lang.String |
FONT_STRETCH
Sets how to condense or stretch a font IE: 5M FF: No O: No W3C: Yes |
static java.lang.String |
FONT_STYLE
Sets the font-style of an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
FONT_VARIANT
Displays text in a small-caps font IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
FONT_WEIGHT
Sets the boldness of the font IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
HEIGHT
Sets the height of an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
LANG
Sets or returns the language code for an element IE: 5 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
LEFT
Sets how far the left edge of an element is to the right/left of the left edge of the parent element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
LETTER_SPACING
Sets the space between characters IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
LINE_HEIGHT
Sets the distance between lines IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
LIST_STYLE
Sets all the properties for a list in one IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
LIST_STYLE_IMAGE
Sets an image as the list-item marker IE: 4 FF: 1 O: No W3C: Yes |
static java.lang.String |
LIST_STYLE_POSITION
Positions the list-item marker IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
LIST_STYLE_TYPE
Sets the list-item marker type IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
MARGIN
Sets the margins of an element (can have up to four values) IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
MARGIN_BOTTOM
Sets the bottom margin of an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
MARGIN_LEFT
Sets the left margin of an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
MARGIN_RIGHT
Sets the right margin of an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
MARGIN_TOP
Sets the top margin of an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
MARKER_OFFSET
Sets the distance between the nearest border edges of a marker box and its principal box IE: 5M FF: 1 O: W3C: Yes |
static java.lang.String |
MARKS
Sets whether cross marks or crop marks should be rendered just outside the page box edge IE: 5M FF: 1 O: W3C: Yes |
static java.lang.String |
MAX_HEIGHT
Sets the maximum height of an element IE: 5M FF: 1 O: 9 W3C: Yes |
static java.lang.String |
MAX_WIDTH
Sets the maximum width of an element IE: 5M FF: 1 O: 9 W3C: Yes |
static java.lang.String |
MIN_HEIGHT
Sets the minimum height of an element IE: 5M FF: 1 O: 9 W3C: Yes |
static java.lang.String |
MIN_WIDTH
Sets the minimum width of an element IE: 5M FF: 1 O: 9 W3C: Yes |
static java.lang.String |
ORPHANS
Sets the minimum number of lines for a paragraph that must be left at the bottom of a page IE: 5M FF: 1 O: 9 W3C: Yes |
static java.lang.String |
OUTLINE
Sets all outline properties in one IE: 5M FF: 1 O: 9 W3C: Yes |
static java.lang.String |
OUTLINE_COLOR
Sets the color of the outline around an element IE: 5M FF: 1 O: 9 W3C: Yes |
static java.lang.String |
OUTLINE_STYLE
Sets the style of the outline around an element IE: 5M FF: 1 O: 9 W3C: Yes |
static java.lang.String |
OUTLINE_WIDTH
Sets the width of the outline around an element IE: 5M FF: 1 O: 9 W3C: Yes |
static java.lang.String |
OVERFLOW
Specifies what to do with content that does not fit in an element box IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
PADDING
Sets the padding of an element (can have up to four values) IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
PADDING_BOTTOM
Sets the bottom padding of an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
PADDING_LEFT
Sets the left padding of an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
PADDING_RIGHT
Sets the right padding of an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
PADDING_TOP
Sets the top padding of an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
PAGE
Sets a page type to use when displaying an element IE: 5M FF: 1 O: 9 W3C: Yes |
static java.lang.String |
PAGE_BREAK_AFTER
Sets the page-breaking behavior after an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
PAGE_BREAK_BEFORE
Sets the page-breaking behavior before an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
PAGE_BREAK_INSIDE
Sets the page-breaking behavior inside an element IE: 5M FF: 1 O: 9 W3C: Yes |
static java.lang.String |
POSITION
Places an element in a static, relative, absolute or fixed position IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
QUOTES
Sets which quotation marks to use in a text IE: 5M FF: 1 O: W3C: Yes |
static java.lang.String |
RIGHT
Sets how far the right edge of an element is to the left/right of the right edge of the parent element IE: 5 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
SCROLLBAR_3D_LIGHT_COLOR
Sets the color of the left and top sides of the arrows and scroll boxes IE: 5W FF: No O: No W3C: No |
static java.lang.String |
SCROLLBAR_ARROW_COLOR
Sets the color of the arrows on a scroll bar IE: 5W FF: No O: No W3C: No |
static java.lang.String |
SCROLLBAR_BASE_COLOR
Sets the base color of the scroll bar IE: 5W FF: No O: No W3C: No |
static java.lang.String |
SCROLLBAR_DARK_SHADOW_COLOR
Sets the color of the right and bottom sides of the arrows and scroll boxes IE: 5W FF: No O: No W3C: No |
static java.lang.String |
SCROLLBAR_FACE_COLOR
Sets the front color of the scroll bar IE: 5W FF: No O: No W3C: No |
static java.lang.String |
SCROLLBAR_HIGHLIGHT_COLOR
Sets the color of the left and top sides of the arrows and scroll boxes, and the background of a scroll bar IE: 5W FF: No O: No W3C: No |
static java.lang.String |
SCROLLBAR_SHADOW_COLOR
Sets the color of the right and bottom sides of the arrows and scroll boxes IE: 5W FF: No O: No W3C: No |
static java.lang.String |
SCROLLBAR_TRACK_COLOR
Sets the background color of a scroll bar IE: 5W FF: No O: No W3C: No |
static java.lang.String |
SIZE
Sets the orientation and size of a page IE: FF: 1 O: 9 W3C: Yes |
static java.lang.String |
TABLE_LAYOUT
Sets the algorithm used to display the table cells, rows, and columns IE: 5 FF: No O: No W3C: Yes |
static java.lang.String |
TEXT_ALIGN
Aligns the text IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
TEXT_DECORATION
Sets the decoration of a text IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
TEXT_INDENT
Indents the first line of text IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
TEXT_SHADOW
Sets the shadow effect of a text IE: 5M FF: 1 O: W3C: Yes |
static java.lang.String |
TEXT_TRANSFORM
Sets capitalization effect on a text IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
TITLE
Sets or returns an element's advisory title IE: 5 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
TOP
Sets how far the top edge of an element is above/below the top edge of the parent element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
UNICODE_BIDI
-- IE: 5 FF: 1 O: - W3C: Yes |
static java.lang.String |
VERTICAL_ALIGN
Sets the vertical alignment of content in an element IE: 4 FF: 1 O: No W3C: Yes |
static java.lang.String |
VISIBILITY
Sets whether or not an element should be visible IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
WHITE_SPACE
Sets how to handle line-breaks and white-space in a text IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
WIDOWS
Sets the minimum number of lines for a paragraph that must be left at the top of a page IE: 5M FF: 1 O: 9 W3C: Yes |
static java.lang.String |
WIDTH
Sets the width of an element IE: 4 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
WORD_SPACING
Sets the space between words in a text IE: 6 FF: 1 O: 9 W3C: Yes |
static java.lang.String |
Z_INDEX
Sets the stack order of an element IE: 4 FF: 1 O: 9 W3C: Yes |
| Constructor Summary | |
|---|---|
ClientPageNodeStyle(netscape.javascript.JSObject iJsObject)
|
|
| Method Summary | |
|---|---|
java.lang.String |
get(java.lang.String key)
retrieves a style property |
void |
set(java.lang.String key,
java.lang.String value)
sets a style property |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BACKGROUND
public static final java.lang.String BACKGROUND_ATTACHMENT
public static final java.lang.String BACKGROUND_COLOR
public static final java.lang.String BACKGROUND_IMAGE
public static final java.lang.String BACKGROUND_POSITION
public static final java.lang.String BACKGROUND_POSITION_X
public static final java.lang.String BACKGROUND_POSITION_Y
public static final java.lang.String BACKGROUND_REPEAT
public static final java.lang.String BORDER
public static final java.lang.String BORDER_BOTTOM
public static final java.lang.String BORDER_BOTTOM_COLOR
public static final java.lang.String BORDER_BOTTOM_STYLE
public static final java.lang.String BORDER_BOTTOM_WIDTH
public static final java.lang.String BORDER_COLOR
public static final java.lang.String BORDER_LEFT
public static final java.lang.String BORDER_LEFT_COLOR
public static final java.lang.String BORDER_LEFT_STYLE
public static final java.lang.String BORDER_LEFT_WIDTH
public static final java.lang.String BORDER_RIGHT
public static final java.lang.String BORDER_RIGHT_COLOR
public static final java.lang.String BORDER_RIGHT_STYLE
public static final java.lang.String BORDER_RIGHT_WIDTH
public static final java.lang.String BORDER_STYLE
public static final java.lang.String BORDER_TOP
public static final java.lang.String BORDER_TOP_COLOR
public static final java.lang.String BORDER_TOP_STYLE
public static final java.lang.String BORDER_TOP_WIDTH
public static final java.lang.String BORDER_WIDTH
public static final java.lang.String MARGIN
public static final java.lang.String MARGIN_BOTTOM
public static final java.lang.String MARGIN_LEFT
public static final java.lang.String MARGIN_RIGHT
public static final java.lang.String MARGIN_TOP
public static final java.lang.String OUTLINE
public static final java.lang.String OUTLINE_COLOR
public static final java.lang.String OUTLINE_STYLE
public static final java.lang.String OUTLINE_WIDTH
public static final java.lang.String PADDING
public static final java.lang.String PADDING_BOTTOM
public static final java.lang.String PADDING_LEFT
public static final java.lang.String PADDING_RIGHT
public static final java.lang.String PADDING_TOP
public static final java.lang.String CLEAR
public static final java.lang.String CLIP
public static final java.lang.String CONTENT
public static final java.lang.String COUNTER_INCREMENT
public static final java.lang.String COUNTER_RESET
public static final java.lang.String CSS_FLOAT
public static final java.lang.String CURSOR
public static final java.lang.String DIRECTION
public static final java.lang.String DISPLAY
public static final java.lang.String HEIGHT
public static final java.lang.String MARKER_OFFSET
public static final java.lang.String MARKS
public static final java.lang.String MAX_HEIGHT
public static final java.lang.String MAX_WIDTH
public static final java.lang.String MIN_HEIGHT
public static final java.lang.String MIN_WIDTH
public static final java.lang.String OVERFLOW
public static final java.lang.String VERTICAL_ALIGN
public static final java.lang.String VISIBILITY
public static final java.lang.String WIDTH
public static final java.lang.String LIST_STYLE
public static final java.lang.String LIST_STYLE_IMAGE
public static final java.lang.String LIST_STYLE_POSITION
public static final java.lang.String LIST_STYLE_TYPE
public static final java.lang.String CSS_TEXT
public static final java.lang.String BOTTOM
public static final java.lang.String LEFT
public static final java.lang.String POSITION
public static final java.lang.String RIGHT
public static final java.lang.String TOP
public static final java.lang.String Z_INDEX
public static final java.lang.String ORPHANS
public static final java.lang.String PAGE
public static final java.lang.String PAGE_BREAK_AFTER
public static final java.lang.String PAGE_BREAK_BEFORE
public static final java.lang.String PAGE_BREAK_INSIDE
public static final java.lang.String SIZE
public static final java.lang.String WIDOWS
public static final java.lang.String SCROLLBAR_3D_LIGHT_COLOR
public static final java.lang.String SCROLLBAR_ARROW_COLOR
public static final java.lang.String SCROLLBAR_BASE_COLOR
public static final java.lang.String SCROLLBAR_DARK_SHADOW_COLOR
public static final java.lang.String SCROLLBAR_FACE_COLOR
public static final java.lang.String SCROLLBAR_HIGHLIGHT_COLOR
public static final java.lang.String SCROLLBAR_SHADOW_COLOR
public static final java.lang.String SCROLLBAR_TRACK_COLOR
public static final java.lang.String BORDER_COLLAPSE
public static final java.lang.String BORDER_SPACING
public static final java.lang.String CAPTION_SIDE
public static final java.lang.String EMPTY_CELLS
public static final java.lang.String TABLE_LAYOUT
public static final java.lang.String COLOR
public static final java.lang.String FONT
public static final java.lang.String FONT_FAMILY
public static final java.lang.String FONT_SIZE
public static final java.lang.String FONT_SIZE_ADJUST
public static final java.lang.String FONT_STRETCH
public static final java.lang.String FONT_STYLE
public static final java.lang.String FONT_VARIANT
public static final java.lang.String FONT_WEIGHT
public static final java.lang.String LETTER_SPACING
public static final java.lang.String LINE_HEIGHT
public static final java.lang.String QUOTES
public static final java.lang.String TEXT_ALIGN
public static final java.lang.String TEXT_DECORATION
public static final java.lang.String TEXT_INDENT
public static final java.lang.String TEXT_SHADOW
public static final java.lang.String TEXT_TRANSFORM
public static final java.lang.String UNICODE_BIDI
public static final java.lang.String WHITE_SPACE
public static final java.lang.String WORD_SPACING
public static final java.lang.String DIR
public static final java.lang.String LANG
public static final java.lang.String TITLE
| Constructor Detail |
|---|
public ClientPageNodeStyle(netscape.javascript.JSObject iJsObject)
| Method Detail |
|---|
public void set(java.lang.String key,
java.lang.String value)
key - the style property namevalue - the value to be setpublic java.lang.String get(java.lang.String key)
key - the property name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||