| パッケージ | flashx.textLayout.edit |
| クラス | public class ElementRange |
| 継承 | ElementRange Object |
| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
エレメント範囲の値ペアにおいて、開始エレメント(firstLeaf など)は常に終了エレメント(この場合、lastLeaf)以下になります。
関連する API エレメント
| プロパティ | 定義元 | ||
|---|---|---|---|
| absoluteEnd : int
範囲の終了を含む FlowLeafElement オブジェクトの絶対テキスト位置。 | ElementRange | ||
| absoluteStart : int
範囲の開始を含む FlowLeafElement オブジェクトの絶対テキスト位置。 | ElementRange | ||
| characterFormat : flashx.textLayout.formats:ITextLayoutFormat [読み取り専用]
範囲内の文字のフォーマット属性。 | ElementRange | ||
![]() | constructor : Object
指定されたオブジェクトインスタンスのクラスオブジェクトまたはコンストラクター関数への参照です。 | Object | |
| containerFormat : flashx.textLayout.formats:ITextLayoutFormat [読み取り専用]
範囲を表示するコンテナのフォーマット属性。 | ElementRange | ||
| firstLeaf : FlowLeafElement
範囲の開始を含む FlowLeafElement オブジェクト。 | ElementRange | ||
| firstParagraph : ParagraphElement
範囲の開始を含む ParagraphElement オブジェクト。 | ElementRange | ||
| lastLeaf : FlowLeafElement
範囲の終了を含む FlowLeafElement オブジェクト。 | ElementRange | ||
| lastParagraph : ParagraphElement
範囲の終了を含む ParagraphElement オブジェクト。 | ElementRange | ||
| paragraphFormat : flashx.textLayout.formats:ITextLayoutFormat [読み取り専用]
範囲を含む段落のフォーマット属性。 | ElementRange | ||
| textFlow : flashx.textLayout.elements:TextFlow
範囲を含む TextFlow オブジェクト。 | ElementRange | ||
| メソッド | 定義元 | ||
|---|---|---|---|
createElementRange(textFlow:flashx.textLayout.elements:TextFlow, absoluteStart:int, absoluteEnd:int):ElementRange [静的]
ElementRange オブジェクトを作成します。 | ElementRange | ||
テキスト範囲または現在の選択範囲のすべての文字に共通する、文字フォーマット属性を取得します。 | ElementRange | ||
エレメント範囲のすべてのコンテナに共通する、コンテナフォーマット属性を取得します。 | ElementRange | ||
エレメント範囲のすべての段落に共通する、段落フォーマット属性を取得します。 | ElementRange | ||
![]() |
オブジェクトに指定されたプロパティが定義されているかどうかを示します。 | Object | |
![]() |
Object クラスのインスタンスが、パラメーターとして指定されたオブジェクトのプロトタイプチェーン内にあるかどうかを示します。 | Object | |
![]() |
指定されたプロパティが存在し、列挙できるかどうかを示します。 | Object | |
![]() |
ループ処理に対するダイナミックプロパティの可用性を設定します。 | Object | |
![]() |
ロケール固有の規則に従って書式設定された、このオブジェクトのストリング表現を返します。 | Object | |
![]() |
指定されたオブジェクトのストリング表現を返します。 | Object | |
![]() |
指定されたオブジェクトのプリミティブな値を返します。 | Object | |
absoluteEnd | プロパティ |
absoluteStart | プロパティ |
characterFormat | プロパティ |
characterFormat:flashx.textLayout.formats:ITextLayoutFormat [読み取り専用] | 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
範囲内の文字のフォーマット属性。
範囲が複数の FlowElement オブジェクトにまたがる場合、つまり範囲内に複数の文字フォーマットがある場合、最初の FlowElement オブジェクトのフォーマットが返されます。
実装
public function get characterFormat():flashx.textLayout.formats:ITextLayoutFormatcontainerFormat | プロパティ |
containerFormat:flashx.textLayout.formats:ITextLayoutFormat [読み取り専用] | 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
範囲を表示するコンテナのフォーマット属性。
範囲が複数のコンテナにまたがる場合、最初のコンテナのフォーマットが返されます。
実装
public function get containerFormat():flashx.textLayout.formats:ITextLayoutFormatfirstLeaf | プロパティ |
firstLeaf:FlowLeafElement| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
範囲の開始を含む FlowLeafElement オブジェクト。
実装
public function get firstLeaf():FlowLeafElement public function set firstLeaf(value:FlowLeafElement):voidfirstParagraph | プロパティ |
firstParagraph:ParagraphElement| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
範囲の開始を含む ParagraphElement オブジェクト。
実装
public function get firstParagraph():ParagraphElement public function set firstParagraph(value:ParagraphElement):voidlastLeaf | プロパティ |
lastLeaf:FlowLeafElement| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
範囲の終了を含む FlowLeafElement オブジェクト。
実装
public function get lastLeaf():FlowLeafElement public function set lastLeaf(value:FlowLeafElement):voidlastParagraph | プロパティ |
lastParagraph:ParagraphElement| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
範囲の終了を含む ParagraphElement オブジェクト。
実装
public function get lastParagraph():ParagraphElement public function set lastParagraph(value:ParagraphElement):voidparagraphFormat | プロパティ |
paragraphFormat:flashx.textLayout.formats:ITextLayoutFormat [読み取り専用] | 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
範囲を含む段落のフォーマット属性。
範囲が複数の段落にまたがる場合、最初の段落のフォーマットが返されます。
実装
public function get paragraphFormat():flashx.textLayout.formats:ITextLayoutFormattextFlow | プロパティ |
textFlow:flashx.textLayout.elements:TextFlow| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
範囲を含む TextFlow オブジェクト。
実装
public function get textFlow():flashx.textLayout.elements:TextFlow public function set textFlow(value:flashx.textLayout.elements:TextFlow):voidcreateElementRange | () | メソッド |
public static function createElementRange(textFlow:flashx.textLayout.elements:TextFlow, absoluteStart:int, absoluteEnd:int):ElementRange| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
ElementRange オブジェクトを作成します。
パラメーター
textFlow:flashx.textLayout.elements:TextFlow — テキストフロー
| |
absoluteStart:int — テキスト範囲の最初の文字の絶対テキスト位置
| |
absoluteEnd:int — テキスト範囲の最後の文字の絶対テキスト位置を越える文字
|
ElementRange |
getCommonCharacterFormat | () | メソッド |
public function getCommonCharacterFormat():flashx.textLayout.formats:TextLayoutFormat| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
テキスト範囲または現在の選択範囲のすべての文字に共通する、文字フォーマット属性を取得します。
エレメント範囲のすべての文字で値が同じでないフォーマット属性は、返された TextLayoutFormat インスタンスで null に設定されます。
flashx.textLayout.formats:TextLayoutFormat — 一般的な文字スタイル設定
|
getCommonContainerFormat | () | メソッド |
public function getCommonContainerFormat():flashx.textLayout.formats:TextLayoutFormat| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
エレメント範囲のすべてのコンテナに共通する、コンテナフォーマット属性を取得します。
エレメント範囲のすべてのコンテナで値が同じでないフォーマット属性は、返された TextLayoutFormat インスタンスで null に設定されます。
flashx.textLayout.formats:TextLayoutFormat — 一般的な段落タイル設定
|
関連する API エレメント
getCommonParagraphFormat | () | メソッド |
public function getCommonParagraphFormat():flashx.textLayout.formats:TextLayoutFormat| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
エレメント範囲のすべての段落に共通する、段落フォーマット属性を取得します。
エレメント範囲のすべての段落で値が同じでないフォーマット属性は、返された TextLayoutFormat インスタンスで null に設定されます。
flashx.textLayout.formats:TextLayoutFormat — 一般的な段落タイル設定
|
関連する API エレメント
Tue Jun 12 2018, 10:34 AM Z
継承されるパブリックプロパティを隠す
継承されるパブリックプロパティを表示