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.custom.tree;
20  
21  import javax.faces.component.UIColumn;
22  
23  /**
24   * Renders a HTML input of type "treeColumn". 
25   * <p>
26   * This tag outlines the column where the tree structure will be 
27   * render as part of the tree table. Unless otherwise specified, 
28   * all attributes accept static values or EL expressions.
29   * </p>
30   * <p>
31   * Tree column model. This column is used to provide the place holder for the
32   * tree.  This is used in conjunction with the table format display.
33   * </p>
34   * 
35   * @JSFComponent
36   *   name = "t:treeColumn"
37   *   tagClass = "org.apache.myfaces.custom.tree.taglib.TreeColumnTag"
38   * 
39   * @author <a href="mailto:dlestrat@apache.org">David Le Strat</a>
40   */
41  public class HtmlTreeColumn extends UIColumn
42  {
43      /** The component type. */
44      public static final String COMPONENT_TYPE = "org.apache.myfaces.HtmlTreeColumn";
45      
46      /** The component family. */
47      public static final String COMPONENT_FAMILY = "org.apache.myfaces.HtmlTreeColumn";
48      
49      /**
50       * <p>
51       * Default Constructor.
52       * </p>
53       */
54      public HtmlTreeColumn()
55      {
56          super();
57      }
58      
59      /**
60       * @see javax.faces.component.UIComponent#getFamily()
61       */
62      public String getFamily()
63      {
64          return COMPONENT_FAMILY;
65      }
66  }