Packagejp.nium.text
Classpublic class ExTextField
InheritanceExTextField Inheritance flash.text.TextField
ImplementsIIdGroup, ITextField, jp.nium.core.impls.IExDisplayObject
SubclassesCastTextField

ExTextField クラスは、TextField クラスの基本機能を拡張した jp.nium パッケージで使用される基本的な表示オブジェクトクラスです。 ExTextField class is a basic display object class used at jp.nium package which extends the basic function of TextField class.


Example
  // ExTextField インスタンスを作成する
  var txt:ExTextField = new ExTextField();
  

See also

jp.nium.display.getInstanceById()
jp.nium.display.getInstancesByGroup()


Public Properties
 PropertyDefined by
  className : String
[read-only] インスタンスのクラス名を取得します。 Indicates the instance className of the IExDisplayObject.
ExTextField
  group : String
インスタンスのグループ名を取得または設定します。 Indicates the instance group of the IExDisplayObject.
ExTextField
  id : String
インスタンスの識別子を取得または設定します。 Indicates the instance id of the IExDisplayObject.
ExTextField
Public Methods
 MethodDefined by
  
ExTextField(initObject:Object = null)
新しい ExTextField インスタンスを作成します。 Creates a new ExTextField object.
ExTextField
  
appendTextAtCaretIndex(newText:String):void
newText パラメータで指定されたストリングを、テキストフィールドのキャレット位置に付加します。 Add the string specified as newText parameter to the caret position of the TextField.
ExTextField
  
setProperties(parameters:Object):DisplayObject
インスタンスに対して、複数のプロパティを一括設定します。 Setup the several instance properties.
ExTextField
  
toString():String
指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
ExTextField
Property detail
classNameproperty
className:String  [read-only]

インスタンスのクラス名を取得します。 Indicates the instance className of the IExDisplayObject.

Implementation
    public function get className():String
groupproperty 
group:String  [read-write]

インスタンスのグループ名を取得または設定します。 Indicates the instance group of the IExDisplayObject.

Implementation
    public function get group():String
    public function set group(value:String):void

See also

idproperty 
id:String  [read-write]

インスタンスの識別子を取得または設定します。 Indicates the instance id of the IExDisplayObject.

Implementation
    public function get id():String
    public function set id(value:String):void

See also

Constructor detail
ExTextField()constructor
public function ExTextField(initObject:Object = null)

新しい ExTextField インスタンスを作成します。 Creates a new ExTextField object.

Parameters
initObject:Object (default = null)設定したいプロパティを含んだオブジェクトです。
Method detail
appendTextAtCaretIndex()method
public function appendTextAtCaretIndex(newText:String):void

newText パラメータで指定されたストリングを、テキストフィールドのキャレット位置に付加します。 Add the string specified as newText parameter to the caret position of the TextField.

Parameters
newText:String既存のテキストに追加するストリングです。 The string to add to the existence text.
setProperties()method 
public function setProperties(parameters:Object):DisplayObject

インスタンスに対して、複数のプロパティを一括設定します。 Setup the several instance properties.

Parameters
parameters:Object設定したいプロパティを含んだオブジェクトです。 The object that contains the property to setup.

Returns
DisplayObject自身の参照です。
toString()method 
public override function toString():String

指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.

Returns
Stringオブジェクトのストリング表現です。 A string representation of the object.