lightbox.xml 5.29 KB
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN"
        "http://labs.jboss.com/jbossrichfaces/component-config.dtd" >
<components>
    <component>
        <name>org.richfaces.Lightbox</name>
        <family>org.richfaces.Lightbox</family>
        <classname>org.richfaces.component.html.HtmlLightbox</classname>
        <superclass>org.richfaces.component.UILightbox</superclass>
        <description>
            <![CDATA[Lightbox plugin for jQuery.
             ]]>
        </description>
        <renderer generate="true" override="false">
            <name>org.richfaces.LightboxRenderer</name>
            <classname>org.richfaces.renderkit.html.LightboxRenderer</classname>
        </renderer>
        <tag>
            <name>lightbox</name>
            <classname>org.richfaces.taglib.LightboxTag</classname>
            <superclass>
                org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
            </superclass>
            <test>
                <classname>org.richfaces.taglib.HtmlLightboxTagTest</classname>
                <superclassname>org.ajax4jsf.tests.AbstractJspTestCase</superclassname>
            </test>

        </tag> &ui_component_attributes;
        <property required="true">
            <name>selector</name>
            <classname>java.lang.String</classname>
            <description>
                A jQuery selector.
            </description>
        </property>
        <property>
            <name>overlayBgColor</name>
            <classname>java.lang.String</classname>
            <description>
                Background color to overlay; inform a hexadecimal value like: #RRGGBB. Where RR, GG, and BB are the hexadecimal values for the red, green, and
                blue values of the color.
            </description>
        </property>
        <property>
            <name>overlayOpacity</name>
            <classname>java.lang.Double</classname>
            <description>
                Opacity value to overlay; inform: 0.X. Where X are number from 0 to 9.
            </description>
        </property>
        <property>
            <name>fixedNavigation</name>
            <classname>java.lang.Boolean</classname>
            <description>
                Boolean that informs if the navigation (next and prev button) will be fixed or not in the interface.
            </description>
        </property>
        <property>
            <name>containerBorderSize</name>
            <classname>java.lang.Integer</classname>
            <description>
                If you adjust the padding in the CSS for the container, #lightbox-container-image-box, you will need to update this value
            </description>
        </property>
        <property>
            <name>containerResizeSpeed</name>
            <classname>java.lang.Integer</classname>
            <description>
                Specify the resize duration of container image. These number are miliseconds. 400 is default.
            </description>
        </property>
        <property>
            <name>txtImage</name>
            <classname>java.lang.String</classname>
            <description>
                Specify text "Image".
            </description>
        </property>
        <property>
            <name>txtOf</name>
            <classname>java.lang.String</classname>
            <description>
                Specify text "of".
            </description>
        </property>
        <property>
            <name>keyToClose</name>
            <classname>java.lang.String</classname>
            <description>
                Letter to close the jQuery lightBox interface. Beyond this letter, the letter X and the SCAPE key is used to. Default 'c'.
            </description>
        </property>
        <property>
            <name>keyToPrev</name>
            <classname>java.lang.String</classname>
            <description>
                Letter to show the previous image. Default 'p'.
            </description>
        </property>
        <property>
            <name>keyToNext</name>
            <classname>java.lang.String</classname>
            <description>
                Letter to show the next image. Default 'n'.
            </description>
        </property>
        <property>
            <name>imageBlank</name>
            <classname>java.lang.String</classname>
            <description>
                Blank image.
            </description>
        </property>
        <property>
            <name>imageLoading</name>
            <classname>java.lang.String</classname>
            <description>
                Image loading icon.
            </description>
        </property>
        <property>
            <name>imageBtnNext</name>
            <classname>java.lang.String</classname>
            <description>
                Image for "next" button.
            </description>
        </property>
        <property>
            <name>imageBtnPrev</name>
            <classname>java.lang.String</classname>
            <description>
                Image for "previous" button.
            </description>
        </property>
        <property>
            <name>imageBtnClose</name>
            <classname>java.lang.String</classname>
            <description>
                Image for "close" button.
            </description>
        </property>

    </component>
</components>