Packageorg.spicefactory.parsley.flex.util
Classpublic class MessageConfirmation
InheritanceMessageConfirmation Inheritance Object

Utility class that allows to show a Flex Alert with Yes and No buttons and only continue with message processing when the user clicks yes.



Public Methods
 MethodDefined By
  
MessageConfirmation(title:String, text:String)
Creates a new instance.
MessageConfirmation
  
showAlert(processor:MessageProcessor):void
Shows an alert and only calls proceed on the specified processor if the user clicked Yes.
MessageConfirmation
Constructor Detail
MessageConfirmation()Constructor
public function MessageConfirmation(title:String, text:String)

Creates a new instance.

Parameters
title:String — the title of the Alert
 
text:String — the text of the Alert
Method Detail
showAlert()method
public function showAlert(processor:MessageProcessor):void

Shows an alert and only calls proceed on the specified processor if the user clicked Yes.

Parameters

processor:MessageProcessor — the processor for the intercepted message