org.mortbay.html
Class Style
HTML Style Block.
Bold , Center , Div , Italic , Left , Listing , Plain , Pre , Quote , Right , Span , Xmp |
ALIGN , BGCOLOR , BOTTOM , CENTER , CLASS , COLOR , HEIGHT , ID , LEFT , MIDDLE , RIGHT , SIZE , STYLE , TOP , VALIGN , WIDTH , attributeMap , noAttributes |
Style() - Construct a Style element
|
Style(String style) - Construct a Style element
|
Style(String style, String type) - Construct a Style element.
|
attribute , attribute , attribute , attributes , attributes , bgColor , bottom , center , color , cssClass , cssID , height , height , height , left , middle , right , setAttributesFrom , size , size , size , style , toString , top , width , width , width , write , write , write |
AlternateStyleSheet
public static final String AlternateStyleSheet
MEDIA
public static final String MEDIA
STYLE
public static final String STYLE
StyleSheet
public static final String StyleSheet
TYPE
public static final String TYPE
screen
public static final String screen
text_css
public static final String text_css
Style
public Style()
Construct a Style element
Style
public Style(String style)
Construct a Style element
Style
public Style(String style,
String type)
Construct a Style element.
comment
public Style comment()
Nest style content in comment
importStyle
public Style importStyle(String url)
Import another style sheet.
media
public Style media(String m)
Set the media
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.