carbidesdk/com.nokia.carbide.cpp.sdk.doc.user/html/CustomComponents/cc_overview.htm
author timkelly
Fri, 27 Mar 2009 10:37:25 -0500
changeset 13 a515b8873c8c
parent 2 d760517a8095
child 1704 24ac5a5cf80c
permissions -rw-r--r--
Update to describe how SFO CDK works
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
cawthron
parents:
diff changeset
     2
<html>
cawthron
parents:
diff changeset
     3
<head>
cawthron
parents:
diff changeset
     4
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
cawthron
parents:
diff changeset
     5
<meta http-equiv="Content-Style-Type" content="text/css" />
cawthron
parents:
diff changeset
     6
<title>Creating Custom Components</title>
cawthron
parents:
diff changeset
     7
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
cawthron
parents:
diff changeset
     8
<style type="text/css">
cawthron
parents:
diff changeset
     9
<!--
cawthron
parents:
diff changeset
    10
.style1 {font-size: 12px}
cawthron
parents:
diff changeset
    11
-->
cawthron
parents:
diff changeset
    12
</style>
cawthron
parents:
diff changeset
    13
</head>
cawthron
parents:
diff changeset
    14
<body bgcolor="#FFFFFF">
cawthron
parents:
diff changeset
    15
<h1>Creating Custom Components</h1>
cawthron
parents:
diff changeset
    16
<p>The following section provides information on creating your own custom components that appear in the UI Designer and can be used when creating a UI design for your application. First some background information is provided about the basic design of components and how they interact with the UI Designer.</p>
cawthron
parents:
diff changeset
    17
<h2>Overview</h2>
cawthron
parents:
diff changeset
    18
<p>A UI designer project contains a set of .uidesign files. There is one for each design &quot;view&quot;, for example the top-level visual container. There is also a .uidesign file (application.uidesign) for the application as a whole, which includes the AppUi.</p>
cawthron
parents:
diff changeset
    19
<p>A .uidesign  file represents a data model and contains the configuration of a single container or form. The contents of each data model are the persistent state of a set of component instances. Each component instance can have properties, event bindings, and localized strings. Component instances come from the set of available components for a project; based on the selected SDK. Components are listed in the Palette of the UI Designer. Additional component instances are added as the user edits a UI design. Custom components created by a user will also appear in the UI Designer Palette.</p>
cawthron
parents:
diff changeset
    20
<p>Much of the functionality of the UI Designer is built on components, including determining compatibility across containers, rendering the simulated UI appearance, and generating source code.  At the very least, components can be defined by property values, a source code template, and  containment rules. Code may also be provided, either in JavaScript or Java, to implement user-defined behavior. However, more complex designs can be implemented into the creation of components.</p>
cawthron
parents:
diff changeset
    21
<h5>Related Topics</h5>
cawthron
parents:
diff changeset
    22
<ul>
cawthron
parents:
diff changeset
    23
  <li><a href="cc_architecture.htm">Custom Component Architecture</a></li>
cawthron
parents:
diff changeset
    24
  <li><a href="cc_new_components.htm">Developing New Components</a></li>
cawthron
parents:
diff changeset
    25
</ul>
cawthron
parents:
diff changeset
    26
<div id="footer">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div></div>
cawthron
parents:
diff changeset
    27
cawthron
parents:
diff changeset
    28
</body>
cawthron
parents:
diff changeset
    29
</html>