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

Class: WBTabControl

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

Class WBTabControl

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From WBComponent

WBComponent::$_isCreated

Inherited From WBControl

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

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
WBTabControl   __construct()  
mixed   add()   rootPanel 에 컴포넌트 추가 하기
int   addTab()   Tab page 추가한다.
void   doLayout()   전체 tab panel 레이아웃 실행
void   fire()   tab Control 관련 이벤트 실행
int   getActiveTab()   현재 활성화된 tab 얻어오기
WBPanel   getRootPanel()   각 tab의 rootPanel 얻어오기
bool   getTabIndex()   page 에 해당하는 tab index 얻어오기
array   getTabList()   tab page 리스트 얻어오기
string   getTabText()   tab 의 title 얻어오기
void   handler()   TabControl 이벤트 전달 함수
void   initComponent()  
void   setActiveTab()   지정된 탭 활성화 하기
void   setHandler()   이벤트가 전달될 handler 지정
void   setRootPanel()   tab 별 rootPanel 설정
void   setTab()   탭 설정
void   setTabText()   tab 의 title 변경

[ Top ]
Methods
Constructor __construct  [line 23]

  WBTabControl __construct( [ $options = array()]  )

Parameters:
   $options: 

API Tags:
Access:  public


Redefinition of:
WBControl::__construct()
생성자

[ Top ]
add  [line 193]

  mixed add( WBComponent $component  )

rootPanel 에 컴포넌트 추가 하기

component 에 tab 변수가 지정이 되어 있어야 함

Parameters:
WBComponent   $component: 

API Tags:
Access:  public


[ Top ]
addTab  [line 123]

  int addTab( $tab, [ $layout = 'hbox']  )

Tab page 추가한다.

Parameters:
   $tab: 
   $layout: 

API Tags:
Access:  public


[ Top ]
doLayout  [line 213]

  void doLayout( )

전체 tab panel 레이아웃 실행


API Tags:
See:  doLayout()
Access:  public


Redefinition of:
WBComponent::doLayout()
레이아웃 실행

[ Top ]
fire  [line 231]

  void fire( $eo  )

tab Control 관련 이벤트 실행

header selected 이벤트 실행

Parameters:
   $eo: 

API Tags:
See:  fire($eo)
Access:  public


Redefinition of:
WBControl::fire()
이벤트 실행

[ Top ]
getActiveTab  [line 159]

  int getActiveTab( )

현재 활성화된 tab 얻어오기


API Tags:
Access:  public


[ Top ]
getRootPanel  [line 169]

  WBPanel getRootPanel( [mixed $tab = null]  )

각 tab의 rootPanel 얻어오기

Parameters:
mixed   $tab: 

API Tags:
Access:  public


[ Top ]
getTabIndex  [line 91]

  bool getTabIndex( [mixed $page = null]  )

page 에 해당하는 tab index 얻어오기

Parameters:
mixed   $page:  지정된 page

API Tags:
Return:  tab page 가 존재하는지 여부
Access:  public


[ Top ]
getTabList  [line 204]

  array getTabList( )

tab page 리스트 얻어오기


API Tags:
Access:  public


[ Top ]
getTabText  [line 253]

  string getTabText( mixed $tab  )

tab 의 title 얻어오기

Parameters:
mixed   $tab: 

API Tags:
Return:  tab 의 title
Access:  public


[ Top ]
handler  [line 48]

  void handler( int $window, int $id, [int $ctrl = 0], [int $param1 = 0], [int $param2 = '']  )

TabControl 이벤트 전달 함수

Parameters:
int   $window: 
int   $id: 
int   $ctrl: 
int   $param1: 
int   $param2: 

API Tags:
Access:  public


[ Top ]
initComponent  [line 29]

  void initComponent( )


API Tags:
Access:  protected


Redefinition of:
WBControl::initComponent()

[ Top ]
setActiveTab  [line 150]

  void setActiveTab( mixed $tab  )

지정된 탭 활성화 하기

Parameters:
mixed   $tab:  선택될 tab

API Tags:
Access:  public


[ Top ]
setHandler  [line 81]

  void setHandler( )

이벤트가 전달될 handler 지정


API Tags:
Access:  public


[ Top ]
setRootPanel  [line 179]

  void setRootPanel( [WBPanel $panel = null], [mixed $tab = null]  )

tab 별 rootPanel 설정

Parameters:
WBPanel   $panel: 
mixed   $tab: 

API Tags:
Access:  public


[ Top ]
setTab  [line 108]

  void setTab( [array $tab = array()]  )

탭 설정

Parameters:
array   $tab:  tab page 리스트

API Tags:
Access:  public


[ Top ]
setTabText  [line 243]

  void setTabText( mixed $tab, string $text  )

tab 의 title 변경

Parameters:
mixed   $tab: 
string   $text: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 09 Apr 2010 11:58:01 +0900 by phpDocumentor 1.4.3