: Class StyleLink

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.mortbay.HTML
Class StyleLink

    java.lang.Object
      |
      +--com.mortbay.HTML.Element
            |
            +--com.mortbay.HTML.Tag
                  |
                  +--com.mortbay.HTML.StyleLink

public class StyleLink
extends Tag

CSS Style LINK

Version:
  1.0 Sat Sep 4 1999
Author:
  Greg Wilkins (gregw)

Field Summary
`static java.lang.String` | `HREF`
`static java.lang.String` | `MEDIA`
`static java.lang.String` | `REL`
`static java.lang.String` | `TYPE`

Fields inherited from class com.mortbay.HTML.Tag
`tag`

Fields inherited from class com.mortbay.HTML.Element
`ALIGN, attributeMap, BGCOLOR, BOTTOM, CENTER, CLASS, COLOR, HEIGHT, ID, LEFT, MIDDLE, noAttributes, RIGHT, SIZE, STYLE, TOP, VALIGN, WIDTH`

Constructor Summary
`StyleLink(java.lang.String href)` Constructor.
`StyleLink(java.lang.String rel, java.lang.String href, java.lang.String type, java.lang.String media)` Full Constructor.

Methods inherited from class com.mortbay.HTML.Tag
`write`

Methods inherited from class com.mortbay.HTML.Element
`attribute, attribute, attribute, attributes, attributes, bgColor, bottom, center, color, cssClass, cssID, height, height, height, left, middle, right, setAttributesFrom, size, size, size, style, top, toString, width, width, width, write, write`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### REL

    public static final java.lang.String REL

### HREF

    public static final java.lang.String HREF

### TYPE

    public static final java.lang.String TYPE

### MEDIA

    public static final java.lang.String MEDIA

Constructor Detail

### StyleLink

    public StyleLink(java.lang.String href)

  Constructor.
  Parameters:
    `href` - The URL of the style sheet

### StyleLink

    public StyleLink(java.lang.String rel,
                     java.lang.String href,
                     java.lang.String type,
                     java.lang.String media)

  Full Constructor.
  Parameters:
    `rel` - Style Relationship, default StyleSheet if null.
    `href` - The URL of the style sheet
    `type` - The type, default text/css if null
    `media` - The media, not specified if null

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD