Class: DialogEvent

Inherits:
ArcadiaEvent show all
Defined in:
lib/a-contracts.rb

Overview

default actions_pattern = 'OK'

Direct Known Subclasses

HinnerDialogEvent, SystemDialogEvent

Defined Under Namespace

Classes: Result

Constant Summary collapse

TYPE_PATTERNS =
['ok', 'yes_no', 'ok_cancel', 'yes_no_cancel', 'abort_retry_ignore']
MSG_MAX_CHARS =
500
TITLE_MAX_CHARS =
100

Constants inherited from Event

Event::FLAG_DEFAULT, Event::FLAG_ERROR

Instance Attribute Summary collapse

Attributes inherited from Event

#channel, #flag, #parent, #results, #sender, #time

Method Summary

Methods inherited from ArcadiaEvent

#go!, #shot!

Methods inherited from Event

#add_finalize_callback, #add_result, #break, #initialize, #is_breaked?

Constructor Details

This class inherits a constructor from Event

Instance Attribute Details

#exceptionObject

Returns the value of attribute exception


388
389
390
# File 'lib/a-contracts.rb', line 388

def exception
  @exception
end

#levelObject

Returns the value of attribute level


388
389
390
# File 'lib/a-contracts.rb', line 388

def level
  @level
end

#msgObject

Returns the value of attribute msg


388
389
390
# File 'lib/a-contracts.rb', line 388

def msg
  @msg
end

#promptObject

Returns the value of attribute prompt


388
389
390
# File 'lib/a-contracts.rb', line 388

def prompt
  @prompt
end

#titleObject

Returns the value of attribute title


388
389
390
# File 'lib/a-contracts.rb', line 388

def title
  @title
end

#typeObject

Returns the value of attribute type


388
389
390
# File 'lib/a-contracts.rb', line 388

def type
  @type
end