MACROMEDIA FLEX-CREATING ADVANCED COMPONENTS Manual de usuario Pagina 20

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 52
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 19
sius.sdk.core.AddOnComponent);
...
}
)();
Note:
All component add-ons must inherit from xcelsius.sdk.core.AddOnComponent.
In Dashboards, connection refresh and status options are configured in the "Usage" tab of the "Data
Manager". For more information about using these options, refer to the following sections of the
SAP
BusinessObjects Dashboards and Presentation Design User Guide
:
To set refresh options
and
To
create load and idle messages
.
The following code sample creates a package for an RSS connector with a trigger:
(function(){
xcelsius.sdk.declare("com.businessobjects.xcelsius.sdk.samples.RSSConnector");
xcelsius.sdk.require("xcelsius.sdk.rpc.AddOnConnection");
com.businessobjects.xcelsius.sdk.samples.RSSConnector = function()
{
com.businessobjects.xcelsius.sdk.samples.RSSConnector.superclass.constructor.apply(this,arguments);
...
};
xcelsius.sdk.extend(com.businessobjects.xcelsius.sdk.samples.RSSConnector, xcelsius.sdk.rpc.AddOnConnec
tion);
...
}
)();
Note:
All connection add-ons must inherit from xcelsius.sdk.rpc.AddOnConnection. In addition:
All properties used in the "Usage" tab of the "Data Manager" must be defined.
The trigger() function, which defines any events the connection will handle, must be overwritten.
When the connection finishes loading data, it must notify the dashboard using the notifyTrigger
Complete() function.
2013-05-0620
Creating HTML5 Add-On Projects for Mobile
Vista de pagina 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 51 52

Comentarios a estos manuales

Sin comentarios