001 /*
002 * Licensed to the Apache Software Foundation (ASF) under one
003 * or more contributor license agreements. See the NOTICE file
004 * distributed with this work for additional information
005 * regarding copyright ownership. The ASF licenses this file
006 * to you under the Apache License, Version 2.0 (the
007 * "License"); you may not use this file except in compliance
008 * with the License. You may obtain a copy of the License at
009 *
010 * http://www.apache.org/licenses/LICENSE-2.0
011 *
012 * Unless required by applicable law or agreed to in writing,
013 * software distributed under the License is distributed on an
014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015 * KIND, either express or implied. See the License for the
016 * specific language governing permissions and limitations
017 * under the License.
018 */
019
020 package org.apache.myfaces.tobago.taglib.component;
021
022 import org.apache.myfaces.tobago.apt.annotation.BodyContentDescription;
023 import org.apache.myfaces.tobago.apt.annotation.Facet;
024 import org.apache.myfaces.tobago.apt.annotation.Tag;
025 import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
026 import org.apache.myfaces.tobago.taglib.decl.HasBooleanValue;
027 import org.apache.myfaces.tobago.taglib.decl.HasIdBindingAndRendered;
028 import org.apache.myfaces.tobago.taglib.decl.HasLabel;
029 import org.apache.myfaces.tobago.taglib.decl.HasLabelWithAccessKey;
030 import org.apache.myfaces.tobago.taglib.decl.HasMarkup;
031 import org.apache.myfaces.tobago.taglib.decl.HasOnchange;
032 import org.apache.myfaces.tobago.taglib.decl.HasTabIndex;
033 import org.apache.myfaces.tobago.taglib.decl.HasTip;
034 import org.apache.myfaces.tobago.taglib.decl.HasValidator;
035 import org.apache.myfaces.tobago.taglib.decl.HasValueChangeListener;
036 import org.apache.myfaces.tobago.taglib.decl.IsDisabled;
037 import org.apache.myfaces.tobago.taglib.decl.IsInline;
038 import org.apache.myfaces.tobago.taglib.decl.IsReadonly;
039
040 /*
041 * Created: Aug 5, 2005 5:18:50 PM
042 * User: bommel
043 * $Id: SelectBooleanCheckboxTagDeclaration.java 1368577 2012-08-02 16:20:31Z lofwyr $
044 */
045 /**
046 * Renders a checkbox.
047 */
048 @Tag(name = "selectBooleanCheckbox")
049 @BodyContentDescription(anyTagOf = "<f:facet>* ")
050 @UIComponentTag(
051 uiComponent = "org.apache.myfaces.tobago.component.UISelectBoolean",
052 rendererType = "SelectBooleanCheckbox",
053 facets = {
054 @Facet(name = "click",
055 description =
056 "This facet can contain a UICommand that is invoked in case of a click event from the component"),
057 @Facet(name = "change",
058 description =
059 "This facet can contain a UICommand that is invoked in case of a change event from the component")
060 })
061
062 public interface SelectBooleanCheckboxTagDeclaration
063 extends BeanTagDeclaration, HasValidator, HasOnchange, HasValueChangeListener, HasIdBindingAndRendered, HasLabel,
064 HasLabelWithAccessKey, HasBooleanValue, IsDisabled, IsInline, HasTip, IsReadonly, HasMarkup, HasTabIndex {
065 }