| Package | jp.nium.impls |
| Interface | public interface ITextField extends IInteractiveObject, IDisplayObject, flash.events.IEventDispatcher |
| Implementors | ExTextField |
| Property | Defined by | ||
|---|---|---|---|
![]() | accessibilityProperties : AccessibilityProperties
この表示オブジェクトの現在のアクセシビリティオプションです。
The current accessibility options for this display object.
| IDisplayObject | |
![]() | alpha : Number
指定されたオブジェクトのアルファ透明度値を示します。
Indicates the alpha transparency value of the object specified.
| IDisplayObject | |
| alwaysShowSelection : Boolean
true に設定され、テキストフィールドにフォーカスがない場合、テキストフィールド内の選択内容は灰色でハイライト表示されます。
When set to true and the text field is not in focus, Flash Player highlights the selection in the text field in gray.
| ITextField | ||
| antiAliasType : String
このテキストフィールドに使用されるアンチエイリアス処理のタイプです。
The type of anti-aliasing used for this text field.
| ITextField | ||
| autoSize : String
テキストフィールドの自動的な拡大 / 縮小および整列を制御します。
Controls automatic sizing and alignment of text fields.
| ITextField | ||
| background : Boolean
テキストフィールドに背景の塗りがあるかどうかを指定します。
Specifies whether the text field has a background fill.
| ITextField | ||
| backgroundColor : uint
テキストフィールドの背景の色です。
The color of the text field background.
| ITextField | ||
![]() | blendMode : String
使用するブレンドモードを指定する BlendMode クラスの値です。
A value from the BlendMode class that specifies which blend mode to use.
| IDisplayObject | |
| border : Boolean
テキストフィールドに境界線があるかどうかを指定します。
Specifies whether the text field has a border.
| ITextField | ||
| borderColor : uint
テキストフィールドの境界線の色です。
The color of the text field border.
| ITextField | ||
| bottomScrollV : int [read-only]
指定されたテキストフィールドの現在の表示範囲で最終行を示す整数です(1 から始まるインデックス)。
An integer (1-based index) that indicates the bottommost line that is currently visible in the specified text field.
| ITextField | ||
![]() | cacheAsBitmap : Boolean
true に設定されている場合、表示オブジェクトの内部ビットマップ表現が Flash Player にキャッシュされます。
If set to true, Flash Player or Adobe AIR caches an internal bitmap representation of the display object.
| IDisplayObject | |
| caretIndex : int [read-only]
カーソル(キャレット)位置のインデックスです。
The index of the insertion point (caret) position.
| ITextField | ||
| condenseWhite : Boolean
HTML テキストが含まれるテキストフィールド内の余分な空白(スペース、改行など)を削除するかどうかを指定するブール値です。
A Boolean value that specifies whether extra white space (spaces, line breaks, and so on) in a text field with HTML text is removed.
| ITextField | ||
![]() | contextMenu : ContextMenu
このオブジェクトに関連付けられたコンテキストメニューを指定します。
Specifies the context menu associated with this object.
| IInteractiveObject | |
| defaultTextFormat : TextFormat
新しく挿入するテキスト (ユーザーが入力したテキストや replaceSelectedText() メソッドで挿入したテキストなど) に適用するフォーマットを指定します。
Specifies the format applied to newly inserted text, such as text entered by a user or text inserted with the replaceSelectedText() method.
| ITextField | ||
| displayAsPassword : Boolean
テキストフィールドがパスワードテキストフィールドであるかどうかを指定します。
Specifies whether the text field is a password text field.
| ITextField | ||
![]() | doubleClickEnabled : Boolean
オブジェクトが doubleClick イベントを受け取るかどうかを指定します。
Specifies whether the object receives doubleClick events.
| IInteractiveObject | |
| embedFonts : Boolean
埋め込みフォントのアウトラインを使用してレンダリングするかどうかを指定します。
Specifies whether to render by using embedded font outlines.
| ITextField | ||
![]() | filters : Array
表示オブジェクトに現在関連付けられている各フィルタオブジェクトが保存されているインデックス付きの配列です。
An indexed array that contains each filter object currently associated with the display object.
| IDisplayObject | |
![]() | focusRect : Object
このオブジェクトがフォーカス矩形を表示するかどうかを指定します。
Specifies whether this object displays a focus rectangle.
| IInteractiveObject | |
| gridFitType : String
このテキストフィールドに使用されるグリッドフィッティングのタイプです。
The type of grid fitting used for this text field.
| ITextField | ||
![]() | height : Number
表示オブジェクトの高さを示します (ピクセル単位)。
Indicates the height of the display object, in pixels.
| IDisplayObject | |
| htmlText : String
テキストフィールドの内容を HTML で表します。
Contains the HTML representation of the text field contents.
| ITextField | ||
| length : int [read-only]
テキストフィールド内の文字数です。
The number of characters in a text field.
| ITextField | ||
![]() | loaderInfo : LoaderInfo
この表示オブジェクトが属するファイルのロード情報を含む LoaderInfo オブジェクトを返します。
Returns a LoaderInfo object containing information about loading the file to which this display object belongs.
| IDisplayObject | |
![]() | mask : DisplayObject
呼び出し元の表示オブジェクトは、指定された mask オブジェクトによってマスクされます。
The calling display object is masked by the specified mask object.
| IDisplayObject | |
| maxChars : int
ユーザーが入力するときに、テキストフィールドに入力できる最大の文字数です。
The maximum number of characters that the text field can contain, as entered by a user.
| ITextField | ||
| maxScrollH : int [read-only]
scrollH の最大値です。
The maximum value of scrollH.
| ITextField | ||
| maxScrollV : int [read-only]
scrollV の最大値です。
The maximum value of scrollV.
| ITextField | ||
![]() | mouseEnabled : Boolean
このオブジェクトがマウスメッセージを受け取るかどうかを指定します。
Specifies whether this object receives mouse messages.
| IInteractiveObject | |
| mouseWheelEnabled : Boolean
複数行にわたるテキストフィールドで、ユーザーがテキストフィールドをクリックしてホイールを回転させると、自動的にスクロールするかどうかを示すブール値です。
A Boolean value that indicates whether Flash Player automatically scrolls multiline text fields when the user clicks a text field and rolls the mouse wheel.
| ITextField | ||
![]() | mouseX : Number
マウス位置の x 座標を示します (ピクセル単位)。
Indicates the x coordinate of the mouse position, in pixels.
| IDisplayObject | |
![]() | mouseY : Number
マウス位置の y 座標を示します (ピクセル単位)。
Indicates the y coordinate of the mouse position, in pixels.
| IDisplayObject | |
| multiline : Boolean
フィールドが複数行テキストフィールドであるかどうかを示します。
Indicates whether field is a multiline text field.
| ITextField | ||
![]() | name : String
DisplayObject のインスタンス名を示します。
Indicates the instance name of the DisplayObject.
| IDisplayObject | |
| numLines : int [read-only]
複数行テキストフィールド内のテキスト行の数を定義します。
Defines the number of text lines in a multiline text field.
| ITextField | ||
![]() | opaqueBackground : Object
表示オブジェクトが特定の背景色で不透明であるかどうかを指定します。
Specifies whether the display object is opaque with a certain background color.
| IDisplayObject | |
![]() | parent : DisplayObjectContainer
この表示オブジェクトを含む DisplayObjectContainer オブジェクトを示します。
Indicates the DisplayObjectContainer object that contains this display object.
| IDisplayObject | |
| restrict : String
ユーザーがテキストフィールドに入力できる文字のセットを指定します。
Indicates the set of characters that a user can enter into the text field.
| ITextField | ||
![]() | root : DisplayObject
ロードされた SWF ファイル内の表示オブジェクトの場合、root プロパティはその SWF ファイルが表す表示リストのツリー構造部分の一番上にある表示オブジェクトとなります。
For a display object in a loaded SWF file, the root property is the top-most display object in the portion of the display list's tree structure represented by that SWF file.
| IDisplayObject | |
![]() | rotation : Number
DisplayObject インスタンスの元の位置からの回転角を度単位で示します。
Indicates the rotation of the DisplayObject instance, in degrees, from its original orientation.
| IDisplayObject | |
![]() | scale9Grid : Rectangle
現在有効な拡大 / 縮小グリッドです。
The current scaling grid that is in effect.
| IDisplayObject | |
![]() | scaleX : Number
基準点から適用されるオブジェクトの水平スケール (percentage) を示します。
Indicates the horizontal scale (percentage) of the object as applied from the registration point.
| IDisplayObject | |
![]() | scaleY : Number
オブジェクトの基準点から適用されるオブジェクトの垂直スケール (percentage) を示します。
Indicates the vertical scale (percentage) of an object as applied from the registration point of the object.
| IDisplayObject | |
| scrollH : int
現在の水平スクロール位置です。
The current horizontal scrolling position.
| ITextField | ||
![]() | scrollRect : Rectangle
表示オブジェクトのスクロール矩形の境界です。
The scroll rectangle bounds of the display object.
| IDisplayObject | |
| scrollV : int
テキストフィールドのテキストの垂直位置です。
The vertical position of text in a text field.
| ITextField | ||
| selectable : Boolean
テキストフィールドが選択可能であるかどうかを示すブール値です。
A Boolean value that indicates whether the text field is selectable.
| ITextField | ||
| selectionBeginIndex : int [read-only]
現在の選択範囲の最初の文字を示す、0 から始まるインデックス値です。
The zero-based character index value of the first character in the current selection.
| ITextField | ||
| selectionEndIndex : int [read-only]
現在の選択範囲における最後の文字を示す、0 から始まるインデックス値です。
The zero-based character index value of the last character in the current selection.
| ITextField | ||
| sharpness : Number
このテキストフィールド内の文字エッジのシャープネスです。
The sharpness of the glyph edges in this text field.
| ITextField | ||
![]() | stage : Stage
表示オブジェクトのステージです。
The Stage of the display object.
| IDisplayObject | |
| styleSheet : StyleSheet
テキストフィールドにスタイルシートを関連付けます。
Attaches a style sheet to the text field.
| ITextField | ||
![]() | tabEnabled : Boolean
このオブジェクトがタブ順序に含まれるかどうかを指定します。
Specifies whether this object is in the tab order.
| IInteractiveObject | |
![]() | tabIndex : int
SWF ファイル内のオブジェクトのタブ順序を指定します。
Specifies the tab ordering of objects in a SWF file.
| IInteractiveObject | |
| text : String
テキストフィールド内の現在のテキストであるストリングです。
A string that is the current text in the text field.
| ITextField | ||
| textColor : uint
テキストフィールドのテキストの色です(16 進数形式)。
The color of the text in a text field, in hexadecimal format.
| ITextField | ||
| textHeight : Number [read-only]
テキストの高さです(ピクセル単位)。
The height of the text in pixels.
| ITextField | ||
| textWidth : Number [read-only]
テキストの幅です(ピクセル単位)。
The width of the text in pixels.
| ITextField | ||
| thickness : Number
このテキストフィールド内の文字エッジの太さです。
The thickness of the glyph edges in this text field.
| ITextField | ||
![]() | transform : Transform
表示オブジェクトのマトリックス、カラー変換、ピクセル境界に関係するプロパティを持つオブジェクトです。
An object with properties pertaining to a display object's matrix, color transform, and pixel bounds.
| IDisplayObject | |
| type : String
テキストフィールドのタイプです。
The type of the text field.
| ITextField | ||
| useRichTextClipboard : Boolean [read-only]
テキストと共にテキストのフォーマットをコピー&ペーストするかどうかを指定します。
Specifies whether to copy and paste the text formatting along with the text.
| ITextField | ||
![]() | visible : Boolean
表示オブジェクトが可視かどうかを示します。
Whether or not the display object is visible.
| IDisplayObject | |
![]() | width : Number
表示オブジェクトの幅を示します (ピクセル単位)。
Indicates the width of the display object, in pixels.
| IDisplayObject | |
| wordWrap : Boolean
テキストフィールドのテキストを折り返すかどうかを示すブール値です。
A Boolean value that indicates whether the text field has word wrap.
| ITextField | ||
![]() | x : Number
親 DisplayObjectContainer のローカル座標を基準にした DisplayObject インスタンスの x 座標を示します。
Indicates the x coordinate of the DisplayObject instance relative to the local coordinates of the parent DisplayObjectContainer.
| IDisplayObject | |
![]() | y : Number
親 DisplayObjectContainer のローカル座標を基準にした DisplayObject インスタンスの y 座標を示します。
Indicates the y coordinate of the DisplayObject instance relative to the local coordinates of the parent DisplayObjectContainer.
| IDisplayObject | |
| Method | Defined by | ||
|---|---|---|---|
|
appendText(newText:String):void
newText パラメータで指定されたストリングを、テキストフィールドのテキストの最後に付加します。
Appends the string specified by the newText parameter to the end of the text of the text field.
| ITextField | ||
![]() |
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
targetCoordinateSpace オブジェクトの座標系を基準にして、表示オブジェクトの領域を定義する矩形を返します。
Returns a rectangle that defines the area of the display object relative to the coordinate system of the targetCoordinateSpace object.
| IDisplayObject | |
|
getCharBoundaries(charIndex:int):Rectangle
文字の境界ボックスである矩形を返します。
Returns a rectangle that is the bounding box of the character.
| ITextField | ||
|
getCharIndexAtPoint(x:Number, y:Number):int
x および y パラメータで指定されたポイントにある文字の 0 から始まるインデックス値を返します。
Returns the zero-based index value of the character at the point specified by the x and y parameters.
| ITextField | ||
|
getFirstCharInParagraph(charIndex:int):int
文字インデックスを指定すると、同じ段落内の最初の文字のインデックスを返します。
Given a character index, returns the index of the first character in the same paragraph.
| ITextField | ||
|
getImageReference(id:String):DisplayObject
<img> タグを使用して HTML フォーマットのテキストフィールドに追加されたイメージまたは SWF ファイルについて、指定された id の DisplayObject 参照を返します。
Returns a DisplayObject reference for the given id, for an image or SWF file that has been added to an HTML-formatted text field by using an <img> tag.
| ITextField | ||
|
getLineIndexAtPoint(x:Number, y:Number):int
x および y パラメータで指定されたポイントにある行の 0 から始まるインデックス値を返します。
Returns the zero-based index value of the line at the point specified by the x and y parameters.
| ITextField | ||
|
getLineIndexOfChar(charIndex:int):int
charIndex パラメータで指定された文字を含む行の 0 から始まるインデックス値を返します。
Returns the zero-based index value of the line containing the character specified by the charIndex parameter.
| ITextField | ||
|
getLineLength(lineIndex:int):int
特定のテキスト行内の文字数を返します。
Returns the number of characters in a specific text line.
| ITextField | ||
|
getLineMetrics(lineIndex:int):TextLineMetrics
指定されたテキスト行に関するメトリック情報を返します。
Returns metrics information about a given text line.
| ITextField | ||
|
getLineOffset(lineIndex:int):int
lineIndex パラメータで指定された行の最初の文字の文字インデックスを返します。
Returns the character index of the first character in the line that the lineIndex parameter specifies.
| ITextField | ||
|
getLineText(lineIndex:int):String
lineIndex パラメータで指定された行のテキストを返します。
Returns the text of the line specified by the lineIndex parameter.
| ITextField | ||
|
getParagraphLength(charIndex:int):int
文字インデックスを指定すると、指定された文字を含む段落の長さを返します。
Given a character index, returns the length of the paragraph containing the given character.
| ITextField | ||
![]() |
getRect(targetCoordinateSpace:DisplayObject):Rectangle
シェイプ上の線を除き、targetCoordinateSpace パラメータによって定義された座標系に基づいて、表示オブジェクトの境界を定義する矩形を返します。
Returns a rectangle that defines the boundary of the display object, based on the coordinate system defined by the targetCoordinateSpace parameter, excluding any strokes on shapes.
| IDisplayObject | |
|
getTextFormat(beginIndex:int = -1, endIndex:int = -1):TextFormat
beginIndex パラメータと endIndex パラメータで指定された範囲のテキストのフォーマット情報を含む TextFormat オブジェクトを返します。
Returns a TextFormat object that contains formatting information for the range of text that the beginIndex and endIndex parameters specify.
| ITextField | ||
![]() |
globalToLocal(point:Point):Point
point オブジェクトをステージ (グローバル) 座標から表示オブジェクトの (ローカル) 座標に変換します。
Converts the point object from the Stage (global) coordinates to the display object's (local) coordinates.
| IDisplayObject | |
![]() |
hitTestObject(obj:DisplayObject):Boolean
表示オブジェクトを評価して、obj 表示オブジェクトと重複または交差するかどうかを調べます。
Evaluates the display object to see if it overlaps or intersects with the obj display object.
| IDisplayObject | |
![]() |
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
表示オブジェクトを評価して、x および y パラメータで指定されたポイントと重複または交差するかどうかを調べます。
Evaluates the display object to see if it overlaps or intersects with the point specified by the x and y parameters.
| IDisplayObject | |
![]() |
localToGlobal(point:Point):Point
point オブジェクトを表示オブジェクトの (ローカル) 座標からステージ (グローバル) 座標に変換します。
Converts the point object from the display object's (local) coordinates to the Stage (global) coordinates.
| IDisplayObject | |
|
replaceSelectedText(value:String):void
現在の選択内容を value パラメータの内容に置き換えます。
Replaces the current selection with the contents of the value parameter.
| ITextField | ||
|
replaceText(beginIndex:int, endIndex:int, newText:String):void
beginIndex パラメータと endIndex パラメータで指定された文字範囲を、newText パラメータの内容に置き換えます。
Replaces the range of characters that the beginIndex and endIndex parameters specify with the contents of the newText parameter.
| ITextField | ||
|
setSelection(beginIndex:int, endIndex:int):void
最初の文字と最後の文字のインデックス値によって指定されたテキストを選択済みに設定します。最初の文字と最後の文字のインデックス値は、beginIndex パラメータおよび endIndex パラメータを使用して指定されます。
Sets as selected the text designated by the index values of the first and last characters, which are specified with the beginIndex and endIndex parameters.
| ITextField | ||
|
setTextFormat(format:TextFormat, beginIndex:int = -1, endIndex:int = -1):void
format パラメータで指定したテキストフォーマットを、テキストフィールド内の指定されたテキストに適用します。
Applies the text formatting that the format parameter specifies to the specified text in a text field.
| ITextField | ||
| alwaysShowSelection | property |
alwaysShowSelection:Boolean [read-write]true に設定され、テキストフィールドにフォーカスがない場合、テキストフィールド内の選択内容は灰色でハイライト表示されます。 When set to true and the text field is not in focus, Flash Player highlights the selection in the text field in gray.
Implementation public function get alwaysShowSelection():Boolean
public function set alwaysShowSelection(value:Boolean):void
| antiAliasType | property |
antiAliasType:String [read-write]このテキストフィールドに使用されるアンチエイリアス処理のタイプです。 The type of anti-aliasing used for this text field.
Implementation public function get antiAliasType():String
public function set antiAliasType(value:String):void
| autoSize | property |
autoSize:String [read-write]テキストフィールドの自動的な拡大 / 縮小および整列を制御します。 Controls automatic sizing and alignment of text fields.
Implementation public function get autoSize():String
public function set autoSize(value:String):void
| background | property |
background:Boolean [read-write]テキストフィールドに背景の塗りがあるかどうかを指定します。 Specifies whether the text field has a background fill.
Implementation public function get background():Boolean
public function set background(value:Boolean):void
| backgroundColor | property |
backgroundColor:uint [read-write]テキストフィールドの背景の色です。 The color of the text field background.
Implementation public function get backgroundColor():uint
public function set backgroundColor(value:uint):void
| border | property |
border:Boolean [read-write]テキストフィールドに境界線があるかどうかを指定します。 Specifies whether the text field has a border.
Implementation public function get border():Boolean
public function set border(value:Boolean):void
| borderColor | property |
borderColor:uint [read-write]テキストフィールドの境界線の色です。 The color of the text field border.
Implementation public function get borderColor():uint
public function set borderColor(value:uint):void
| bottomScrollV | property |
bottomScrollV:int [read-only]指定されたテキストフィールドの現在の表示範囲で最終行を示す整数です(1 から始まるインデックス)。 An integer (1-based index) that indicates the bottommost line that is currently visible in the specified text field.
Implementation public function get bottomScrollV():int
| caretIndex | property |
caretIndex:int [read-only]カーソル(キャレット)位置のインデックスです。 The index of the insertion point (caret) position.
Implementation public function get caretIndex():int
| condenseWhite | property |
condenseWhite:Boolean [read-write]HTML テキストが含まれるテキストフィールド内の余分な空白(スペース、改行など)を削除するかどうかを指定するブール値です。 A Boolean value that specifies whether extra white space (spaces, line breaks, and so on) in a text field with HTML text is removed.
Implementation public function get condenseWhite():Boolean
public function set condenseWhite(value:Boolean):void
| defaultTextFormat | property |
defaultTextFormat:TextFormat [read-write]新しく挿入するテキスト (ユーザーが入力したテキストや replaceSelectedText() メソッドで挿入したテキストなど) に適用するフォーマットを指定します。 Specifies the format applied to newly inserted text, such as text entered by a user or text inserted with the replaceSelectedText() method.
Implementation public function get defaultTextFormat():TextFormat
public function set defaultTextFormat(value:TextFormat):void
| displayAsPassword | property |
displayAsPassword:Boolean [read-write]テキストフィールドがパスワードテキストフィールドであるかどうかを指定します。 Specifies whether the text field is a password text field.
Implementation public function get displayAsPassword():Boolean
public function set displayAsPassword(value:Boolean):void
| embedFonts | property |
embedFonts:Boolean [read-write]埋め込みフォントのアウトラインを使用してレンダリングするかどうかを指定します。 Specifies whether to render by using embedded font outlines.
Implementation public function get embedFonts():Boolean
public function set embedFonts(value:Boolean):void
| gridFitType | property |
gridFitType:String [read-write]このテキストフィールドに使用されるグリッドフィッティングのタイプです。 The type of grid fitting used for this text field.
Implementation public function get gridFitType():String
public function set gridFitType(value:String):void
| htmlText | property |
htmlText:String [read-write]テキストフィールドの内容を HTML で表します。 Contains the HTML representation of the text field contents.
Implementation public function get htmlText():String
public function set htmlText(value:String):void
| length | property |
length:int [read-only]テキストフィールド内の文字数です。 The number of characters in a text field.
Implementation public function get length():int
| maxChars | property |
maxChars:int [read-write]ユーザーが入力するときに、テキストフィールドに入力できる最大の文字数です。 The maximum number of characters that the text field can contain, as entered by a user.
Implementation public function get maxChars():int
public function set maxChars(value:int):void
| maxScrollH | property |
maxScrollH:int [read-only]scrollH の最大値です。 The maximum value of scrollH.
Implementation public function get maxScrollH():int
| maxScrollV | property |
maxScrollV:int [read-only]scrollV の最大値です。 The maximum value of scrollV.
Implementation public function get maxScrollV():int
| mouseWheelEnabled | property |
mouseWheelEnabled:Boolean [read-write]複数行にわたるテキストフィールドで、ユーザーがテキストフィールドをクリックしてホイールを回転させると、自動的にスクロールするかどうかを示すブール値です。 A Boolean value that indicates whether Flash Player automatically scrolls multiline text fields when the user clicks a text field and rolls the mouse wheel.
Implementation public function get mouseWheelEnabled():Boolean
public function set mouseWheelEnabled(value:Boolean):void
| multiline | property |
multiline:Boolean [read-write]フィールドが複数行テキストフィールドであるかどうかを示します。 Indicates whether field is a multiline text field.
Implementation public function get multiline():Boolean
public function set multiline(value:Boolean):void
| numLines | property |
numLines:int [read-only]複数行テキストフィールド内のテキスト行の数を定義します。 Defines the number of text lines in a multiline text field.
Implementation public function get numLines():int
| restrict | property |
restrict:String [read-write]ユーザーがテキストフィールドに入力できる文字のセットを指定します。 Indicates the set of characters that a user can enter into the text field.
Implementation public function get restrict():String
public function set restrict(value:String):void
| scrollH | property |
scrollH:int [read-write]現在の水平スクロール位置です。 The current horizontal scrolling position.
Implementation public function get scrollH():int
public function set scrollH(value:int):void
| scrollV | property |
scrollV:int [read-write]テキストフィールドのテキストの垂直位置です。 The vertical position of text in a text field.
Implementation public function get scrollV():int
public function set scrollV(value:int):void
| selectable | property |
selectable:Boolean [read-write]テキストフィールドが選択可能であるかどうかを示すブール値です。 A Boolean value that indicates whether the text field is selectable.
Implementation public function get selectable():Boolean
public function set selectable(value:Boolean):void
| selectionBeginIndex | property |
selectionBeginIndex:int [read-only]現在の選択範囲の最初の文字を示す、0 から始まるインデックス値です。 The zero-based character index value of the first character in the current selection.
Implementation public function get selectionBeginIndex():int
| selectionEndIndex | property |
selectionEndIndex:int [read-only]現在の選択範囲における最後の文字を示す、0 から始まるインデックス値です。 The zero-based character index value of the last character in the current selection.
Implementation public function get selectionEndIndex():int
| sharpness | property |
sharpness:Number [read-write]このテキストフィールド内の文字エッジのシャープネスです。 The sharpness of the glyph edges in this text field.
Implementation public function get sharpness():Number
public function set sharpness(value:Number):void
| styleSheet | property |
styleSheet:StyleSheet [read-write]テキストフィールドにスタイルシートを関連付けます。 Attaches a style sheet to the text field.
Implementation public function get styleSheet():StyleSheet
public function set styleSheet(value:StyleSheet):void
| text | property |
text:String [read-write]テキストフィールド内の現在のテキストであるストリングです。 A string that is the current text in the text field.
Implementation public function get text():String
public function set text(value:String):void
| textColor | property |
textColor:uint [read-write]テキストフィールドのテキストの色です(16 進数形式)。 The color of the text in a text field, in hexadecimal format.
Implementation public function get textColor():uint
public function set textColor(value:uint):void
| textHeight | property |
textHeight:Number [read-only]テキストの高さです(ピクセル単位)。 The height of the text in pixels.
Implementation public function get textHeight():Number
| textWidth | property |
textWidth:Number [read-only]テキストの幅です(ピクセル単位)。 The width of the text in pixels.
Implementation public function get textWidth():Number
| thickness | property |
thickness:Number [read-write]このテキストフィールド内の文字エッジの太さです。 The thickness of the glyph edges in this text field.
Implementation public function get thickness():Number
public function set thickness(value:Number):void
| type | property |
type:String [read-write]テキストフィールドのタイプです。 The type of the text field.
Implementation public function get type():String
public function set type(value:String):void
| useRichTextClipboard | property |
useRichTextClipboard:Boolean [read-only]テキストと共にテキストのフォーマットをコピー&ペーストするかどうかを指定します。 Specifies whether to copy and paste the text formatting along with the text.
Implementation public function get useRichTextClipboard():Boolean
| wordWrap | property |
wordWrap:Boolean [read-write]テキストフィールドのテキストを折り返すかどうかを示すブール値です。 A Boolean value that indicates whether the text field has word wrap.
Implementation public function get wordWrap():Boolean
public function set wordWrap(value:Boolean):void
| appendText | () | method |
public function appendText(newText:String):voidnewText パラメータで指定されたストリングを、テキストフィールドのテキストの最後に付加します。 Appends the string specified by the newText parameter to the end of the text of the text field.
ParametersnewText:String — 既存のテキストに追加するストリングです。
The string to append to the existing text.
|
| getCharBoundaries | () | method |
public function getCharBoundaries(charIndex:int):Rectangle文字の境界ボックスである矩形を返します。 Returns a rectangle that is the bounding box of the character.
ParameterscharIndex:int — 文字の 0 から始まるインデックス値です。つまり、最初の位置は 0、2 番目の位置は 1 で、以下同様に続きます。
The zero-based index value for the character (for example, the first position is 0, the second position is 1, and so on).
|
Rectangle — 文字の境界ボックスを定義する x および y の最小値と最大値が指定された矩形です。
A rectangle with x and y minimum and maximum values defining the bounding box of the character.
|
| getCharIndexAtPoint | () | method |
public function getCharIndexAtPoint(x:Number, y:Number):intx および y パラメータで指定されたポイントにある文字の 0 から始まるインデックス値を返します。 Returns the zero-based index value of the character at the point specified by the x and y parameters.
Parametersx:Number — 文字の x 座標です。
The x coordinate of the character.
|
|
y:Number — 文字の y 座標です。
The y coordinate of the character.
|
int — 0 から始まる文字のインデックス値です。例えば、最初の位置は 0、次の位置は 1 と続きます(以下同様)。指定されたポイントがどの文字の上にもない場合は -1 を返します。
The zero-based index value of the character (for example, the first position is 0, the second position is 1, and so on). Returns -1 if the point is not over any character.
|
| getFirstCharInParagraph | () | method |
public function getFirstCharInParagraph(charIndex:int):int文字インデックスを指定すると、同じ段落内の最初の文字のインデックスを返します。 Given a character index, returns the index of the first character in the same paragraph.
ParameterscharIndex:int — 文字の 0 から始まるインデックス値です。つまり、最初の文字は 0、2 番目の文字は 1 で、以下同様に続きます。
The zero-based index value of the character (for example, the first character is 0, the second character is 1, and so on).
|
int — 同じ段落内の最初の文字を示す、0 から始まるインデックス値です。
The zero-based index value of the first character in the same paragraph.
|
| getImageReference | () | method |
public function getImageReference(id:String):DisplayObject<img> タグを使用して HTML フォーマットのテキストフィールドに追加されたイメージまたは SWF ファイルについて、指定された id の DisplayObject 参照を返します。 Returns a DisplayObject reference for the given id, for an image or SWF file that has been added to an HTML-formatted text field by using an <img> tag.
Parametersid:String — 照合する id(id 属性(<img> タグ内))。
The id to match (in the id attribute of the <img> tag).
|
DisplayObject — 一致する id 属性をテキストフィールドの <img> タグ内に持つイメージまたは SWF ファイルに対応する表示オブジェクトです。外部ソースから読み込まれたメディアの場合、このオブジェクトは Loader オブジェクトであり、いったん読み込まれると、メディアオブジェクトはその Loader オブジェクトの子になります。SWF ファイルに埋め込まれたメディアの場合、これは読み込まれたオブジェクトです。<img> タグの中に一致する id が含まれない場合、このメソッドは null を返します。
The display object corresponding to the image or SWF file with the matching id attribute in the <img> tag of the text field. For media loaded from an external source, this object is a Loader object, and, once loaded, the media object is a child of that Loader object. For media embedded in the SWF file, it is the loaded object. If no <img> tag with the matching id exists, the method returns null.
|
| getLineIndexAtPoint | () | method |
public function getLineIndexAtPoint(x:Number, y:Number):intx および y パラメータで指定されたポイントにある行の 0 から始まるインデックス値を返します。 Returns the zero-based index value of the line at the point specified by the x and y parameters.
Parametersx:Number — 行の x 座標です。
The x coordinate of the line.
|
|
y:Number — 行の y 座標です。
The y coordinate of the line.
|
int — 0 から始まる行のインデックス値です。例えば、最初の行は 0、次の行は 1 と続きます(以下同様)。指定されたポイントがどの行の上にもない場合は -1 を返します。
The zero-based index value of the line (for example, the first line is 0, the second line is 1, and so on). Returns -1 if the point is not over any line.
|
| getLineIndexOfChar | () | method |
public function getLineIndexOfChar(charIndex:int):intcharIndex パラメータで指定された文字を含む行の 0 から始まるインデックス値を返します。 Returns the zero-based index value of the line containing the character specified by the charIndex parameter.
ParameterscharIndex:int — 文字の 0 から始まるインデックス値です。つまり、最初の文字は 0、2 番目の文字は 1 で、以下同様に続きます。
The zero-based index value of the character (for example, the first character is 0, the second character is 1, and so on).
|
int — 行の 0 から始まるインデックス値です。
The zero-based index value of the line.
|
| getLineLength | () | method |
public function getLineLength(lineIndex:int):int特定のテキスト行内の文字数を返します。 Returns the number of characters in a specific text line.
ParameterslineIndex:int — 長さが必要な行番号です。
The line number for which you want the length.
|
int — 行内の文字数です。
The number of characters in the line.
|
| getLineMetrics | () | method |
public function getLineMetrics(lineIndex:int):TextLineMetrics指定されたテキスト行に関するメトリック情報を返します。 Returns metrics information about a given text line.
ParameterslineIndex:int — メトリック情報が必要な行番号です。
The line number for which you want metrics information.
|
TextLineMetrics — TextLineMetrics オブジェクトです。
A TextLineMetrics object.
|
| getLineOffset | () | method |
public function getLineOffset(lineIndex:int):intlineIndex パラメータで指定された行の最初の文字の文字インデックスを返します。 Returns the character index of the first character in the line that the lineIndex parameter specifies.
ParameterslineIndex:int — 0 から始まる行のインデックス値です。例えば、最初の行は 0、次の行は 1 と続きます(以下同様)。
The zero-based index value of the line (for example, the first line is 0, the second line is 1, and so on).
|
int — 行の最初の文字を示す、0 から始まるインデックス値です。
The zero-based index value of the first character in the line.
|
| getLineText | () | method |
public function getLineText(lineIndex:int):StringlineIndex パラメータで指定された行のテキストを返します。 Returns the text of the line specified by the lineIndex parameter.
ParameterslineIndex:int — The zero-based index value of the line (for example, the first line is 0, the second line is 1, and so on).
0 から始まる行のインデックス値です。例えば、最初の行は 0、次の行は 1 と続きます(以下同様)。
|
String — The text string contained in the specified line.
指定された行に含まれるテキストストリングです。
|
| getParagraphLength | () | method |
public function getParagraphLength(charIndex:int):int文字インデックスを指定すると、指定された文字を含む段落の長さを返します。 Given a character index, returns the length of the paragraph containing the given character.
ParameterscharIndex:int — 文字の 0 から始まるインデックス値です。つまり、最初の文字は 0、2 番目の文字は 1 で、以下同様に続きます。
The zero-based index value of the character (for example, the first character is 0, the second character is 1, and so on).
|
int — 段落内の文字数を返します。
Returns the number of characters in the paragraph.
|
| getTextFormat | () | method |
public function getTextFormat(beginIndex:int = -1, endIndex:int = -1):TextFormatbeginIndex パラメータと endIndex パラメータで指定された範囲のテキストのフォーマット情報を含む TextFormat オブジェクトを返します。 Returns a TextFormat object that contains formatting information for the range of text that the beginIndex and endIndex parameters specify.
ParametersbeginIndex:int (default = -1) — オプション。テキストフィールド内のテキスト範囲の開始位置を指定する整数です。
Optional; an integer that specifies the starting location of a range of text within the text field.
|
|
endIndex:int (default = -1) — オプション:該当するテキスト範囲の直後の文字の位置を指定する整数。意図したとおり、beginIndex と endIndex の値を指定すると、beginIndex から endIndex-1 までのテキストが読み込まれます。
Optional; an integer that specifies the position of the first character after the desired text span. As designed, if you specify beginIndex and endIndex values, the text from beginIndex to endIndex-1 is read.
|
TextFormat — 指定されたテキストのフォーマットプロパティを表す TextFormat オブジェクトです。
The TextFormat object that represents the formatting properties for the specified text.
|
| replaceSelectedText | () | method |
public function replaceSelectedText(value:String):void現在の選択内容を value パラメータの内容に置き換えます。 Replaces the current selection with the contents of the value parameter.
Parametersvalue:String — 現在選択されているテキストを置き換えるストリングです。
The string to replace the currently selected text.
|
| replaceText | () | method |
public function replaceText(beginIndex:int, endIndex:int, newText:String):voidbeginIndex パラメータと endIndex パラメータで指定された文字範囲を、newText パラメータの内容に置き換えます。 Replaces the range of characters that the beginIndex and endIndex parameters specify with the contents of the newText parameter.
ParametersbeginIndex:int — 置換範囲の開始位置の 0 から始まるインデックス値です。
The zero-based index value for the start position of the replacement range.
|
|
endIndex:int — 該当するテキスト範囲の直後の文字の 0 から始まるインデックス位置です。
The zero-based index position of the first character after the desired text span.
|
|
newText:String — 指定された文字範囲の置き換えに使用されるテキストです。
The text to use to replace the specified range of characters.
|
| setSelection | () | method |
public function setSelection(beginIndex:int, endIndex:int):void最初の文字と最後の文字のインデックス値によって指定されたテキストを選択済みに設定します。最初の文字と最後の文字のインデックス値は、beginIndex パラメータおよび endIndex パラメータを使用して指定されます。 Sets as selected the text designated by the index values of the first and last characters, which are specified with the beginIndex and endIndex parameters.
ParametersbeginIndex:int — 選択範囲の先頭の文字の 0 から始まるインデックス値です。つまり、最初の文字が 0、2 番目の文字が 1 で、以下同様に続きます。
The zero-based index value of the first character in the selection (for example, the first character is 0, the second character is 1, and so on).
|
|
endIndex:int — 選択範囲の最後の文字を示す、0 から始まるインデックス値です。
The zero-based index value of the last character in the selection.
|
| setTextFormat | () | method |
public function setTextFormat(format:TextFormat, beginIndex:int = -1, endIndex:int = -1):voidformat パラメータで指定したテキストフォーマットを、テキストフィールド内の指定されたテキストに適用します。 Applies the text formatting that the format parameter specifies to the specified text in a text field.
Parametersformat:TextFormat — 文字と段落のフォーマット情報を含む TextFormat オブジェクトです。
A TextFormat object that contains character and paragraph formatting information.
|
|
beginIndex:int (default = -1) — オプション:該当するテキスト範囲の直後の文字を指定して、ゼロから始まるインデックス位置を指定する整数。
Optional; an integer that specifies the zero-based index position specifying the first character of the desired range of text.
|
|
endIndex:int (default = -1) — オプション:該当するテキスト範囲の直後の文字を指定する整数。意図したとおり、beginIndex と endIndex の値を指定すると、beginIndex から endIndex-1 までのテキストが更新されます。
Optional; an integer that specifies the first character after the desired text span. As designed, if you specify beginIndex and endIndex values, the text from beginIndex to endIndex-1 is updated.
|