WBComponent __construct(
[array
$options = array()]
)
|
|
WBComponent 생성자
내부적으로 id 속성이 지정되어 있지 않으면 id를 자동으로 생성해서 등록한다.
Parameters:
|
array |
$options: |
WBComponent에 설정될 옵션 리스트 |
API Tags:
Redefinition of:
- WBObject::__construct()
- WBObject 생성자
Redefined in descendants as:
객체 생성
create 이벤트 실행
API Tags:
객체 생성 실제 정의 , instance 생성
API Tags:
| Return: | WBComponent의 instance |
| Access: | protected |
Redefined in descendants as:
레이아웃 실행
API Tags:
Redefined in descendants as:
윈도우 dll 기반 함수 사용
API Tags:
void getBounds(
[
$lparam = false]
)
|
|
위치, 영역 얻어오기
Parameters:
API Tags:
resource getControl(
$id
)
|
|
id에 해당하는 컨트롤의 instance를 얻어온다.
Parameters:
API Tags:
focus 얻기
API Tags:
| Return: | focus 를 가지고 있는 instance |
| Access: | public |
WBGraphics 객체 생성
API Tags:
WinBinder 내부에서 사용하는 구조체를 리턴해준다.
API Tags:
현재 WBComponent id 가지고 오기
Parameters:
API Tags:
instance 얻어오기
API Tags:
| Return: | WBComponent instance |
| Access: | public |
현재 WBComponent의 Child Component 개수 얻어오기
API Tags:
현재 WBComponent의 Child Component 의 instance 리스트
API Tags:
int getParent(
[int
$item = null]
)
|
|
상위 WBComponent instance 가져오기
Parameters:
|
int |
$item: |
TreeView의 item |
API Tags:
| Return: | instance |
| Access: | public |
array getPosition(
[bool
$clientarea = false]
)
|
|
현재 위치 가지고 오기
Parameters:
|
bool |
$clientarea: |
true이면 실제 영역, false 이면 전체 영역 |
API Tags:
| Return: | 시작 위치 |
| Access: | public |
Redefined in descendants as:
기본크기 얻어오기
API Tags:
Redefined in descendants as:
array getSize(
[bool
$lparam = false]
)
|
|
윈도우 또는 컨트롤 크기 가져오기
Parameters:
|
bool |
$lparam: |
true 이면 실제 표시영역 |
API Tags:
Redefined in descendants as:
string getText(
[int
$item = null], [int
$subitem = null]
)
|
|
text, caption 설정
Parameters:
API Tags:
WBComponent 기본 설정
API Tags:
Redefined in descendants as:
객체가 생성되기 이전의 환경 설정
API Tags:
Redefined in descendants as:
WBC_REDRAW 이벤트 실행
repaint() 메소드로 Graphics 객체를 넘겨준다.
Parameters:
API Tags:
WBC_RESIZE 이벤트 실행
doLayout() 메소드를 실행
API Tags:
void refresh(
[bool
$now = false]
)
|
|
지정한 영역을 다시 그림
Parameters:
|
bool |
$now: |
true : 지금 즉시, false : 나중에(?) |
API Tags:
Redefined in descendants as:
void repaint(
$graphics
)
|
|
다시 그리기 실행
Parameters:
API Tags:
void send(
$message,
$wparam,
$lparam
)
|
|
Control 에 메세지를 보낸다.
Parameters:
|
|
$message: |
|
|
|
$wparam: |
|
|
|
$lparam: |
|
API Tags:
void setArea(
$type, [
$x = 0], [
$y = 0], [
$width = 0], [
$height = 0]
)
|
|
활성 영역 설정하기
Parameters:
|
|
$type: |
|
|
|
$x: |
|
|
|
$y: |
|
|
|
$width: |
|
|
|
$height: |
|
API Tags:
void setBounds(
int
$x, int
$y, int
$width, int
$height
)
|
|
위치, 크기 동시 설정
Parameters:
|
int |
$x: |
|
|
int |
$y: |
|
|
int |
$width: |
|
|
int |
$height: |
|
API Tags:
현재 WBComponent에 focus 설정
API Tags:
void setFont(
mixed
$font, [bool
$redraw = false]
)
|
|
폰트 설정
Parameters:
|
mixed |
$font: |
|
|
bool |
$redraw: |
|
API Tags:
void setImage(
int
$source, [int
$transparentcolor = NOCOLOR], [int
$index = 1], [int
$param = 0]
)
|
|
이미지 설정하기
Parameters:
|
int |
$source: |
|
|
int |
$transparentcolor: |
|
|
int |
$index: |
|
|
int |
$param: |
|
API Tags:
void setInstance(
int
$instance
)
|
|
instance 설정하기
Parameters:
API Tags:
void setMaximumSize(
[
$width = 0], [
$height = 0]
)
|
|
최대 사이즈 설정
Parameters:
API Tags:
Redefined in descendants as:
void setMinimumSize(
[
$width = 0], [
$height = 0]
)
|
|
최소사이즈 설정
Parameters:
API Tags:
Redefined in descendants as:
bool setPosition(
[int
$x = WBC_CENTER], [int
$y = WBC_CENTER]
)
|
|
현재 위치 설정
Parameters:
API Tags:
Redefined in descendants as:
void setSize(
int
$width, [int
$height = null]
)
|
|
윈도우 또는 컨트롤 크기 조정하기
Parameters:
API Tags:
Redefined in descendants as:
void setStyle(
int
$style, [bool
$set = true]
)
|
|
style 설정하기
Parameters:
|
int |
$style: |
설정될 style |
|
bool |
$set: |
|
API Tags:
void setText(
string
$text, [int
$item = null], [int
$subitem = null]
)
|
|
text,caption 설정하기
Parameters:
|
string |
$text: |
설정할 텍스트 |
|
int |
$item: |
|
|
int |
$subitem: |
|
API Tags:
Redefined in descendants as:
void setVisible(
[bool
$isVisible = true]
)
|
|
보이기 여부 설정
Parameters:
API Tags:
Redefined in descendants as:
객체 문자열 얻어오기
API Tags:
Redefinition of:
- PObject::toString()
- 객체 문자열로 변환
Redefined in descendants as: