Packagejp.nium.display
Classpublic class ExImageLoader
InheritanceExImageLoader Inheritance ExLoader Inheritance flash.display.Loader
Subclasses CastImageLoader

ExImageLoader クラスは、ExLoader クラスに対してイメージの読み込みや制御の機能拡張を追加した表示オブジェクトクラスです。 ExImageLoader class is a display object class which extends the image reading and control function to the ExLoader class.



Public Properties
 PropertyDefined By
  align : String
画像の基準点を取得または設定します。 Get or set the reference point of the image.
ExImageLoader
 InheritedclassName : String
[read-only] インスタンスのクラス名を取得します。 Indicates the instance className of the IExDisplayObject.
ExLoader
  contentHeight : Number
[read-only] ロードされたファイルの規格高さを取得します。 Get the standard height of the loaded contents.
ExImageLoader
  contentWidth : Number
[read-only] ロードされたコンテンツの規格幅を取得します。 Get the standard width of the loaded contents.
ExImageLoader
 Inheritedgroup : String
インスタンスのグループ名を取得または設定します。 Indicates the instance group of the IExDisplayObject.
ExLoader
  height : Number
[override] 表示オブジェクトの高さを示します (ピクセル単位)。 Indicates the height of the display object, in pixels.
ExImageLoader
 Inheritedid : String
インスタンスの識別子を取得または設定します。 Indicates the instance id of the IExDisplayObject.
ExLoader
 Inheritedloading : Boolean
[read-only] 読み込み処理が実行中かどうかを取得します。 Returns if the reading process is executing.
ExLoader
  pixelSnapping : String
Bitmap オブジェクトが最も近いピクセルに吸着されるかどうかを指定します。 Controls whether or not the Bitmap object is snapped to the nearest pixel.
ExImageLoader
  ratio : Boolean
リサイズ時に比率を維持するかどうかを取得または設定します。 Get or set whether to maintain the ratio when resizing it.
ExImageLoader
  smoothing : Boolean
ビットマップを拡大 / 縮小するときにスムージングするかどうかを指定します。 Controls whether or not the bitmap is smoothed when scaled.
ExImageLoader
  width : Number
[override] 表示オブジェクトの幅を示します (ピクセル単位)。 Indicates the width of the display object, in pixels.
ExImageLoader
Public Methods
 MethodDefined By
  
新しい ExImageLoader インスタンスを作成します。 Creates a new ExImageLoader object.
ExImageLoader
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
[override] イベントリスナーオブジェクトを EventIntegrator インスタンスに登録し、リスナーがイベントの通知を受け取るようにします。 このメソッドを使用して登録されたリスナーを removeEventListener() メソッドで削除した場合には、restoreRemovedListeners() メソッドで再登録させることができます。 Register the event listener object into the EventIntegrator instance to get the event notification.
ExLoader
 Inherited
addExclusivelyEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
イベントリスナーオブジェクトを EventIntegrator インスタンスに登録し、リスナーがイベントの通知を受け取るようにします。 このメソッドを使用して登録されたリスナーは、IEventIntegrator インスタンスの管理外となるため、removeEventListener() メソッドで削除した場合にも、restoreRemovedListeners() メソッドで再登録させることができません。 Register the event listener object into the EventIntegrator instance to get the event notification.
ExLoader
 Inherited
completelyRemoveEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventIntegrator インスタンスからリスナーを削除します。 このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができません。 Remove the listener from EventIntegrator instance.
ExLoader
 Inherited
dispatchEvent(event:Event):Boolean
[override] イベントをイベントフローに送出します。 Dispatches an event into the event flow.
ExLoader
 Inherited
getInstanceById(id:String):DisplayObject
指定された id と同じ値が設定されている IExDisplayObject インターフェイスを実装したインスタンスを返します。 Returns the instance implements the IExDisplayObject interface which is set the same value of the specified id.
ExLoader
 Inherited
getInstancesByGroup(group:String, sort:Boolean = false):Array
指定された group と同じ値を持つ IExDisplayObject インターフェイスを実装したインスタンスを含む配列を返します。 Returns the array contains the instance which implements the IExDisplayObject interface that has the same value of the specified group.
ExLoader
 Inherited
getInstancesByRegExp(fieldName:String, pattern:RegExp, sort:Boolean = false):Array
指定された fieldName が条件と一致する IExDisplayObject インターフェイスを実装したインスタンスを含む配列を返します。 Returns the array contains the instance which implements the IExDisplayObject interface that match the condition to the specified fieldName.
ExLoader
 Inherited
hasEventListener(type:String):Boolean
[override] EventIntegrator インスタンスに、特定のイベントタイプに対して登録されたリスナーがあるかどうかを確認します。 Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
ExLoader
  
load(request:URLRequest, context:LoaderContext = null):void
[override] イメージファイルを読み込みます。 Read the image file.
ExImageLoader
 Inherited
removeAllListeners(completely:Boolean = false):void
addEventListener() メソッド経由で登録された全てのイベントリスナー登録を削除します。 完全に登録を削除しなかった場合には、削除されたイベントリスナーを restoreRemovedListeners() メソッドで復帰させることができます。 Remove the whole event listener registered via addEventListener() method.
ExLoader
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
[override] EventIntegrator インスタンスからリスナーを削除します。 このメソッドを使用して削除されたリスナーは、restoreRemovedListeners() メソッドで再登録させることができます。 Remove the listener from EventIntegrator instance.
ExLoader
 Inherited
removeEventListener() メソッド、または removeAllListeners() メソッド経由で削除された全てイベントリスナーを再登録します。 Re-register the whole event listener removed via removeEventListener() or removeAllListeners() method.
ExLoader
 Inherited
setProperties(props:Object):DisplayObject
インスタンスに対して、複数のプロパティを一括設定します。 Setup the several instance properties.
ExLoader
 Inherited
toBitmapData(transparent:Boolean = true, fillColor:uint = 0xFFFFFFFF):BitmapData
指定されたオブジェクトの BitmapData 表現を返します。 Returns the BitmapData representation of the specified object.
ExLoader
 Inherited
toString():String
[override] 指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
ExLoader
 Inherited
willTrigger(type:String):Boolean
[override] 指定されたイベントタイプについて、この EventIntegrator インスタンスまたはその祖先にイベントリスナーが登録されているかどうかを確認します。 Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
ExLoader
Property Detail
alignproperty
align:String

画像の基準点を取得または設定します。 Get or set the reference point of the image.


Implementation
    public function get align():String
    public function set align(value:String):void
contentHeightproperty 
contentHeight:Number  [read-only]

ロードされたファイルの規格高さを取得します。 Get the standard height of the loaded contents.


Implementation
    public function get contentHeight():Number
contentWidthproperty 
contentWidth:Number  [read-only]

ロードされたコンテンツの規格幅を取得します。 Get the standard width of the loaded contents.


Implementation
    public function get contentWidth():Number
heightproperty 
height:Number[override]

表示オブジェクトの高さを示します (ピクセル単位)。 Indicates the height of the display object, in pixels.


Implementation
    public function get height():Number
    public function set height(value:Number):void
pixelSnappingproperty 
pixelSnapping:String

Bitmap オブジェクトが最も近いピクセルに吸着されるかどうかを指定します。 Controls whether or not the Bitmap object is snapped to the nearest pixel.


Implementation
    public function get pixelSnapping():String
    public function set pixelSnapping(value:String):void
ratioproperty 
ratio:Boolean

リサイズ時に比率を維持するかどうかを取得または設定します。 Get or set whether to maintain the ratio when resizing it.


Implementation
    public function get ratio():Boolean
    public function set ratio(value:Boolean):void
smoothingproperty 
smoothing:Boolean

ビットマップを拡大 / 縮小するときにスムージングするかどうかを指定します。 Controls whether or not the bitmap is smoothed when scaled.


Implementation
    public function get smoothing():Boolean
    public function set smoothing(value:Boolean):void
widthproperty 
width:Number[override]

表示オブジェクトの幅を示します (ピクセル単位)。 Indicates the width of the display object, in pixels.


Implementation
    public function get width():Number
    public function set width(value:Number):void
Constructor Detail
ExImageLoader()Constructor
public function ExImageLoader()

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

Method Detail
load()method
override public function load(request:URLRequest, context:LoaderContext = null):void

イメージファイルを読み込みます。 Read the image file.

Parameters

request:URLRequest読み込む JPEG、GIF、または PNG ファイルの絶対 URL または相対 URL です。 Absolute or relative URL of the JPEG , GIF or PNG file to read.
 
context:LoaderContext (default = null)LoaderContext オブジェクトです。 The LoaderContext object.