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

Class: WBComponent

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

Class WBComponent

Descendants
Child Class Description
WBContainer WBContainer
WBControl WBControl

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From WBObject

WBObject::__construct()
WBObject 생성자
WBObject::addEvent()
사용자 이벤트 추가
WBObject::fire()
이벤트 실행 출발점
WBObject::fireEvent()
이벤트 실행
WBObject::getOption()
$key 에 맞는 값 가져오기
WBObject::getOptionList()
option list
WBObject::initEvent()
WBObject::on()
addEvent() 와 같음
WBObject::setEvent()
기본 이벤트에 해당하는 callback 함수 설정
WBObject::setOption()
option 설정
WBObject::setOptionList()
options 설정
WBObject::__get()
$key 에 맞는 값 가져오기
WBObject::__isset()
옵션 설정 여부 체크
WBObject::__set()
option value 설정하기
WBObject::__unset()
option 메모리 해제

Inherited From PObject

PObject::__construct()
생성자
PObject::display()
객체 문자열을 출력
PObject::equals()
객체 비교 (수정 필요)
PObject::getClass()
PObject::getObjValue()
객체인지 아닌지 판별해서 PObject 형 객체이면 toString() 메소드로 문자열을 반환하고 일단 자료형이면 그 형태 그대로 리턴한다
PObject::isObject()
객체 확인
PObject::toString()
객체 문자열로 변환
PObject::__toString()
magic methods 추가 , toString() 의 값을 그대로 리턴한다.

[ Top ]
Method Summary
WBComponent   __construct()   WBComponent 생성자
void   create()   객체 생성
int   createComponent()   객체 생성 실제 정의 , instance 생성
void   doLayout()   레이아웃 실행
mixed   extern()   윈도우 dll 기반 함수 사용
void   getBounds()   위치, 영역 얻어오기
int   getClass()   클래스 상수 얻어옴
resource   getControl()   id에 해당하는 컨트롤의 instance를 얻어온다.
int   getFocus()   focus 얻기
WBGraphics   getGraphics()   WBGraphics 객체 생성
void   getHwnd()   WinBinder 내부에서 사용하는 구조체를 리턴해준다.
void   getId()   현재 WBComponent id 가지고 오기
int   getInstance()   instance 얻어오기
int   getItemCount()   현재 WBComponent의 Child Component 개수 얻어오기
array   getItemList()   현재 WBComponent의 Child Component 의 instance 리스트
void   getMaximumSize()   최대 사이즈 얻어오기
void   getMinimumSize()   최소 사이즈 얻어오기
int   getParent()   상위 WBComponent instance 가져오기
array   getPosition()   현재 위치 가지고 오기
array   getPreferedSize()   기본크기 얻어오기
array   getSize()   윈도우 또는 컨트롤 크기 가져오기
string   getText()   text, caption 설정
void   initComponent()   WBComponent 기본 설정
void   initCreate()   객체가 생성되기 이전의 환경 설정
void   initEvent()   기본 이벤트 설정
bool   isVisible()   보이기 여부
void   onRedraw()   WBC_REDRAW 이벤트 실행
void   onResize()   WBC_RESIZE 이벤트 실행
void   refresh()   지정한 영역을 다시 그림
void   repaint()   다시 그리기 실행
void   send()   Control 에 메세지를 보낸다.
void   setArea()   활성 영역 설정하기
void   setBounds()   위치, 크기 동시 설정
bool   setFocus()   현재 WBComponent에 focus 설정
void   setFont()   폰트 설정
void   setImage()   이미지 설정하기
void   setInstance()   instance 설정하기
void   setMaximumSize()   최대 사이즈 설정
void   setMinimumSize()   최소사이즈 설정
bool   setPosition()   현재 위치 설정
void   setSize()   윈도우 또는 컨트롤 크기 조정하기
void   setStyle()   style 설정하기
void   setText()   text,caption 설정하기
void   setVisible()   보이기 여부 설정
string   toString()   객체 문자열 얻어오기

[ Top ]
Properties
mixed   $_isCreated = false [line 18]
API Tags:
Access:  protected


[ Top ]
Methods
create  [line 104]

  void create( )

객체 생성

create 이벤트 실행


API Tags:
Access:  public


[ Top ]
createComponent  [line 126]

  int createComponent( )

객체 생성 실제 정의 , instance 생성


API Tags:
Return:  WBComponent의 instance
Access:  protected


Redefined in descendants as:

[ Top ]
doLayout  [line 174]

  void doLayout( )

레이아웃 실행


API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
extern  [line 508]

  mixed extern( )

윈도우 dll 기반 함수 사용


API Tags:
Access:  public


[ Top ]
getBounds  [line 438]

  void getBounds( [ $lparam = false]  )

위치, 영역 얻어오기

Parameters:
   $lparam: 

API Tags:
Access:  public


[ Top ]
getClass  [line 206]

  int getClass( )

클래스 상수 얻어옴


API Tags:
Return:  클래스 상수
Access:  public


Redefinition of:
PObject::getClass()

[ Top ]
getControl  [line 535]

  resource getControl( $id  )

id에 해당하는 컨트롤의 instance를 얻어온다.

Parameters:
   $id: 

API Tags:
Access:  public


[ Top ]
getFocus  [line 215]

  int getFocus( )

focus 얻기


API Tags:
Return:  focus 를 가지고 있는 instance
Access:  public


[ Top ]
getGraphics  [line 483]

  WBGraphics getGraphics( )

WBGraphics 객체 생성


API Tags:
Access:  public


[ Top ]
getHwnd  [line 494]

  void getHwnd( )

WinBinder 내부에서 사용하는 구조체를 리턴해준다.


API Tags:
See:  WBStruct
See:  WBOBJ
Access:  public


[ Top ]
getId  [line 234]

  void getId( int 0  )

현재 WBComponent id 가지고 오기

Parameters:
int   0: 

API Tags:
Access:  public


[ Top ]
getInstance  [line 85]

  int getInstance( )

instance 얻어오기


API Tags:
Return:  WBComponent instance
Access:  public


[ Top ]
getItemCount  [line 254]

  int getItemCount( )

현재 WBComponent의 Child Component 개수 얻어오기


API Tags:
Access:  public


[ Top ]
getItemList  [line 263]

  array getItemList( )

현재 WBComponent의 Child Component 의 instance 리스트


API Tags:
Access:  public


[ Top ]
getMaximumSize  [line 163]

  void getMaximumSize( )

최대 사이즈 얻어오기


API Tags:
Access:  public


[ Top ]
getMinimumSize  [line 143]

  void getMinimumSize( )

최소 사이즈 얻어오기


API Tags:
Access:  public


[ Top ]
getParent  [line 245]

  int getParent( [int $item = null]  )

상위 WBComponent instance 가져오기

Parameters:
int   $item:  TreeView의 item

API Tags:
Return:  instance
Access:  public


[ Top ]
getPosition  [line 273]

  array getPosition( [bool $clientarea = false]  )

현재 위치 가지고 오기

Parameters:
bool   $clientarea:  true이면 실제 영역, false 이면 전체 영역

API Tags:
Return:  시작 위치
Access:  public


Redefined in descendants as:

[ Top ]
getPreferedSize  [line 311]

  array getPreferedSize( )

기본크기 얻어오기


API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
getSize  [line 296]

  array getSize( [bool $lparam = false]  )

윈도우 또는 컨트롤 크기 가져오기

Parameters:
bool   $lparam:  true 이면 실제 표시영역

API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
getText  [line 342]

  string getText( [int $item = null], [int $subitem = null]  )

text, caption 설정

Parameters:
int   $item: 
int   $subitem: 

API Tags:
Access:  public


[ Top ]
initCreate  [line 54]

  void initCreate( )

객체가 생성되기 이전의 환경 설정


API Tags:
Access:  protected


Redefined in descendants as:

[ Top ]
initEvent  [line 61]

  void initEvent( )

기본 이벤트 설정


API Tags:
Access:  protected


Redefinition of:
WBObject::initEvent()

Redefined in descendants as:

[ Top ]
isVisible  [line 363]

  bool isVisible( )

보이기 여부


API Tags:
Access:  public


[ Top ]
onRedraw  [line 462]

  void onRedraw( $eo  )

WBC_REDRAW 이벤트 실행

repaint() 메소드로 Graphics 객체를 넘겨준다.

Parameters:
   $eo: 

API Tags:
Access:  public


[ Top ]
onResize  [line 473]

  void onResize( )

WBC_RESIZE 이벤트 실행

doLayout() 메소드를 실행


API Tags:
Access:  public


[ Top ]
refresh  [line 191]

  void refresh( [bool $now = false]  )

지정한 영역을 다시 그림

Parameters:
bool   $now:  true : 지금 즉시, false : 나중에(?)

API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
repaint  [line 182]

  void repaint( $graphics  )

다시 그리기 실행

Parameters:
   $graphics: 

API Tags:
Access:  public


[ Top ]
send  [line 543]

  void send( $message, $wparam, $lparam  )

Control 에 메세지를 보낸다.

Parameters:
   $message: 
   $wparam: 
   $lparam: 

API Tags:
Access:  public


[ Top ]
setArea  [line 397]

  void setArea( $type, [ $x = 0], [ $y = 0], [ $width = 0], [ $height = 0]  )

활성 영역 설정하기

Parameters:
   $type: 
   $x: 
   $y: 
   $width: 
   $height: 

API Tags:
Access:  public


[ Top ]
setBounds  [line 419]

  void setBounds( int $x, int $y, int $width, int $height  )

위치, 크기 동시 설정

Parameters:
int   $x: 
int   $y: 
int   $width: 
int   $height: 

API Tags:
Access:  public


[ Top ]
setFocus  [line 225]

  bool setFocus( )

현재 WBComponent에 focus 설정


API Tags:
Access:  public


[ Top ]
setFont  [line 430]

  void setFont( mixed $font, [bool $redraw = false]  )

폰트 설정

Parameters:
mixed   $font: 
bool   $redraw: 

API Tags:
Access:  public


[ Top ]
setImage  [line 384]

  void setImage( int $source, [int $transparentcolor = NOCOLOR], [int $index = 1], [int $param = 0]  )

이미지 설정하기

Parameters:
int   $source: 
int   $transparentcolor: 
int   $index: 
int   $param: 

API Tags:
Access:  public


[ Top ]
setInstance  [line 94]

  void setInstance( int $instance  )

instance 설정하기

Parameters:
int   $instance: 

API Tags:
Access:  public


[ Top ]
setMaximumSize  [line 154]

  void setMaximumSize( [ $width = 0], [ $height = 0]  )

최대 사이즈 설정

Parameters:
   $width: 
   $height: 

API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
setMinimumSize  [line 134]

  void setMinimumSize( [ $width = 0], [ $height = 0]  )

최소사이즈 설정

Parameters:
   $width: 
   $height: 

API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
setPosition  [line 286]

  bool setPosition( [int $x = WBC_CENTER], [int $y = WBC_CENTER]  )

현재 위치 설정

Parameters:
int   $x:  x좌표
int   $y:  y좌표

API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
setSize  [line 321]

  void setSize( int $width, [int $height = null]  )

윈도우 또는 컨트롤 크기 조정하기

Parameters:
int   $width: 
int   $height: 

API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
setStyle  [line 407]

  void setStyle( int $style, [bool $set = true]  )

style 설정하기

Parameters:
int   $style:  설정될 style
bool   $set: 

API Tags:
Access:  public


[ Top ]
setText  [line 354]

  void setText( string $text, [int $item = null], [int $subitem = null]  )

text,caption 설정하기

Parameters:
string   $text:  설정할 텍스트
int   $item: 
int   $subitem: 

API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
setVisible  [line 372]

  void setVisible( [bool $isVisible = true]  )

보이기 여부 설정

Parameters:
bool   $isVisible: 

API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
toString  [line 451]

  string toString( )

객체 문자열 얻어오기


API Tags:
Access:  public


Redefinition of:
PObject::toString()
객체 문자열로 변환

Redefined in descendants as:

[ Top ]

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