| java.lang.Object com.salmonllc.html.HtmlComponent com.salmonllc.html.HtmlStyle
HtmlStyle | public class HtmlStyle extends HtmlComponent (Code) | | This type can be used to add a CSS style to an HTML page
|
Constructor Summary | |
public | HtmlStyle(String name, String type, String style, HtmlPage p) Constructs a new style to place in the page.
Parameters: name - of style to create. Parameters: type - of style to create. |
TABLE_CELL_TYPE | final public static String TABLE_CELL_TYPE(Code) | | |
HtmlStyle | public HtmlStyle(String name, String type, String style, HtmlPage p)(Code) | | Constructs a new style to place in the page.
Parameters: name - of style to create. Parameters: type - of style to create. e.g. A, H1, TD etc. Parameters: style - this is the style attribute String. e.g. COLOR: #000000; BACKGROUND: #ffffff; ... |
getStyle | public String getStyle()(Code) | | This method returns the style in the component.
|
getStyleName | public String getStyleName()(Code) | | This method returns the name of the style
|
setStyle | public void setStyle(String style)(Code) | | This method sets the stylet that the componnt will generate.
|
|
|