fi.hut.tml.xsmiles.mlfc.css.swing
Class StyleSwingConvertor

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.css.swing.StyleSwingConvertor

public class StyleSwingConvertor
extends java.lang.Object


Field Summary
static java.lang.String ATTRIBUTE_BACKGROUND_COLOR
           
static java.lang.String ATTRIBUTE_BACKGROUND_IMAGE
           
static java.lang.String ATTRIBUTE_BACKGROUND_POSITION
           
static java.lang.String ATTRIBUTE_BACKGROUND_REPEAT
           
static java.lang.String ATTRIBUTE_BORDER_COLOR
           
static java.lang.String ATTRIBUTE_BORDER_STYLE
           
static java.lang.String ATTRIBUTE_BORDER_TOP_COLOR
           
static java.lang.String ATTRIBUTE_BORDER_TOP_STYLE
           
static java.lang.String ATTRIBUTE_BORDER_TOP_WIDTH
           
static java.lang.String ATTRIBUTE_BORDER_WIDTH
           
static java.lang.String ATTRIBUTE_CAPTION_SIDE
           
static java.lang.String ATTRIBUTE_FONT
           
static java.lang.String ATTRIBUTE_FONT_FAMILY
           
static java.lang.String ATTRIBUTE_FONT_SIZE
           
static java.lang.String ATTRIBUTE_FONT_STYLE
           
static java.lang.String ATTRIBUTE_FONT_WEIGHT
           
static java.lang.String ATTRIBUTE_FOREGROUND_COLOR
           
static java.lang.String ATTRIBUTE_H_BACK_POSITION
           
static java.lang.String ATTRIBUTE_HEIGHT
           
static java.lang.String ATTRIBUTE_LIST_STYLE_IMAGE
           
static java.lang.String ATTRIBUTE_LIST_STYLE_POSITION
           
static java.lang.String ATTRIBUTE_LIST_STYLE_TYPE
           
static java.lang.String ATTRIBUTE_MARGIN
           
static java.lang.String ATTRIBUTE_MARGIN_BOTTOM
           
static java.lang.String ATTRIBUTE_MARGIN_LEFT
           
static java.lang.String ATTRIBUTE_MARGIN_RIGHT
           
static java.lang.String ATTRIBUTE_MARGIN_TOP
           
static java.lang.String ATTRIBUTE_PADDING
           
static java.lang.String ATTRIBUTE_PADDING_BOTTOM
           
static java.lang.String ATTRIBUTE_PADDING_LEFT
           
static java.lang.String ATTRIBUTE_PADDING_RIGHT
           
static java.lang.String ATTRIBUTE_PADDING_TOP
           
static java.lang.String ATTRIBUTE_REAL_BACKGROUND_COLOR
           
static java.lang.String ATTRIBUTE_TEXT_ALIGN
           
static java.lang.String ATTRIBUTE_TEXT_DECORATION
           
static java.lang.String ATTRIBUTE_V_BACK_POSITION
           
static java.lang.String ATTRIBUTE_WIDTH
           
static java.lang.String DEFAULT_FONT
           
 
Constructor Summary
StyleSwingConvertor()
           
 
Method Summary
static javax.swing.text.Style convert(XSmilesCSSStyleDeclarationImpl declarationObj, java.lang.String tagName)
           
static javax.swing.text.Style getContentStyle(javax.swing.text.AttributeSet parentStyle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FONT

public static final java.lang.String DEFAULT_FONT
See Also:
Constant Field Values

ATTRIBUTE_FOREGROUND_COLOR

public static final java.lang.String ATTRIBUTE_FOREGROUND_COLOR
See Also:
Constant Field Values

ATTRIBUTE_BACKGROUND_COLOR

public static final java.lang.String ATTRIBUTE_BACKGROUND_COLOR
See Also:
Constant Field Values

ATTRIBUTE_REAL_BACKGROUND_COLOR

public static final java.lang.String ATTRIBUTE_REAL_BACKGROUND_COLOR
See Also:
Constant Field Values

ATTRIBUTE_BORDER_COLOR

public static final java.lang.String ATTRIBUTE_BORDER_COLOR
See Also:
Constant Field Values

ATTRIBUTE_BORDER_TOP_COLOR

public static final java.lang.String ATTRIBUTE_BORDER_TOP_COLOR
See Also:
Constant Field Values

ATTRIBUTE_BORDER_STYLE

public static final java.lang.String ATTRIBUTE_BORDER_STYLE
See Also:
Constant Field Values

ATTRIBUTE_BORDER_TOP_STYLE

public static final java.lang.String ATTRIBUTE_BORDER_TOP_STYLE
See Also:
Constant Field Values

ATTRIBUTE_BORDER_WIDTH

public static final java.lang.String ATTRIBUTE_BORDER_WIDTH
See Also:
Constant Field Values

ATTRIBUTE_BORDER_TOP_WIDTH

public static final java.lang.String ATTRIBUTE_BORDER_TOP_WIDTH
See Also:
Constant Field Values

ATTRIBUTE_FONT

public static final java.lang.String ATTRIBUTE_FONT
See Also:
Constant Field Values

ATTRIBUTE_FONT_FAMILY

public static final java.lang.String ATTRIBUTE_FONT_FAMILY
See Also:
Constant Field Values

ATTRIBUTE_FONT_STYLE

public static final java.lang.String ATTRIBUTE_FONT_STYLE
See Also:
Constant Field Values

ATTRIBUTE_FONT_WEIGHT

public static final java.lang.String ATTRIBUTE_FONT_WEIGHT
See Also:
Constant Field Values

ATTRIBUTE_FONT_SIZE

public static final java.lang.String ATTRIBUTE_FONT_SIZE
See Also:
Constant Field Values

ATTRIBUTE_BACKGROUND_IMAGE

public static final java.lang.String ATTRIBUTE_BACKGROUND_IMAGE
See Also:
Constant Field Values

ATTRIBUTE_BACKGROUND_POSITION

public static final java.lang.String ATTRIBUTE_BACKGROUND_POSITION
See Also:
Constant Field Values

ATTRIBUTE_H_BACK_POSITION

public static final java.lang.String ATTRIBUTE_H_BACK_POSITION
See Also:
Constant Field Values

ATTRIBUTE_V_BACK_POSITION

public static final java.lang.String ATTRIBUTE_V_BACK_POSITION
See Also:
Constant Field Values

ATTRIBUTE_BACKGROUND_REPEAT

public static final java.lang.String ATTRIBUTE_BACKGROUND_REPEAT
See Also:
Constant Field Values

ATTRIBUTE_MARGIN

public static final java.lang.String ATTRIBUTE_MARGIN
See Also:
Constant Field Values

ATTRIBUTE_MARGIN_TOP

public static final java.lang.String ATTRIBUTE_MARGIN_TOP
See Also:
Constant Field Values

ATTRIBUTE_MARGIN_BOTTOM

public static final java.lang.String ATTRIBUTE_MARGIN_BOTTOM
See Also:
Constant Field Values

ATTRIBUTE_MARGIN_RIGHT

public static final java.lang.String ATTRIBUTE_MARGIN_RIGHT
See Also:
Constant Field Values

ATTRIBUTE_MARGIN_LEFT

public static final java.lang.String ATTRIBUTE_MARGIN_LEFT
See Also:
Constant Field Values

ATTRIBUTE_PADDING

public static final java.lang.String ATTRIBUTE_PADDING
See Also:
Constant Field Values

ATTRIBUTE_PADDING_TOP

public static final java.lang.String ATTRIBUTE_PADDING_TOP
See Also:
Constant Field Values

ATTRIBUTE_PADDING_BOTTOM

public static final java.lang.String ATTRIBUTE_PADDING_BOTTOM
See Also:
Constant Field Values

ATTRIBUTE_PADDING_RIGHT

public static final java.lang.String ATTRIBUTE_PADDING_RIGHT
See Also:
Constant Field Values

ATTRIBUTE_PADDING_LEFT

public static final java.lang.String ATTRIBUTE_PADDING_LEFT
See Also:
Constant Field Values

ATTRIBUTE_TEXT_ALIGN

public static final java.lang.String ATTRIBUTE_TEXT_ALIGN
See Also:
Constant Field Values

ATTRIBUTE_TEXT_DECORATION

public static final java.lang.String ATTRIBUTE_TEXT_DECORATION
See Also:
Constant Field Values

ATTRIBUTE_WIDTH

public static final java.lang.String ATTRIBUTE_WIDTH
See Also:
Constant Field Values

ATTRIBUTE_HEIGHT

public static final java.lang.String ATTRIBUTE_HEIGHT
See Also:
Constant Field Values

ATTRIBUTE_CAPTION_SIDE

public static final java.lang.String ATTRIBUTE_CAPTION_SIDE
See Also:
Constant Field Values

ATTRIBUTE_LIST_STYLE_TYPE

public static final java.lang.String ATTRIBUTE_LIST_STYLE_TYPE
See Also:
Constant Field Values

ATTRIBUTE_LIST_STYLE_IMAGE

public static final java.lang.String ATTRIBUTE_LIST_STYLE_IMAGE
See Also:
Constant Field Values

ATTRIBUTE_LIST_STYLE_POSITION

public static final java.lang.String ATTRIBUTE_LIST_STYLE_POSITION
See Also:
Constant Field Values
Constructor Detail

StyleSwingConvertor

public StyleSwingConvertor()
Method Detail

convert

public static javax.swing.text.Style convert(XSmilesCSSStyleDeclarationImpl declarationObj,
                                             java.lang.String tagName)

getContentStyle

public static javax.swing.text.Style getContentStyle(javax.swing.text.AttributeSet parentStyle)


X-Smiles 1.2