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

Class: WBDialog

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

Class WBDialog

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

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 ]
Constant Summary
INFO   정보 메세지
OK   확인 메세지
OKCANCEL   확인 취소 메세지
QUESTION   질문 메세지
STOP   STOP 메세지
WARNING   경고 메세지
YESNO   YES NO 버튼 있는 메세지
YESNOCANCE   YES NO CANCEL 버튼 있는 메세지

[ Top ]
Method Summary
static int   color()   color picker
static void   info()   INFO 메세지 박스
static bool   message()   메세지 박스
static void   okcancel()   OK, CANCEL 메세지 박스
static string   open()   파일 찾기 다이얼로그
static string   path()   경로 찾기 다이얼로그
static void   question()   QUESTION 메세지 박스
static string   save()   저장 경로 찾기 다이얼로그
static void   stop()   STOP 메세지 박스
static void   warning()   경고(Warning) 메세지 박스
static void   yesno()   YES, NO 메세지 박스
static void   yesnocancel()   YES, NO, CANCEL 메세지 박스

[ Top ]
Methods
static method color  [line 152]

  static int color( [ $parent = null], [ $title = ''], [ $color = 0]  )

color picker

  1.     $color sprintf("%06X"WBGdi::colorHex(WBDialog::color($eo->window()'색깔 테스트'WBGdi::rgbHex(0xFF0000))));

Parameters:
   $parent: 
   $title: 
   $color: 

API Tags:
Return:  -1 이면 실패, 0 이상이면 색깔 표시
Access:  public


[ Top ]
static method info  [line 103]

  static void info( $parent, $message, [ $title = '']  )

INFO 메세지 박스

Parameters:
   $parent: 
   $message: 
   $title: 

API Tags:
Access:  public


[ Top ]
static method message  [line 78]

  static bool message( $parent, $message, [ $title = ''], [ $style = WBDialog::INFO]  )

메세지 박스

Cancel, No, Ignore, Abort : false OK, Yes, Retry : true others : null

Parameters:
   $parent: 
   $message: 
   $title: 
   $style: 

API Tags:
Access:  public


[ Top ]
static method okcancel  [line 95]

  static void okcancel( $parent, $message, [ $title = '']  )

OK, CANCEL 메세지 박스

Parameters:
   $parent: 
   $message: 
   $title: 

API Tags:
Access:  public


[ Top ]
static method open  [line 170]

  static string open( [ $parent = null], [ $title = ''], [ $filter = null], [ $path = ''], [ $filename = '']  )

파일 찾기 다이얼로그

  1.  $filter array(
  2.          array("PHP source code",    "*.php"),
  3.       array("Web page",           "*.htm"),
  4.          array("Text document",      "*.txt"),
  5.       array("All files",          "*.*")
  6.  );

Parameters:
   $parent: 
   $title: 
   $filter: 
   $path: 
   $filename: 

API Tags:
Return:  선택된 파일 전체 경로
Access:  public


[ Top ]
static method path  [line 180]

  static string path( [ $parent = null], [ $title = ''], [ $path = '']  )

경로 찾기 다이얼로그

Parameters:
   $parent: 
   $title: 
   $path: 

API Tags:
Return:  선택된 디렉토리 경로
Access:  public


[ Top ]
static method question  [line 112]

  static void question( $parent, $message, [ $title = '']  )

QUESTION 메세지 박스

Parameters:
   $parent: 
   $message: 
   $title: 

API Tags:
Access:  public


[ Top ]
static method save  [line 199]

  static string save( [ $parent = null], [ $title = ''], [ $filter = null], [ $path = ''], [ $filename = ''], [ $ext = '']  )

저장 경로 찾기 다이얼로그

  1.  $filter array(
  2.          array("PHP source code",    "*.php"),
  3.       array("Web page",           "*.htm"),
  4.          array("Text document",      "*.txt"),
  5.       array("All files",          "*.*")
  6.  );

Parameters:
   $parent: 
   $title: 
   $filter: 
   $path: 
   $filename: 
   $ext: 

API Tags:
Return:  선택된 전체 경로
Access:  public


[ Top ]
static method stop  [line 121]

  static void stop( $parent, $message, [ $title = '']  )

STOP 메세지 박스

Parameters:
   $parent: 
   $message: 
   $title: 

API Tags:
Access:  public


[ Top ]
static method warning  [line 87]

  static void warning( $parent, $message, [ $title = '']  )

경고(Warning) 메세지 박스

Parameters:
   $parent: 
   $message: 
   $title: 

API Tags:
See:  WBDialog::message()
Access:  public


[ Top ]
static method yesno  [line 130]

  static void yesno( $parent, $message, [ $title = '']  )

YES, NO 메세지 박스

Parameters:
   $parent: 
   $message: 
   $title: 

API Tags:
Access:  public


[ Top ]
static method yesnocancel  [line 139]

  static void yesnocancel( $parent, $message, [ $title = '']  )

YES, NO, CANCEL 메세지 박스

Parameters:
   $parent: 
   $message: 
   $title: 

API Tags:
Access:  public


[ Top ]
Constants
INFO = WBC_INFO [line 23]

정보 메세지


[ Top ]
OK = WBC_OK [line 29]

확인 메세지


[ Top ]
OKCANCEL = WBC_OKCANCEL [line 36]

확인 취소 메세지


[ Top ]
QUESTION = WBC_QUESTION [line 42]

질문 메세지


[ Top ]
STOP = WBC_STOP [line 48]

STOP 메세지


[ Top ]
WARNING = WBC_WARNING [line 54]

경고 메세지


[ Top ]
YESNO = WBC_YESNO [line 60]

YES NO 버튼 있는 메세지


[ Top ]
YESNOCANCE = WBC_YESNOCANCE [line 67]

YES NO CANCEL 버튼 있는 메세지


[ Top ]

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