「System.ImageList.TImageLink」の版間の差分
(ページの作成:「{{#lst:API:System.ImageList.TImageLink|api}} ==説明== {{#lsth:API:System.ImageList.TImageLink|説明}}」) |
細 (1版: LOC-18292/2015.04.02.DocWikiPages-JA) |
||
| 1行目: | 1行目: | ||
{{#lst:API:System.ImageList.TImageLink|api}} | {{#lst:API:System.ImageList.TImageLink|api}} | ||
| + | |||
==説明== | ==説明== | ||
| − | {{# | + | |
| + | {{#ifeq: {{PAGENAME}}|System.ImageList.TImageLink||{{InheritsFrom|System.ImageList.TImageLink}}}} | ||
| + | |||
| + | <section begin="short" />{{FM}} と VCL 両方の画像リンクの基底クラスです。画像リストは、画像リストに変更が加えられると、内部で [[System.ImageList.TImageLink|TImageLink]] を使用して、その画像リストを使用しているコンポーネントに通知を送ります。<section end="short" /> | ||
| + | |||
| + | [[System.ImageList.TBaseImageList|TBaseImageList]] コンポーネントは、[[System.ImageList.TImageLink|TImageLink]] を使用して、画像リストの変更についてどのコンポーネントに通知するかを判断します。'''Images'''、'''ImageIndex'''、または [[System.ImageList.TBaseImageList|TBaseImageList]] の内容のいずれかが変化すると、[[System.ImageList.TImageLink.Change|TImageLink.Change]] メソッドが呼び出されます。 | ||
| + | |||
| + | 各 [[System.ImageList.TBaseImageList|TBaseImageList]] 画像リストには、[[System.ImageList.TBaseImageList.Links|Links]] プロパティがあり、[[System.ImageList.TImageLink|TImageLink]] オブジェクト群が保持されています。[[System.ImageList.TBaseImageList|TBaseImageList]] 画像リストを [[System.ImageList.TImageLink.Images|TImageLink.Images]] プロパティに設定すると、その [[System.ImageList.TImageLink|TImageLink]] オブジェクトの参照が [[System.ImageList.TBaseImageList.Links|Links]] プロパティに追加されます。[[System.ImageList.TBaseImageList|TBaseImageList]] の下位クラスでは、画像リストに変化があると [[System.ImageList.TBaseImageList.Links|TBaseImageList.Links]] 配列を調べ、この配列に対して [[System.ImageList.TImageLink.Change|TImageLink.Change]] メソッドを実行します。 | ||
| + | |||
| + | ===関連項目=== | ||
| + | |||
| + | * [[Vcl.ImgList.TChangeLink|Vcl.ImgList.TChangeLink]] | ||
| + | * [[FMX.ImgList.TCustomImageList|FMX.ImgList.TCustomImageList]] | ||
| + | * [[System.ImageList.TBaseImageList|System.ImageList.TBaseImageList]] | ||
| + | * [[System.ImageList.TImageLink.Images|System.ImageList.TImageLink.Images]] | ||
| + | * [[System.ImageList.TImageLink.ImageIndex|System.ImageList.TImageLink.ImageIndex]] | ||
| + | * [[System.ImageList.TBaseImageList.Links|System.ImageList.TBaseImageList.Links]] | ||
| + | * [[System.ImageList.TImageLink.Change|System.ImageList.TImageLink.Change]] | ||
| + | |||
| + | [[Category:API ドキュメント]] | ||
| + | [[Category:XE8]] | ||
| + | [[Category:FMX]] | ||
2015年4月10日 (金) 01:32時点における版
Delphi
TImageLink = class
C++
class PASCALIMPLEMENTATION TImageLink : public System::TObject
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| class | public | System.ImageList.pas System.ImageList.hpp |
System.ImageList | System.ImageList |
説明
FireMonkey と VCL 両方の画像リンクの基底クラスです。画像リストは、画像リストに変更が加えられると、内部で TImageLink を使用して、その画像リストを使用しているコンポーネントに通知を送ります。
TBaseImageList コンポーネントは、TImageLink を使用して、画像リストの変更についてどのコンポーネントに通知するかを判断します。Images、ImageIndex、または TBaseImageList の内容のいずれかが変化すると、TImageLink.Change メソッドが呼び出されます。
各 TBaseImageList 画像リストには、Links プロパティがあり、TImageLink オブジェクト群が保持されています。TBaseImageList 画像リストを TImageLink.Images プロパティに設定すると、その TImageLink オブジェクトの参照が Links プロパティに追加されます。TBaseImageList の下位クラスでは、画像リストに変化があると TBaseImageList.Links 配列を調べ、この配列に対して TImageLink.Change メソッドを実行します。