UIDialog¶
-
php\swing\UIDialog
extends: php\swing\UIWindow
Class UIDialog
Constants
- constant
PLAIN_MESSAGE
¶
- constant
ERROR_MESSAGE
¶
- constant
INFORMATION_MESSAGE
¶
- constant
WARNING_MESSAGE
¶
- constant
QUESTION_MESSAGE
¶
- constant
DEFAULT_OPTION
¶
- constant
OK_CANCEL_OPTION
¶
- constant
YES_NO_CANCEL_OPTION
¶
- constant
YES_NO_OPTION
¶
- constant
YES_OPTION
¶
- constant
NO_OPTION
¶
- constant
CANCEL_OPTION
¶
- constant
OK_OPTION
¶
- constant
CLOSED_OPTION
¶
Properties
Methods
__construct
($owner = null)¶
Параметры:
- $owner – php\swing\UIWindow
showModal
()¶
- static
message
($text, $title, $type = ::)¶Show basic message
Параметры:
- $text –
string
- $title –
string
- $type –
int
- static
confirm
($text, $title, $optionType = ::, $type = ::)¶
Параметры:
- $text –
string
- $title –
string
- $optionType –
int
- $type –
int
Результат:
int
- static
input
($message, $initialValue = '')¶
Параметры:
- $message –
string
- $initialValue –
string
Результат:
string