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  
20  package org.apache.myfaces.tobago.component;
21  
22  public enum Facets {
23  
24    after,
25    bar,
26    before,
27    brand,
28    checkbox,
29    confirmation,
30    constraints,
31    /**
32    * @deprecated currently not supported
33     */
34    @Deprecated
35    contextMenu,
36    label,
37    /**
38     * @deprecated since 3.0.0. The layout manager tag should surround the content instead.
39     * Is only for <tc:gridLayout> needed.
40     */
41    @Deprecated
42    layout,
43    pagerPage,
44    pagerPageDirect,
45    pagerRow,
46    radio,
47    reload(true),
48    sorter;
49  
50    Facets() {
51    }
52  
53    @Deprecated
54    Facets(boolean event) {
55    }
56  
57    public static final String AFTER = "after";
58    public static final String BAR = "bar";
59    public static final String BEFORE = "before";
60    public static final String BRAND = "brand";
61    public static final String CHECKBOX = "checkbox";
62    public static final String CONFIRMATION = "confirmation";
63    public static final String CONSTRAINTS = "constraints";
64    /**
65     * @deprecated currently not supported
66     */
67    @Deprecated
68    public static final String CONTEXT_MENU = "contextMenu";
69    public static final String LABEL = "label";
70    /**
71     * @deprecated since 3.0.0. The layout manager tag should surround the content instead.
72     */
73    @Deprecated
74    public static final String LAYOUT = "layout";
75    public static final String PAGER_PAGE = "pagerPage";
76    public static final String PAGER_PAGE_DIRECT = "pagerPageDirect";
77    public static final String PAGER_ROW = "pagerRow";
78    public static final String RADIO = "radio";
79    /**
80     * TODO: Must be replaced by a behavior
81     */
82    public static final String RELOAD = "reload";
83    public static final String SORTER = "sorter";
84  }