All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.icefaces.mobi.component.pagepanel.PagePanelMeta Maven / Gradle / Ivy

There is a newer version: 4.3.0
Show newest version
/*
 * Copyright 2004-2014 ICEsoft Technologies Canada Corp.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the
 * License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an "AS
 * IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 * express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */
package org.icefaces.mobi.component.pagepanel;

import org.icefaces.ace.meta.annotation.Component;
import org.icefaces.ace.meta.annotation.Facet;
import org.icefaces.ace.meta.annotation.Facets;
import org.icefaces.ace.meta.annotation.Property;
import org.icefaces.ace.meta.baseMeta.UIPanelMeta;

import javax.faces.component.UIComponent;
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;

@Component(
        tagName = "pagePanel",
        componentClass = "org.icefaces.mobi.component.pagepanel.PagePanel",
        rendererClass = "org.icefaces.mobi.component.pagepanel.PagePanelRenderer",
        generatedClass = "org.icefaces.mobi.component.pagepanel.PagePanelBase",
        componentType = "org.icefaces.PagePanel",
        rendererType = "org.icefaces.PagePanelRenderer",
        extendsClass = "javax.faces.component.UIPanel",
        componentFamily = "org.icefaces.PagePanel",
        tlddoc = "Renders a header/body/footer layout that " +
                "is defined using the facet tag.  The facets for header and footer " +
                "are optional."
)
@ResourceDependencies({
		@ResourceDependency(library = "org.icefaces.component.pagepanel", name = "pagepanel.css")
})
public class PagePanelMeta extends UIPanelMeta {

    @Property(tlddoc = "CSS style(s) to be applied when this component is rendered.")
    private String style;

    @Property(tlddoc = "Space-separated list of CSS style class(es) to be applied when this element is rendered.")
    private String styleClass;

    /**
     * The page component defines three sections headr, body and footer which
     * are define by the  component pattern.
     */
    @Facets
    class FacetsMeta {
        @Facet
        UIComponent header;
        @Facet
        UIComponent body;
        @Facet
        UIComponent footer;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy