 |
Version v10.1p_2022-05-28/EVAL Deployment (2022-05-28)
|
These source code examples demonstrate how to create your own user interface
components in SmartClient. For more information, please refer to:
- Section 9 (Extending SmartClient) in the
SmartClient Quick Start Guide,
which discusses the techniques demonstrated in these examples.
- The
Class
and ClassFactory
entries in the
SmartClient Reference,
for coverage of the SmartClient class system.
- Chapters 1-4 of the
SmartClient Widgets Guide,
for coverage of drawing, event handling, image handling, and other Virtual Browser Layer
services that are used in these examples.
BigButton
The BigButton draws bigger, bolder buttons. This example
demonstrates the essential methods of SmartClient class definition:
ClassFactory.defineClass()
<Class>.addProperties()
SimpleLabel
The SimpleLabel class implements a very simple bordered text label component.
The SimpleLabel class demonstrates how to render and redraw a raw HTML component, using:
getInnerHTML()
markForRedraw()
SimpleSlider
The SimpleSlider class implements a graphical slider component with a subset of the SmartClient Slider
class functionality.
This example is presented in nine steps, each building on the last.
Each step has an associated source file (SimpleSlider_#.js) and test file (simpleSliderTest_#.html).
You can use a side-by-side file comparison/diff utility to call out the differences at each step.
SimpleHeader
The SimpleHeader class is an example of a simple Layout subclass that generates and manages a set of other components.
CustomPicker
The CustomPicker example demostrates a custom form control (YesNoMaybeItem) implemented as a "picker" that the user
can pop up from a picker icon next to a form or grid value. Check it out in the
Feature Explorer.
©2005 Isomorphic Software, Inc. All rights reserved. License agreement.