Blame view

ui/gmapMarker/src/main/config/component/gmapMarker.xml 6.24 KB
bernard authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
<?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.GmapMarker</name>
        <family>org.richfaces.GmapMarker</family>
        <classname>org.richfaces.component.html.HtmlGmapMarker</classname>
        <superclass>org.richfaces.component.UIGmapMarker</superclass>
        <description>
            <![CDATA[
                    Renders Google Map marker. This component must be nested inside <rich:gmap/>.
             ]]>
        </description>
        <renderer generate="true" override="false">
            <name>org.richfaces.GmapMarkerRenderer</name>
            <classname>org.richfaces.renderkit.html.GmapMarkerRenderer</classname>
        </renderer>
        <tag>
            <name>gmapMarker</name>
            <classname>org.richfaces.taglib.GmapMarkerTag</classname>
            <superclass>
                org.ajax4jsf.webapp.taglib.HtmlComponentTagBase
            </superclass>
            <test>
                <classname>org.richfaces.taglib.HtmlGmapMarkerTagTest</classname>
                <superclassname>org.ajax4jsf.tests.AbstractJspTestCase</superclassname>
            </test>

        </tag>
        &ui_component_attributes;
        <property required="true">
            <name>latitude</name>
            <classname>java.lang.Double</classname>
            <description>
                The latitude coordinate in degrees, as a number between -90 and +90.
            </description>
        </property>
        <property required="true">
            <name>longitude</name>
            <classname>java.lang.Double</classname>
            <description>
                The longitude coordinate in degrees, as a number between -180 and +180.
            </description>
        </property>
        <property>
            <name>autoPan</name>
            <classname>boolean</classname>
            <description>
                Auto-pan the map as you drag the marker near the edge.
            </description>
            <defaultvalue>true</defaultvalue>
        </property>
        <property>
            <name>bouncy</name>
            <classname>boolean</classname>
            <description>
                Toggles whether or not the marker should bounce up and down after it finishes dragging.
            </description>
            <defaultvalue>false</defaultvalue>
        </property>
        <property>
            <name>bounceGravity</name>
            <classname>java.lang.Double</classname>
            <description>
                When finishing dragging, this number is used to define the acceleration rate of the marker during the
                bounce down to earth.
            </description>
            <defaultvalue>1d</defaultvalue>
        </property>
        <property>
            <name>clickable</name>
            <classname>boolean</classname>
            <description>
                Toggles whether or not the marker is clickable. Markers that are not clickable or draggable are inert,
                consume less resources and do not respond to any events.
            </description>
            <defaultvalue>false</defaultvalue>
        </property>
        <property>
            <name>draggable</name>
            <classname>boolean</classname>
            <description>
                Toggles whether or not the marker will be draggable by users. Markers set up to be dragged require more
                resources to set up than markers that are clickable. Any marker that is draggable is also clickable,
                bouncy and auto-pan enabled by default.
            </description>
            <defaultvalue>false</defaultvalue>
        </property>
        <property>
            <name>dragCrossMove</name>
            <classname>boolean</classname>
            <description>
                When dragging markers normally, the marker floats up and away from the cursor. Setting this value to
                true keeps the marker underneath the cursor, and moves the cross downwards instead.
            </description>
            <defaultvalue>false</defaultvalue>
        </property>
        <property>
            <name>hide</name>
            <classname>boolean</classname>
            <description>
                When true, indicates that the map should not initially display the GMarker. To turn on the overlay, call
                GMarker.show().
            </description>
            <defaultvalue>false</defaultvalue>
        </property>
        <property>
            <name>icon</name>
            <classname>java.lang.String</classname>
            <description>
                Chooses the Icon for this class. If not specified, G_DEFAULT_ICON is used.
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>iconHeight</name>
            <classname>java.lang.Integer</classname>
            <description>
                The height of the icon.
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>iconWidth</name>
            <classname>java.lang.Integer</classname>
            <description>
                The width of the icon.
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>title</name>
            <classname>java.lang.String</classname>
            <description>
                This string will appear as tooltip on the marker, i.e. it will work just as the title attribute on HTML
                elements.
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
        <property>
            <name>onclick</name>
            <classname>java.lang.String</classname>
            <description>
                This event is fired when the marker icon was clicked, passing in the current coordinate of the marker
                within its latlng argument. Notice that
                this event will also fire for the map, with the marker passed as the first argument to the event handler
                there.
            </description>
            <defaultvalue>null</defaultvalue>
        </property>
    </component>
</components>