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

Class: WBListView

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

Class WBListView

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
WBListView   __construct()  
void   addHeader()   헤더 리스트에 추가 하기
void   addRow()   Row 추가 하기
void   deleteRow()   Row 삭제 하기
void   fire()   이벤트 실행 정의
void   getCheckedList()   체크 되어 있는 리스트 얻어오기
string|int   getColumn()   column 값 가져오기
array   getItems()   전체 배열 가지고 오기
array   getRow()   row 값 가져오기
array   getSelectedIndex()   현재 선택되어진 row index
void   init()   WBListView clear
void   initComponent()  
void   initCreate()  
void   initEvent()  
void   initHeader()   헤더 초기화
void   initItems()   item(data) 초기화
void   insertRow()   특정 index에 row 삽입하기
void   isChecked()   체크 상태 얻어오기
void   length()   길이 구하기
void   setCheckBox()   체크박스 설정
void   setChecked()   row의 체크상태 설정하기
void   setColumn()   column값 설정하기
void   setColumnSize()   header 사이즈 조정
void   setHeader()   헤더 설정
void   setItems()   데이타 설정
bool   setLine()   라인 설정
void   updateRow()   row 값 설정하기

[ Top ]
Methods
Constructor __construct  [line 19]

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

Parameters:
   $options: 

API Tags:
Access:  public


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

[ Top ]
addHeader  [line 78]

  void addHeader( string $header  )

헤더 리스트에 추가 하기

Parameters:
string   $header:  헤더

API Tags:
Access:  public


[ Top ]
addRow  [line 151]

  void addRow( array $item  )

Row 추가 하기

Parameters:
array   $item:  추가될 row

API Tags:
Access:  public


[ Top ]
deleteRow  [line 160]

  void deleteRow( int $index  )

Row 삭제 하기

Parameters:
int   $index:  삭제될 index 지정

API Tags:
Access:  public


[ Top ]
fire  [line 285]

  void fire( $eo  )

이벤트 실행 정의

Parameters:
   $eo: 

API Tags:
Access:  public


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

[ Top ]
getCheckedList  [line 259]

  void getCheckedList( )

체크 되어 있는 리스트 얻어오기


API Tags:
Access:  public


[ Top ]
getColumn  [line 171]

  string|int getColumn( int $row, int $column  )

column 값 가져오기

Parameters:
int   $row:  검색할 row
int   $column:  검색할 column

API Tags:
Access:  public


[ Top ]
getItems  [line 190]

  array getItems( )

전체 배열 가지고 오기


API Tags:
Return:  전체 데이타 배열
Access:  public


[ Top ]
getRow  [line 181]

  array getRow( int $row  )

row 값 가져오기

Parameters:
int   $row:  검색할 row

API Tags:
Return:  결과 배열로 리턴
Access:  public


[ Top ]
getSelectedIndex  [line 250]

  array getSelectedIndex( )

현재 선택되어진 row index


API Tags:
Return:  selected index list
Access:  public


[ Top ]
init  [line 111]

  void init( )

WBListView clear

객체 안의 데이타 지우기


API Tags:
Access:  public


[ Top ]
initComponent  [line 43]

  void initComponent( )


API Tags:
Access:  protected


Redefinition of:
WBControl::initComponent()

[ Top ]
initCreate  [line 25]

  void initCreate( )


API Tags:
Access:  protected


Redefinition of:
WBControl::initCreate()

[ Top ]
initEvent  [line 34]

  void initEvent( )


API Tags:
Access:  protected


Redefinition of:
WBControl::initEvent()

[ Top ]
initHeader  [line 132]

  void initHeader( )

헤더 초기화


API Tags:
Access:  public


[ Top ]
initItems  [line 124]

  void initItems( )

item(data) 초기화


API Tags:
Access:  public


[ Top ]
insertRow  [line 219]

  void insertRow( $index, $row  )

특정 index에 row 삽입하기

Parameters:
   $index: 
   $row: 

API Tags:
Access:  public


[ Top ]
isChecked  [line 268]

  void isChecked( $index  )

체크 상태 얻어오기

Parameters:
   $index: 

API Tags:
Access:  public


[ Top ]
length  [line 141]

  void length( )

길이 구하기


API Tags:
Access:  public


[ Top ]
setCheckBox  [line 241]

  void setCheckBox( [ $isCheckBox = false]  )

체크박스 설정

Parameters:
   $isCheckBox: 

API Tags:
Access:  public


[ Top ]
setChecked  [line 277]

  void setChecked( $index, [ $isChecked = true]  )

row의 체크상태 설정하기

Parameters:
   $index: 
   $isChecked: 

API Tags:
Access:  public


[ Top ]
setColumn  [line 201]

  void setColumn( int $row, int $column, string|int $text  )

column값 설정하기

Parameters:
int   $row:  검색할 row
int   $column:  검색할 column
string|int   $text:  설정할 값

API Tags:
Access:  public


[ Top ]
setColumnSize  [line 232]

  void setColumnSize( [ $size = array()]  )

header 사이즈 조정

Parameters:
   $size: 

API Tags:
Access:  public


[ Top ]
setHeader  [line 67]

  void setHeader( [array $headerList = array()]  )

헤더 설정

Parameters:
array   $headerList:  헤더 리스트

API Tags:
Access:  public


[ Top ]
setItems  [line 96]

  void setItems( [array $items = array()]  )

데이타 설정

  1.  // two dimension array
  2.  $listview->setItems(array(array(1,2,3)array(4,5,6)...));

Parameters:
array   $items:  데이타 설정

API Tags:
Access:  public


[ Top ]
setLine  [line 58]

  bool setLine( [bool $isLine = false]  )

라인 설정

Parameters:
bool   $isLine:  line 설정 여부

API Tags:
Access:  public


[ Top ]
updateRow  [line 210]

  void updateRow( $index, $row  )

row 값 설정하기

Parameters:
   $index: 
   $row: 

API Tags:
Access:  public


[ Top ]

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