eFace作为第一个由Java开发的XAML解决方案,在构建胖客户端应用程序和胖Internet应用程序中提供了一个统一的编程模式。这个编程模式使应用程序与Swing、SWT、及Web/Ajex的技术环境更新隔离。

    EPIC 投票:

Webdemo


This page gathers some webdemos of eFace with SWT renderer.

1. "Hello world"

2. Simple Data Binding

3. UI design in Visual Studio

4. Data Binding Demo


1. "Hello world"

This is a very simple UI component example. It gives you the basic concept of the eFace Tool and XAML.

To see an enlarged view, click here. The demo takes about 2 minutes.

2. Simple Data Binding

This example illustrates the general mechanism of the powerful Data Binding. The model of Java class is a Person with two properties: name and age. The two properties can be changed in the corresponding TextBox. Two other static Label show in real-time the data values.

Here are the source codes of this demo.

To see an enlarged view, click here. The demo takes 3 minutes.

3. UI design in Visual Studio

This demostration shows the possibility to use Microsoft Visual Studio to design the UI elements for eFace. The designer is not expected to know XAML syntax. The demo contains two parts. The first one is to use Visual Studio to design the UI elements; the second one is to import the XAML content in Eclipse.

To see an enlarged view, click here. The demo takes 2 minutes 40 seconds.

4. Data Binding Demo

This is a Microsoft WPF's sample on Data Binding. The .NET version can be found here and Java codes here. This sample creates a product listing application that allows users to enter items for sale. It demonstrates the following data binding concepts:

  • The binding object
  • Data context
  • Data templates
  • Property change notifications
  • Data Validation
  • Data Conversion
  • Data triggers
  • Multibinding
  • Collection view source
  • Master-Detail paradigm
  • Sorting
  • Filtering

To see an enlarged view, click here. The demo takes 80 seconds.