<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (c) 2010 ESRI All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions. You may freely redistribute and use this sample code, with or without modification, provided you include the original copyright notice and use restrictions. See use restrictions in use_restrictions.txt. --> <!--- The default skin class for the AttributeInspector component. --> <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"> <!-- host component --> <fx:Metadata> /** * A strongly typed property that references the component to which this skin is applied. */ [HostComponent("com.esri.ags.components.AttributeInspector")] </fx:Metadata> <s:states> <s:State name="normal"/> <s:State name="disabled"/> <s:State name="invalid"/> </s:states> <s:layout> <s:VerticalLayout horizontalAlign="center"/> </s:layout> <!--- Form to display the attributes of the active feature. --> <mx:Form id="form" paddingBottom="0" paddingLeft="0" paddingRight="0" paddingTop="0" width="100%" height="100%" enabled.disabled="false" horizontalScrollPolicy="off" maxHeight="{hostComponent.getStyle('formMaxHeight')}" verticalScrollPolicy="auto"> <mx:FormHeading includeInLayout="{hostComponent.numFeatures>1}" label="{hostComponent.activeFeatureIndex+1} {resourceManager.getString('ESRIMessages','attributeInspectorOf')} {hostComponent.numFeatures}" visible="{hostComponent.numFeatures>1}"/> </mx:Form> </s:SparkSkin>
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.