7.7: Property
Profiles
プロパティ・プロファイル
A
property profile is a collection of object property
settings, which is stored as a set. A profile for an object
can contain settings for almost any properties of the
object.
プロパティ・プロファイルとはオブジェクトのプロパティ設定の集合体で、セットとして保持されています。あるオブジェクトのプロファイルは、オブジェクトのほとんど全てのプロパティを保持することができます。
You
can include values for most built-in properties in a
profile, and create as many different property profiles as
you need for any object. Once you've created a profile, you
can switch the object to the profile to change all the
property values that are defined in the profile.
大概の組み込みプロパティの値はプロファイルに保持させることができます。更に、どのオブジェクトにも好きなだけ異なるプロパティのプロファイルを作ることができます。プロファイルが一旦作成されると、オブジェクトのプロファイルを変更するだけで、そのオブジェクトの全てのプロパティの値をそのプロファイルにあるものに変更できます。
For example, suppose you create a property profile for a
field that includes settings for the field's color
properties. When you switch to that profile, the field's
colors change, while all other properties (not included in
the profile) remain the same.
例えば、あるフィールドに色設定を含むプロパティ・プロファイルを設定したとします。するとプロファイルを切り替えるとフィールドの色は変わりますが、(そのプロファイルに設定されていない)その他のプロパティは全て前のままで、変更されません。
Use
property profiles when you want to:
• Create "skins" for your application
• Display your application in different languages
• Present different levels--"novice","expert", and so
on
• Use different user-interface standards for different
platforms
次のようなことをしたい時にプロパティ・プロファイルを使います:
・アプリケーション用にスキン(画面デザイン)を作る
・異なる言語でアプリケーションを表示する
・「初心者」「エキスパート」等、アプリケーションの使用者のレベルを変える
・プラットフォーム毎に異なる標準ユーザー・インターフェースを使う
For
details on how to create property profiles using the IDE,
see the section on Property
Profiles in the chapter
Building
a User Interface.
IDEを使ったプロパティ・プロファイルの作り方の詳細は、Building
a User Interfaceの章のProperty
Profilesをご覧下さい。