適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: 從伺服器擷取資料...
從伺服器擷取資料...
mx.core 

IWindow  - AS3 Flex

套件mx.core
介面public interface IWindow
實作者 Window, Window, WindowedApplication, WindowedApplication

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: AIR 1.1

The IWindow interface defines the API for components that serve as top-level containers in Flex-based AIR applications (containers that represent operating system windows).



公用屬性
 屬性定義自
      maximizable : Boolean
[唯讀] Specifies whether the window can be maximized.
IWindow
      minimizable : Boolean
[唯讀] Specifies whether the window can be minimized.
IWindow
      nativeWindow : NativeWindow
[唯讀] The underlying NativeWindow that the Window component uses.
IWindow
      resizable : Boolean
[唯讀] Specifies whether the window can be resized.
IWindow
      status : String
The string that appears in the status bar, if it is visible.
IWindow
      systemChrome : String
[唯讀] Specifies the type of system chrome (if any) the window has.
IWindow
      title : String
The title text that appears in the window title bar and the taskbar.
IWindow
      titleIcon : Class
The Class (usually an image) used to draw the title bar icon.
IWindow
      transparent : Boolean
[唯讀] Specifies whether the window is transparent.
IWindow
      type : String
[唯讀] Specifies the type of NativeWindow that this component represents.
IWindow
      visible : Boolean
[唯讀] Controls the window's visibility.
IWindow
公用方法
 方法定義自
  
    close():void
Closes the window.
IWindow
  
    maximize():void
Maximizes the window, or does nothing if it's already maximized.
IWindow
  
    minimize():void
Minimizes the window.
IWindow
  
    restore():void
Restores the window (unmaximizes it if it's maximized, or unminimizes it if it's minimized).
IWindow
屬性詳細資訊
    

maximizable

屬性
maximizable:Boolean  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: AIR 1.1

Specifies whether the window can be maximized.



實作
    public function get maximizable():Boolean
    

minimizable

屬性 
minimizable:Boolean  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: AIR 1.1

Specifies whether the window can be minimized.



實作
    public function get minimizable():Boolean
    

nativeWindow

屬性 
nativeWindow:NativeWindow  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: AIR 1.1

The underlying NativeWindow that the Window component uses.



實作
    public function get nativeWindow():NativeWindow
    

resizable

屬性 
resizable:Boolean  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: AIR 1.1

Specifies whether the window can be resized.



實作
    public function get resizable():Boolean
    

status

屬性 
status:String

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: AIR 1.1

The string that appears in the status bar, if it is visible.



實作
    public function get status():String
    public function set status(value:String):void
    

systemChrome

屬性 
systemChrome:String  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: AIR 1.1

Specifies the type of system chrome (if any) the window has. The set of possible values is defined by the constants in the NativeWindowSystemChrome class.



實作
    public function get systemChrome():String

相關 API 元素

    

title

屬性 
title:String

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: AIR 1.1

The title text that appears in the window title bar and the taskbar.



實作
    public function get title():String
    public function set title(value:String):void
    

titleIcon

屬性 
titleIcon:Class

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: AIR 1.1

The Class (usually an image) used to draw the title bar icon.



實作
    public function get titleIcon():Class
    public function set titleIcon(value:Class):void
    

transparent

屬性 
transparent:Boolean  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: AIR 1.1

Specifies whether the window is transparent.



實作
    public function get transparent():Boolean
    

type

屬性 
type:String  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: AIR 1.1

Specifies the type of NativeWindow that this component represents. The set of possible values is defined by the constants in the NativeWindowType class.



實作
    public function get type():String

相關 API 元素

    

visible

屬性 
visible:Boolean  [唯讀]

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: AIR 1.1

Controls the window's visibility.



實作
    public function get visible():Boolean
方法詳細資訊

    close

()方法
public function close():void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: AIR 1.1

Closes the window.

    maximize

()方法 
public function maximize():void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: AIR 1.1

Maximizes the window, or does nothing if it's already maximized.

    minimize

()方法 
public function minimize():void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: AIR 1.1

Minimizes the window.

    restore

()方法 
public function restore():void

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: AIR 1.1

Restores the window (unmaximizes it if it's maximized, or unminimizes it if it's minimized).





[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。