KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > wings > template > PropertyManager


1 /*
2  * $Id: PropertyManager.java,v 1.4 2005/03/14 13:33:28 neurolabs 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.template;
15
16 import org.wings.SComponent;
17
18 /**
19  * Property Manager for template managed components.
20  * Components managed by TemplateLayout - Managers may have certain
21  * properties which can be set from parameters given in the template
22  * page, e.g. a 'text' parameter for a 'Button'-Component.
23  *
24  * @author <a HREF="mailto:haaf@mercatis.de">Armin Haaf</a>
25  * @version $Revision: 1.4 $
26  */

27 public interface PropertyManager {
28
29     /**
30      * Describe <code>setProperty</code> method here.
31      *
32      * @param comp a <code>SComponent</code> value
33      * @param name a <code>String</code> value
34      * @param value a <code>String</code> value
35      */

36     public void setProperty(SComponent comp, String JavaDoc name, String JavaDoc value);
37
38     /**
39      * Describe <code>getSupportedClasses</code> method here.
40      *
41      * @return a <code>Class[]</code> value
42      */

43     public Class JavaDoc[] getSupportedClasses();
44 }
45
46
47
Popular Tags