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


bool

property modalType

php\swing\string - modeless or document_modal or application_modal or toolkit_modal

Methods


__construct($owner = null)
Parameters:
showModal()
static message($text, $title, $type = ::)

Show basic message

Parameters:
  • $textstring
  • $titlestring
  • $typeint
static confirm($text, $title, $optionType = ::, $type = ::)
Parameters:
  • $textstring
  • $titlestring
  • $optionTypeint
  • $typeint
Returns:

int

static input($message, $initialValue = '')
Parameters:
  • $messagestring
  • $initialValuestring
Returns:

string