phpDocumentor php-ui-winbinder
[ class tree: php-ui-winbinder ] [ index: php-ui-winbinder ] [ all elements ]

Class: WBApplication

Source Location: /php/ui/winbinder/WBApplication.php

Class WBApplication

Property Summary
static mixed   $_classList   클래스 문자열
static mixed   $_eventList   이벤트 상수 문자열 리스트
static mixed   $_idCount   아이디 기본 수
static mixed   $_idList   아이디별 Control 리스트
static mixed   $_nameList   이름별 id 리스트
static mixed   $_windowList   instance별 window 리스트

[ Top ]
Method Summary
static WBLibrary   createExternModule()   create extern module(dll)
static WBLayout   createLayout()   layout 속성으로 WBXXXLayout 객체 생성
static WBComponent   createObject()   wbtype 으로 객체 생성하기
static string   event()   이벤트명 얻기
static string   getClassName()   클래스 상수에 따른 문자열
static int   getConstant()   WinBinder 지정된 상수 얻어오기
static int   getIdCount()   unique id 생성
static mixed   getInstance()   instance 얻어오기
static WBComponent   getObject()   id 또는 name 기반 Control 객체 얻어오기
static mixed   getParent()   객체의 최상위 윈도우 객체 얻기
static WBWindow   getWindow()   instance에 맞는 window 객체 얻어오기
static void   setName()   name별 id 설정
static void   setObject()   id별 객체 설정
static void   setWindow()   instance 별 window 객체 설정
static void   start()   이벤트 대기 시작

[ Top ]
Properties
static mixed   $_classList = array(
AppWindow => 'AppWindow',
ModalDialog => 'ModalDialog',
ModelessDialog => 'ModelessDialog',
NakedWindow => 'NakedWindow',
PopupWindow => 'PopupWindow',
ResizableWindow => 'ResizableWindow',
ToolDialog => 'ToolDialog',

Accel => 'Accel',
Calendar => 'Calendar',
CheckBox => 'CheckBox ',
ComboBox => 'ComboBox',
EditBox => 'EditBox',
Frame => 'Frame',
Gauge => 'Gauge',
HTMLControl => 'HTMLControl',
HyperLink => 'HyperLink',
ImageButton => 'ImageButton',
Label => 'Label',
ListBox => 'ListBox',
ListView => 'ListView',
Menu => 'Menu',
PushButton => 'PushButton',
RadioButton => 'RadioButton',
RTFEditBox => 'RTFEditBox',
ScrollBar => 'ScrollBar',
Slider => 'Slider',
Spinner => 'Spinner',
StatusBar => 'StatusBar',
TabControl => 'TabControl',
ToolBar => 'ToolBar',
TreeView => 'TreeView',


)
[line 63]

클래스 문자열

API Tags:
Access:  public


[ Top ]
static mixed   $_eventList = array(
WBC_DBLCLICK => 'dblclick',
WBC_MOUSEMOVE => 'mousemove',
WBC_MOUSEDOWN => 'mousedown',
WBC_MOUSEUP => 'mouseup',
WBC_KEYDOWN => 'keydown',
WBC_KEYUP => 'keyup',
WBC_GETFOCUS => 'focus',
WBC_REDRAW => 'redraw',
WBC_RESIZE => 'resize',
)
[line 47]

이벤트 상수 문자열 리스트

API Tags:
Access:  public


[ Top ]
static mixed   $_idCount = 10000 [line 23]

아이디 기본 수

API Tags:
Access:  public


[ Top ]
static mixed   $_idList = array() [line 29]

아이디별 Control 리스트

API Tags:
Access:  public


[ Top ]
static mixed   $_nameList = array() [line 35]

이름별 id 리스트

API Tags:
Access:  public


[ Top ]
static mixed   $_windowList = array() [line 41]

instance별 window 리스트

API Tags:
Access:  public


[ Top ]
Methods
static method createExternModule  [line 305]

  static WBLibrary createExternModule( string $module  )

create extern module(dll)

Parameters:
string   $module:  dll class name

API Tags:
Access:  public


[ Top ]
static method createLayout  [line 277]

  static WBLayout createLayout( array $options  )

layout 속성으로 WBXXXLayout 객체 생성

Parameters:
array   $options: 

API Tags:
Access:  public


[ Top ]
static method createObject  [line 249]

  static WBComponent createObject( array|WBComponent $options, [ $parent = null]  )

wbtype 으로 객체 생성하기

Parameters:
array|WBComponent   $options: 
   $parent: 

API Tags:
Access:  public


[ Top ]
static method event  [line 228]

  static string event( int $key  )

이벤트명 얻기

Parameters:
int   $key:  이벤트 상수

API Tags:
Access:  public


[ Top ]
static method getClassName  [line 319]

  static string getClassName( string $class  )

클래스 상수에 따른 문자열

Parameters:
string   $class:  클래스 상수

API Tags:
Access:  public


[ Top ]
static method getConstant  [line 144]

  static int getConstant( string|int $constant  )

WinBinder 지정된 상수 얻어오기

Parameters:
string|int   $constant: 

API Tags:
Access:  public


[ Top ]
static method getIdCount  [line 216]

  static int getIdCount( )

unique id 생성


API Tags:
Access:  public


[ Top ]
static method getInstance  [line 238]

  static mixed getInstance( mixed $obj  )

instance 얻어오기

Parameters:
mixed   $obj:  instance를 가지고 있는 객체

API Tags:
Return:  메소드를 가지고 있으면 getInstance(), 없으면 $obj 그대로
Access:  public


[ Top ]
static method getObject  [line 115]

  static WBComponent getObject( int|string $id  )

id 또는 name 기반 Control 객체 얻어오기

Parameters:
int|string   $id:  Control의 아이디

API Tags:
Access:  public


[ Top ]
static method getParent  [line 203]

  static mixed getParent( WBComponent $obj  )

객체의 최상위 윈도우 객체 얻기

Parameters:
WBComponent   $obj:  상위 윈도우 객체를 얻을 component

API Tags:
Return:  WBWindow, WBTabControl, null 리턴
Access:  public


[ Top ]
static method getWindow  [line 178]

  static WBWindow getWindow( int $instance  )

instance에 맞는 window 객체 얻어오기

Parameters:
int   $instance:  window객체 instance

API Tags:
Access:  public


[ Top ]
static method setName  [line 163]

  static void setName( string $name, int $id  )

name별 id 설정

Parameters:
string   $name:  컴포넌트 객체 이름
int   $id:  컴포넌트 아이디

API Tags:
Access:  public


[ Top ]
static method setObject  [line 129]

  static void setObject( int $id, WBComponent $obj  )

id별 객체 설정

Parameters:
int   $id:  컴포넌트 아이디
WBComponent   $obj:  컴포넌트 객체

API Tags:
Access:  public


[ Top ]
static method setWindow  [line 188]

  static void setWindow( int $instance, WBWindow $obj  )

instance 별 window 객체 설정

Parameters:
int   $instance: 
WBWindow   $obj: 

API Tags:
Access:  public


[ Top ]
static method start  [line 105]

  static void start( )

이벤트 대기 시작


API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 09 Apr 2010 11:57:37 +0900 by phpDocumentor 1.4.3