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

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.



373
374
375
# File 'lib/a-contracts.rb', line 373

def exception
  @exception
end

#levelObject

Returns the value of attribute level.



373
374
375
# File 'lib/a-contracts.rb', line 373

def level
  @level
end

#msgObject

Returns the value of attribute msg.



373
374
375
# File 'lib/a-contracts.rb', line 373

def msg
  @msg
end

#titleObject

Returns the value of attribute title.



373
374
375
# File 'lib/a-contracts.rb', line 373

def title
  @title
end

#typeObject

Returns the value of attribute type.



373
374
375
# File 'lib/a-contracts.rb', line 373

def type
  @type
end