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

Class: WBListBox

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

Class WBListBox

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
WBListBox   __construct()  
void   addItem()   아이템 추가 하기
void   deleteItem()   아이템 삭제 하기
array   getItems()   아이템 리스트 얻어오기
int   getSelectedIndex()   현재 선택되어진 index 얻어오기
string   getValue()   선택되어진 index의 text 얻어오기
void   initComponent()  
void   setItems()   아이템 리스트 설정
void   setSelectedIndex()   리스트 선택하기
void   sort()   정렬 설정

[ Top ]
Methods
Constructor __construct  [line 17]

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

Parameters:
   $options: 

API Tags:
Access:  public


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

[ Top ]
addItem  [line 64]

  void addItem( string $text  )

아이템 추가 하기

Parameters:
string   $text:  아이템 추가하기

API Tags:
Access:  public


[ Top ]
deleteItem  [line 74]

  void deleteItem( int|string $data  )

아이템 삭제 하기

Parameters:
int|string   $data:  지워질 인덱스 또는 텍스트

API Tags:
Access:  public


[ Top ]
getItems  [line 54]

  array getItems( )

아이템 리스트 얻어오기


API Tags:
Access:  public


[ Top ]
getSelectedIndex  [line 92]

  int getSelectedIndex( )

현재 선택되어진 index 얻어오기


API Tags:
Access:  public


[ Top ]
getValue  [line 102]

  string getValue( [int|string $index = '']  )

선택되어진 index의 text 얻어오기

Parameters:
int|string   $index:  $index가 공백일 경우 현재 선택되어진 index, 아니면 지정된 $index

API Tags:
Return:  text
Access:  public


Redefinition of:
WBControl::getValue()
value 설정

[ Top ]
initComponent  [line 24]

  void initComponent( )


API Tags:
Access:  protected


Redefinition of:
WBControl::initComponent()

[ Top ]
setItems  [line 36]

  void setItems( array|string $items  )

아이템 리스트 설정

Parameters:
array|string   $items:  아이템 리스트

API Tags:
Access:  public


[ Top ]
setSelectedIndex  [line 115]

  void setSelectedIndex( [int $index = -1]  )

리스트 선택하기

Parameters:
int   $index:  선택되어진 index, -1은 선택되어진 리스트가 없음

API Tags:
Access:  public


[ Top ]
sort  [line 126]

  void sort( [bool $asc = true], [string $sort_flag = 'string']  )

정렬 설정

Parameters:
bool   $asc:  true : 내림차순, false : 오름차순 , 기본값 : 문자열 기반으로 정렬
string   $sort_flag:  string : 문자열 기반

API Tags:
Access:  public


Redefinition of:
WBControl::sort()
정렬하기

[ Top ]

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