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

Class: WBControl

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

Class WBControl

Descendants
Child Class Description
WBAccel 단축키 설정 클래스
WBCalendar Calendar
WBCheckBox CheckBox
WBComboBox ComboBox
WBEditBox WBEditBox
WBFrame WBFrame
WBGauge WBGauge
WBHTMLControl WBHTMLControl
WBHyperLink WBHyperLink
WBImageButton WBImageButton
WBLabel WBLabel
WBListBox WBListBox
WBListView WBListView
WBMenu WBMenu
WBPushButton WBPushButton
WBRadioButton WBRadioButton
WBRTFEditBox WBRTFEditBox
WBScrollBar WBScrollBar
WBSlider WBSlider
WBSpinner WBSpinner
WBStatusBar WBStatusBar
WBTabControl WBTabControl
WBToolBar WBToolBar
WBTreeView WBTreeView

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

Inherited From WBComponent

WBComponent::$_isCreated

Inherited From WBComponent

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

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
WBControl   __construct()   생성자
void   click()   click 이벤트 실행
void   createComponent()  
void   createItems()   item 생성
void   deleteItems()   아이템 삭제
void   destroy()   컨트롤 메모리 해제
void   fire()   이벤트 실행
int   getLevel()   Treeview node depth 얻어오기
int   getSelected()   선택된 index 얻어오기
bool   getState()   TreeView , expanded, collapsed 표시
mixed   getValue()   value 설정
void   initComponent()  
void   initCreate()  
void   initEvent()  
bool   isEnabled()   활성 여부
void   setAccel()   단축키 설정
void   setBorder()  
void   setEnabled()   enabled 설정
void   setItemImage()   아이템 이미지 설정
void   setRange()   범위 지정하기
void   setSelected()   selected 설정
void   setState()   TreeView 상태 설정
void   setValue()   value 설정
void   sort()   정렬하기

[ Top ]
Methods
click  [line 279]

  void click( )

click 이벤트 실행


API Tags:
Access:  public


[ Top ]
createComponent  [line 27]

  void createComponent( )


API Tags:
Access:  protected


Redefinition of:
WBComponent::createComponent()
객체 생성 실제 정의 , instance 생성

[ Top ]
createItems  [line 108]

  void createItems( $items, [ $clear = false], [ $param = null]  )

item 생성

Parameters:
   $items: 
   $clear: 
   $param: 

API Tags:
Access:  public


[ Top ]
deleteItems  [line 116]

  void deleteItems( [ $items = null]  )

아이템 삭제

Parameters:
   $items: 

API Tags:
Access:  public


[ Top ]
destroy  [line 124]

  void destroy( )

컨트롤 메모리 해제


API Tags:
Access:  public


[ Top ]
fire  [line 264]

  void fire( WBEvent $eo  )

이벤트 실행

Parameters:
WBEvent   $eo:  이벤트 객체

API Tags:
Access:  public


Redefinition of:
WBObject::fire()
이벤트 실행 출발점

Redefined in descendants as:

[ Top ]
getLevel  [line 143]

  int getLevel( int $item  )

Treeview node depth 얻어오기

Parameters:
int   $item:  TreeView node

API Tags:
Access:  public


[ Top ]
getSelected  [line 152]

  int getSelected( )

선택된 index 얻어오기


API Tags:
Access:  public


[ Top ]
getState  [line 161]

  bool getState( $item  )

TreeView , expanded, collapsed 표시

Parameters:
   $item: 

API Tags:
Return:  true : expanded, false : collpased
Access:  public


[ Top ]
getValue  [line 172]

  mixed getValue( [int $item = null], [int $subitem = null]  )

value 설정

Parameters:
int   $item: 
int   $subitem: 

API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
initCreate  [line 56]

  void initCreate( )


API Tags:
Access:  protected


Redefinition of:
WBComponent::initCreate()
객체가 생성되기 이전의 환경 설정

Redefined in descendants as:

[ Top ]
initEvent  [line 67]

  void initEvent( )


API Tags:
Access:  protected


Redefinition of:
WBComponent::initEvent()
기본 이벤트 설정

Redefined in descendants as:

[ Top ]
isEnabled  [line 133]

  bool isEnabled( )

활성 여부


API Tags:
Access:  public


[ Top ]
setAccel  [line 201]

  void setAccel( $keyBind, string $keybind  )

단축키 설정

Parameters:
string   $keybind: 
   $keyBind: 

API Tags:
Access:  public


[ Top ]
setBorder  [line 235]

  void setBorder( [ $isBorder = true]  )

Parameters:
   $isBorder: 

API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
setEnabled  [line 181]

  void setEnabled( [bool $enabled = true]  )

enabled 설정

Parameters:
bool   $enabled: 

API Tags:
Access:  public


[ Top ]
setItemImage  [line 192]

  void setItemImage( int $index, [int $item = 0], [int $subitem = 0]  )

아이템 이미지 설정

Parameters:
int   $index: 
int   $item: 
int   $subitem: 

API Tags:
Access:  public


[ Top ]
setRange  [line 245]

  void setRange( [int $min = 0], [int $max = 0]  )

범위 지정하기

Parameters:
int   $min: 
int   $max:  max

API Tags:
Access:  public


Redefined in descendants as:

[ Top ]
setSelected  [line 211]

  void setSelected( int $items, [bool $selected = true]  )

selected 설정

Parameters:
int   $items: 
bool   $selected: 

API Tags:
Access:  public


[ Top ]
setState  [line 221]

  void setState( int $item, bool $state  )

TreeView 상태 설정

Parameters:
int   $item: 
bool   $state: 

API Tags:
Access:  public


[ Top ]
setValue  [line 231]

  void setValue( mixed $value, [int $item = null]  )

value 설정

Parameters:
mixed   $value: 
int   $item: 

API Tags:
Access:  public


[ Top ]
sort  [line 255]

  void sort( [bool $asc = true], [bool $subitem = null]  )

정렬하기

Parameters:
bool   $asc:  true 이면 asc, false 이면 desc
bool   $subitem: 

API Tags:
Access:  public


Redefined in descendants as:

[ Top ]

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