Commons-Jelly

Jelly

Community

Libraries

コンポーネント レポジトリ

Sandboxコンポーネント

日本語訳 (Translations)

オリジナル

JellySwing

JellySwing は、シンプルなJellyライブラリであり、Swingユーザインターフェースを生成する為に利用されます。これにより、ありふれた多くのJavaコーディングを避けてSwingフロントエンドのレイアウトやレンダリングを定義する為に、XMLドキュメント(Jellyスクリプト)を使う事が出来るようになります。フロントエンドを規定するマークアップを使い、Javaコードをビジネスオブジェクトやビジネスモデルに結合させることが出来ます。

This mechanism uses seperation of concerns and MVC ideas from web applications, allowing the rendering of your Swing front end to be easily transformed (since its XML) into different styles while leaving your model and business objects untouched. It also allows different views to be constructed independently of your models.

JellySwing スクリプトのサンプルがここにあります: こちら

To try running the example type the following command then you should see a full Swing user interface appear with pull down menus, a splitter pane, a form, entry fields, buttons and a table.

	maven demo:swing
      

This example even shows that simple actions can be coded in Jelly script too! Though typically most complex logic and models (such as TableModel, TreeModel) should be written in Java code. Then Jelly script can be used to create the view and bind in the models.



Copyright © 1999-2007, Apache Software Foundation
Translated into Japanese by Tetsuya Kitahata , powered by Terra-International, Inc.
Original English Page would be found from HERE     --    ApacheNews    ASF プロジェクト一覧
Terra-International, Inc. -- テラ・インターナショナル
Special Thanks -- 【お問い合わせ/テキスト広告】