MACROMEDIA FLEX-CREATING ADVANCED COMPONENTS Manual do Utilizador Página 1

Consulte online ou descarregue Manual do Utilizador para Redes MACROMEDIA FLEX-CREATING ADVANCED COMPONENTS. SAP BusinessObjects Dashboards Component Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - ■ SAP BusinessObjects 4.1

SAP BusinessObjects Dashboards Component SDK User Guide SAP BusinessObjects 4.12013-05-06

Página 2

2013-05-0610Overview of Steps to Create and Distribute Add-Ons

Página 3 - Contents

Creating Adobe Flex ProjectsAdd-ons for Dashboards are created as Adobe Flex projects. You can create three types of Adobe Flexprojects to extend Dash

Página 4 - 2013-05-064

LocationProject NameAdd-on TypeC:\Dashboards\componentdeveloper\MyExcelFunctionSourceMyExcelFunctionSourceExcel Function4.Click Finish to create your

Página 5 - About This Guide

...public class BasicHorizontalSlider extends HSlider{...}}Note:Visual components must inherit from UIComponent.In addition, if you want to include co

Página 6 - 2013-05-066

Sample file/documnentExampleThe RSSConnector source code.Creating a basic custom connection that does notuse refresh options and loading statusThe RSS

Página 7 - 2013-05-067

Note:Styles cannot be bound to the spreadsheet.For additional information about controling the appearance of visual components, see the SAPBusinessObj

Página 8 - 2013-05-068

2013-05-0616Creating Adobe Flex Projects

Página 9 - 2013-05-069

Compiling with Adobe Flex SDK 4.0To work with Dashboards, add-ons must be compiled using Adobe Flex SDK 4.0.Configure your Adobe Flex project to compi

Página 10 - 2013-05-0610

2013-05-0618Compiling with Adobe Flex SDK 4.0

Página 11 - Creating Adobe Flex Projects

Creating HTML5 Add-On Projects for MobileMobile add-ons for Dashboards are created as HTML5 projects. You can create three types of HTML5projects to a

Página 12 - 2013-05-0612

© 2013 SAP AG or an SAP affiliate company. All rights reserved. No part of this publication may bereproduced or transmitted in any form or for any pur

Página 13 - Tutorial 1 Creating a

sius.sdk.core.AddOnComponent);...})();Note:All component add-ons must inherit from xcelsius.sdk.core.AddOnComponent.In Dashboards, connection refresh

Página 14 - Sample file/documnentExample

Creating Property SheetsVisual components and custom data connections are configured in component property sheets. Ingeneral, you should create custom

Página 15 - 2013-05-0615

For additional information about creating custom property sheets for visual components, see theDashboards SDK Tutorial 4available with the SAP Busines

Página 16 - 2013-05-0616

Testing Your ComponentAfter you create an Adobe Flex project, test it in Dashboards in design mode, in Preview mode, andat run-time after exporting it

Página 17 - 2013-05-0617

Set the output option to C:\Documents andSettings\${YOUR_USER_NAME}\Application Data\Macromedia\FlashPlayer\Logs\flashlog.txt.For example: C:\Document

Página 18 - 2013-05-0618

Packaging Adobe Flex Projects as Add-OnsThe Dashboards Add-On Packager provides an easy way to package your component as an add-on.xlx file for distri

Página 19 - 2013-05-0619

4.In the MXML compiler configuration file, add configuration information to include metadata for theDashboards Default Property Sheet.For example,<

Página 20 - To set refresh options

DescriptionOptionThe name of your add-on. For example, Sales FunnelNote:For packages that contain only a set of functions, include the names of thefun

Página 21 - Creating Property Sheets

DescriptionOptionThe fully qualified class name that identifies the item in the componentSWF. For example: com.businessobjects.xcelsius.sdk.samples.Sa

Página 22 - Dashboards SDK Tutorial 4

DescriptionOptionA bitmap file (16 by 16 pixels) that will represent your component in the"Object Browser".Small Icon BMPEnter the path to t

Página 23 - Testing Your Component

ContentsAbout This Guide...5Chapter

Página 24 - 2013-05-0624

DescriptionOptionA bitmap file (16 by 16 pixels) that represents your connection in the list ofavailable connections in the "Data Manager".S

Página 25 - 2013-05-0625

12.For easier updating in the future, click File > Save As to save your project settings.13.In the "Save As" dialog box, enter a name for

Página 26 - 2013-05-0626

2013-05-0632Packaging Adobe Flex Projects as Add-Ons

Página 27 - DescriptionTab

Distribute your add-onDistribute your Dashboards Add-On .xlx to Dashboards users. Dashboards users can install andremove your add-on using the Add-On

Página 28

2013-05-0634Distribute your add-on

Página 29

Appendix A: Dashboards Default Property Sheet APIReferenceThe Dashboards Default Property Sheet is provided so you can quickly get your visual compone

Página 30

Note:For an MXML file, add the CxInspectableList metadata in an <mx:Metadata> tag.For example, to restrict the list of properties to title and s

Página 31 - 9.3 To update add-on packages

"value" property changes.*/public function notifyValueChanged():void{var event:Event = PropertyChangeEvent.createUpdateEvent(this, "val

Página 32 - 2013-05-0632

DescriptionTagA combo box in the property sheet allows usersto select a font from the list of fonts available ontheir system.Style: Font Family (a fon

Página 33 - Distribute your add-on

DescriptionTagA combo box in the property sheet allows usersto pick true or false.Inspectable: Boolean (true or false)For example:[Inspectable(type=&q

Página 34 - 2013-05-0634

Distribute your add-on...33Chapter 10 Appendix

Página 35 - Reference

Compile your release SWF to keep the metadata. To use the default property sheet.11.6 Displaying and hiding properties in the default property sheetIf

Página 36 - 2013-05-0636

Appendix B: Custom Property Sheet API ReferenceAlthough you can use the default property sheet to get visual components working quickly in Xclesius,to

Página 37 - 2013-05-0637

5.Handle localization based on Dashboards language setting.6.Add a helper function called getPropertyBindDisplayName that returns null if the property

Página 38 - DescriptionTag

Binding directionsBinding directions between the spreadsheet and the component property can be:• Two way between the spreadsheet and component propert

Página 39

12.2.2 Spreadsheet to component bindingsIf you use spreadsheet to component bindings, the property value is updated when the spreadsheetchanges. Known

Página 40 - 2013-05-0640

{var event:Event = PropertyChangeEvent.createUpdateEvent(this, "value", null,value);dispatch(event);}1.Bind a single value property.For exam

Página 41 - 2013-05-0641

Note:The binding type on either InputBindings or OutputBindings should match the type of the end point(data[0].xValue) and not the property (data).12.

Página 42 - 2013-05-0642

Appendix C: Add-On Manager Command Line InterfaceThis section provides an overview for using the command-line interface to install add-on files. For m

Página 43 - 12.2.1 Two-direction bindings

2013-05-0648Appendix C: Add-On Manager Command Line Interface

Página 44 - 2013-05-0644

Appendix D: Add-On Packager Command Line InterfaceTo use the command-line version of the Add-On Packager to generate an add-on (.xlx) file from apacka

Página 45 - 2013-05-0645

About This GuideDashboards gives users the capability to easily visualize complex data modeled in Excel. The DashboardsComponent SDK enables Flex and

Página 46 - 2013-05-0646

2013-05-0650Appendix D: Add-On Packager Command Line Interface

Página 47 - Using Advanced

More InformationLocationInformation Resourcehttp://www.sap.comSAP BusinessObjects product infor-mationNavigate to http://help.sap.com/businessobjects

Página 48 - 2013-05-0648

LocationInformation Resourcehttps://www.sdn.sap.com/irj/boc/businessobjects-articlesThese articles were formerly known as technical papers.SAP Busines

Página 49 - 2013-05-0649

2013-05-066About This Guide

Página 50 - 2013-05-0650

Installing the Sample Add-On Components• Dashboards is installed.• Dashboards Component SDK is installed.Note:For more information about installing th

Página 51 - More Information

2013-05-068Installing the Sample Add-On Components

Página 52 - LocationInformation Resource

Overview of Steps to Create and Distribute Add-OnsDevelop and test your component:• Create or re-use an existing Adobe Flex or HTML5 component.• For v

Comentários a estes Manuais

Sem comentários