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)¶
Parameters:
- $owner – php\swing\UIWindow
showModal()¶
- static
message($text, $title, $type = ::)¶Show basic message
Parameters:
- $text – string
- $title – string
- $type – int
- static
confirm($text, $title, $optionType = ::, $type = ::)¶
Parameters:
- $text – string
- $title – string
- $optionType – int
- $type – int
Returns: int
- static
input($message, $initialValue = '')¶
Parameters:
- $message – string
- $initialValue – string
Returns: string