All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wings.header.StyleSheetHeader Maven / Gradle / Ivy

The newest version!
package org.wings.header;

import org.wings.URLResource;
import org.wings.resource.DefaultURLResource;

/**
 * Use this to add a StyleSheet header to a frame.
 * 
 *   frame.addHeader(new StyleSheetHeader("../myStyleSheet.css"));
 * 
 */
public class StyleSheetHeader extends Link {


    public StyleSheetHeader(String url) {
        this(new DefaultURLResource(url));
    }

    public StyleSheetHeader(URLResource resource) {
        super("stylesheet", null, "text/css", null, resource);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy