META-INF.maven-faces-plugin.components.trinidad.Chart.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="utf-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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. --> <faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:tr="http://myfaces.apache.org/trinidad" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin" xmlns:fmd="http://java.sun.com/xml/ns/javaee/faces/design-time-metadata"> <component> <description><![CDATA[The Apache Trinidad Chart is used to diplay data in a chart format.]]> </description> <icon> <!-- small-icon>/org/apache/myfaces/trinidadinternal/metadata/icons/basechart.png</small-icon --> </icon> <component-type>org.apache.myfaces.trinidad.Chart</component-type> <component-class>org.apache.myfaces.trinidad.component.UIXChart</component-class> <property> <description><![CDATA[the data model being used by this component.The specific model class must be derived from <code>org.apache.myfaces.trinidad.model.ChartModel</code>. The derived class must override the abstract methods to provide the required values for chart display.]]> </description> <property-name>value</property-name> <property-class>java.lang.Object</property-class> <property-extension> <mfp:mutable>sometimes</mfp:mutable> <mfp:property-metadata/> <fmd:property-metadata> <fmd:preferred>true</fmd:preferred> </fmd:property-metadata> </property-extension> </property> <property> <description><![CDATA[a method reference to a drill down listener that will be called when the user drills down into the chart data.The method must take a parameter of type <code>org.apache.myfaces.trinidad.event.ChartDrillDownEvent</code>.]]> </description> <property-name>chartDrillDownListener</property-name> <property-class>javax.el.MethodExpression</property-class> <property-extension> <mfp:method-binding-signature> <mfp:parameter-type>org.apache.myfaces.trinidad.event.ChartDrillDownEvent</mfp:parameter-type> <mfp:return-type>void</mfp:return-type> </mfp:method-binding-signature> <mfp:property-metadata/> <fmd:property-metadata> <fmd:preferred>true</fmd:preferred> </fmd:property-metadata> </property-extension> </property> <component-extension> <mfp:component-family>org.apache.myfaces.trinidad.Chart</mfp:component-family> <mfp:component-supertype>org.apache.myfaces.trinidad.ComponentBase</mfp:component-supertype> <mfp:renderer-type>org.apache.myfaces.trinidad.Chart</mfp:renderer-type> <mfp:tag-class>org.apache.myfaces.trinidadinternal.taglib.UIXChartTag</mfp:tag-class> <mfp:long-description><![CDATA[<html:p> The Apache Trinidad Chart is used to display data in a Chart Format. </html:p>]]> </mfp:long-description> <mfp:author>Venkata Guddanti</mfp:author> <mfp:component-metadata/> <mfp:tag-class-modifier>abstract</mfp:tag-class-modifier> <mfp:unsupported-agents>pda phone voice</mfp:unsupported-agents> <fmd:component-metadata> <fmd:default-property>id</fmd:default-property> </fmd:component-metadata> </component-extension> </component> </faces-config>