View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *   http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package org.apache.myfaces.component;
20  
21  /**
22   * @since 1.1.7
23   * @author Leonardo Uribe (latest modification by $Author: lu4242 $)
24   * @version $Revision: 691856 $ $Date: 2008-09-03 21:40:30 -0500 (Wed, 03 Sep 2008) $
25   */
26  public interface PanelProperties
27  {
28      /**
29       * HTML: The background color of this element.
30       * 
31       * @JSFProperty
32       */
33      public abstract String getBgcolor();
34  
35      /**
36       * HTML: Specifies the width of the border of this element, in pixels.  Deprecated in HTML 4.01.
37       * 
38       * @JSFProperty
39       *   defaultValue="Integer.MIN_VALUE"
40       */
41      public abstract int getBorder();
42  
43      /**
44       * HTML: Specifies the amount of empty space between the cell border and
45       * its contents.  It can be either a pixel length or a percentage.
46       * 
47       * @JSFProperty
48       */
49      public abstract String getCellpadding();
50  
51      /**
52       * HTML: Specifies the amount of space between the cells of the table.
53       * It can be either a pixel length or a percentage of available 
54       * space.
55       * 
56       * @JSFProperty
57       */
58      public abstract String getCellspacing();
59  
60      /**
61       * HTML: Controls what part of the frame that surrounds a table is 
62       * visible.  Values include:  void, above, below, hsides, lhs, 
63       * rhs, vsides, box, and border.
64       * 
65       * @JSFProperty
66       */
67      public abstract String getFrame();
68  
69      /**
70       * HTML: Controls how rules are rendered between cells.  Values include:
71       * none, groups, rows, cols, and all.
72       * 
73       * @JSFProperty
74       */
75      public abstract String getRules();
76  
77      /**
78       * HTML: Provides a summary of the contents of the table, for
79       * accessibility purposes.
80       * 
81       * @JSFProperty
82       */
83      public abstract String getSummary();
84  
85      /**
86       * HTML: Specifies the desired width of the table, as a pixel length or
87       * a percentage of available space.
88       * 
89       * @JSFProperty
90       */
91      public abstract String getWidth();
92  
93  }