KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > wings > style > Style


1 /*
2  * $Id: Style.java,v 1.6 2005/05/27 09:17:35 blueshift Exp $
3  * Copyright 2000,2005 wingS development team.
4  *
5  * This file is part of wingS (http://www.j-wings.org).
6  *
7  * wingS is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU Lesser General Public License
9  * as published by the Free Software Foundation; either version 2.1
10  * of the License, or (at your option) any later version.
11  *
12  * Please see COPYING for the complete licence.
13  */

14 package org.wings.style;
15
16 import org.wings.Renderable;
17
18 import java.io.Serializable JavaDoc;
19
20 /**
21  * A wings style. A
22  *
23  * @author <a HREF="mailto:engels@mercatis.de">Holger Engels</a>
24  * @version $Revision: 1.6 $
25  */

26 public interface Style extends Renderable, Serializable JavaDoc, Cloneable JavaDoc {
27
28     /**
29      * A object defining on what this styles applies to.
30      * @return
31      */

32     Object JavaDoc getSelector();
33
34     /**
35      * The style sheet owning this style.
36      * @param sheet The style sheet owning this style.
37      */

38     void setSheet(StyleSheet sheet);
39
40      /**
41      * @return The style sheet owning this style.
42      */

43     public StyleSheet getSheet();
44
45     /**
46      * Defines a value for the given style propery.
47      */

48     Object JavaDoc put(Object JavaDoc styleProperty, Object JavaDoc styleValue);
49
50 }
51
52
53
Popular Tags