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

org.wings.style.CSSStyle Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2000,2005 wingS development team.
 *
 * This file is part of wingS (http://wingsframework.org).
 *
 * wingS is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; either version 2.1
 * of the License, or (at your option) any later version.
 *
 * Please see COPYING for the complete licence.
 */

package org.wings.style;

/**
 * A
 *
 * @author bschmid
 */
public class CSSStyle extends CSSAttributeSet implements Style {
    /*private StyleSheet sheet; */
    private Selector selector;

    public CSSStyle(Selector selector, CSSAttributeSet attributes) {
        super(attributes);
        this.selector = selector;
    }

    public CSSStyle(Selector selector, CSSProperty property, String value) {
        super(property, value);
        this.selector = selector;
    }

    /* @see Style */
    @Override
    public Selector getSelector() {
        return selector;
    }

    /* @see Style */
    public void setSelector(Selector selector) {
        this.selector = selector;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy