MultipleSelectionControl (クラス)
public abstract MultipleSelectionControl {inherits SelectionControl}
インポート元: CURL.GUI.STANDARD. package 内で定義されています CURL.GUI.CONTROL-LOGICAL.
直接継承しているサブクラス: ListBox

一度に複数のアイテムを選択できるコントロールのインターフェイス。


プロパティ
selected-indices:選択されたすべてのアイテムのインデックスの反復子。
アクセサ public abstract MultipleSelectionControl.selected-indices:{Iterator-of int}
selected-item-count:現在選択されているアイテム数を返します。
アクセサ public abstract MultipleSelectionControl.selected-item-count:int
selected-items:selected? フィールドが true である各 SelectableItem の反復子。
アクセサ public abstract MultipleSelectionControl.selected-items:{Iterator-of SelectableItem}
selection-policy:このコントロールが使用する SelectionPolicy
アクセサ public abstract MultipleSelectionControl.selection-policy:SelectionPolicy
セッター public abstract MultipleSelectionControl.selection-policy:SelectionPolicy

メソッド
add-selected-index:インデックスが i のアイテムを選択します。
public abstract {MultipleSelectionControl.add-selected-index
i:int
}:void
remove-selected-index:インデックスが i のアイテムの選択を解除します。
public abstract {MultipleSelectionControl.remove-selected-index
i:int
}:void
select-all-items:このコントロール内のすべてのアイテムの selected? フィールドを true に設定します。
public abstract {MultipleSelectionControl.select-all-items}:void
select-indices-with-events:指定された反復子によって返されるインデックスを選択し、イベントを発生させます。
public abstract {MultipleSelectionControl.select-indices-with-events
indices:{Iterator-of int}
}:void
メソッド 継承 SelectionControl: deselect-all-items, select-index, select-index-with-events
メソッド 継承 Object: object-describe, object-describe-for-debugging, object-serialize




プロパティ詳細
selected-indices (アクセサ)
アクセサ public abstract MultipleSelectionControl.selected-indices:{Iterator-of int}

選択されたすべてのアイテムのインデックスの反復子。



selected-item-count (アクセサ)
アクセサ public abstract MultipleSelectionControl.selected-item-count:int

現在選択されているアイテム数を返します。



selected-items (アクセサ)
アクセサ public abstract MultipleSelectionControl.selected-items:{Iterator-of SelectableItem}

selected? フィールドが true である各 SelectableItem の反復子。



selection-policy (アクセサ)
アクセサ public abstract MultipleSelectionControl.selection-policy:SelectionPolicy
セッター public abstract MultipleSelectionControl.selection-policy:SelectionPolicy

このコントロールが使用する SelectionPolicy

説明

このプロパティで有効な設定の詳細については、SelectionPolicy を参照してください。
このプロパティの値は、コントロールがサポートする必要のある選択操作を決定します。
このポリシーに反する項目の選択をプログラムによって行おうとすると、エラーが発生します。





メソッド詳細
add-selected-index (メソッド)
public abstract {MultipleSelectionControl.add-selected-index
i:int
}:void

インデックスが i のアイテムを選択します。



remove-selected-index (メソッド)
public abstract {MultipleSelectionControl.remove-selected-index
i:int
}:void

インデックスが i のアイテムの選択を解除します。



select-all-items (メソッド)
public abstract {MultipleSelectionControl.select-all-items}:void

このコントロール内のすべてのアイテムの selected? フィールドを true に設定します。



select-indices-with-events (メソッド)
public abstract {MultipleSelectionControl.select-indices-with-events
indices:{Iterator-of int}
}:void

指定された反復子によって返されるインデックスを選択し、イベントを発生させます。